Custom Fields
Support MB Revision ArgumentCountError on RWMB_Taxonomy_Field with MB_Revision

  • Creator
  • #16790
    Resolved brandonjp

    I'm receiving the following error anytime I try to view a revision. The custom post type has 4 custom taxonomy fields attached to it.

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function RWMB_Taxonomy_Field::query(), 1 passed in /wp-content/plugins/meta-box/inc/field.php on line 582 and exactly 2 expected in /wp-content/plugins/meta-box/inc/fields/taxonomy.php:136 Stack trace: #0 /wp-content/plugins/meta-box/inc/field.php(582): RWMB_Taxonomy_Field::query(Array) #1 /wp-content/plugins/meta-box-aio/vendor/meta-box/mb-revision/inc/class-mb-revision.php(175): RWMB_Field::call(Array, 'query') #2 /wp-content/plugins/meta-box-aio/vendor/meta-box/mb-revision/inc/class-mb-revision.php(133): MB_Revision->transform_object_value_to_label('', Array) #3 /wp-includes/class-wp-hook.php(288): MB_Revision->get_field_value_for_comparison('', Array, Object(WP_Post)) #4 in /wp-content/plugins/meta-box/inc/fields/taxonomy.php on line 136

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #16804
    Anh Tran

    Thanks! I've just fixed the MB Revision extension. AIO will come soon.

    Jeremy Carlson

    Well, that'll teach me to try and debug before checking the forum! Just updated my plugins, and it's working again. Awesome!

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