Custom Fields
Re-Envisioned
Support MB Revision ArgumentCountError on RWMB_Taxonomy_Field with MB_Revision

This topic contains 1 reply, has 2 voices, and was last updated by  Anh Tran 1 week, 5 days ago.

  • Creator
    Topic
  • #16790
    Resolved
    brandonjp
    Participant

    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 1 replies (of 1 total)
  • Author
    Replies
  • #16804

    Anh Tran
    Keymaster

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

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.