Custom Fields
Re-Envisioned
Support MB Custom Taxonomy Custom MB taxonomy vs. Default WP taxonomy

  • Creator
    Topic
  • #30410
    Resolved kapitanpejsek@gmail.com
    Participant

    Helo,
    I'm experiencing some issues when trying to use custom field to obtain custom taxonomy input instead of default WordPress meta boxes. As mentioned a few times in this very forum, new custom term is not accepted immediately, but after saving the post, which in combination with *required field makes saving the post impossible and WordPress returns an error
    (Uncaught Error: Cannot use object of type WP_Error as array in /home/misc/www.napradle.cz/htdocs/wp-content/plugins/meta-box/inc/fields/taxonomy.php:219
    Stack trace:
    #0 /home/misc/www.napradle.cz/htdocs/wp-content/plugins/meta-box/inc/fields/taxonomy.php(180): RWMB_Taxonomy_Field::add_term()
    #1 /home/misc/www.napradle.cz/htdocs/wp-content/plugins/meta-box/inc/field.php(593): RWMB_Taxonomy_Field::value()
    #2 /home/misc/www.napradle.cz/htdocs/wp-content/plugins/meta-box/inc/field.php(264): RWMB_Field::call()
    #3 /home/misc/www.napradle.cz/htdocs/wp-content/plugins/meta-box/inc/meta-box.php(307): RWMB_Field::process_value()
    #4 [internal function]: RW_Meta_Box->save_field()
    #5 /home/misc/www.napradle.cz/htdocs/wp-content/plugins/meta-box/inc/meta-box.php(290): array_map()
    #6 /home/misc/www.napradle.cz/htdocs/wp-includes/class-wp-hook.php(305): RW_Meta_Box->save_post()
    #7 /home/misc/www.napradle.cz/htdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #8 /home/misc/www.napradle.cz/htdocs/wp-includes/pl)

    Next thing is:
    Remove default metabox seems not to be removing default taxonomy metabox and unchecking Multiple does not prevent from making multiple choices.

    Is it just me?

    Thanks

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #30418
    Long Nguyen
    Moderator

    Hi,

    The option Remove default meta box only works with the classic editor. I will update the documentation about this case.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.