Critical Error

Support MB Relationships Critical Error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49921
    Ronny KreuzbergRonny Kreuzberg
    Participant

    After creating a Relationship between Post and Term i get:

    Warning: Undefined array key "taxonomy" in /var/www/html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-relationships/inc/relationship/factory.php on line 227

    Warning: Undefined array key "taxonomy" in /var/www/html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-relationships/inc/relationship/factory.php on line 259

    Fatal error: Uncaught TypeError: RWMB_Field_Registry::add(): Argument #2 ($type) must be of type string, null given, called in /var/www/html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-term-meta/src/MetaBox.php on line 86 and defined in /var/www/html/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box/inc/field-registry.php:17 Stack trace: #0 /var/www/html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-term-meta/src/MetaBox.php(86): RWMB_Field_Registry->add() #1 /var/www/html/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box/inc/core.php(33): MBTM\MetaBox->register_fields() #2 /var/www/html/wp-includes/class-wp-hook.php(341): RWMB_Core->register_meta_boxes() #3 /var/www/html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #4 /var/www/html/wp-includes/plugin.php(522): WP_Hook->do_action() #5 /var/www/html/wp-settings.php(742): do_action() #6 /var/www/html/wp-config.php(43): require_once('...') #7 /var/www/html/wp-load.php(50): require_once('...') #8 /var/www/html/wp-admin/admin.php(35): require_once('...') #9 /var/www/html/wp-admin/index.php(10): require_once('...') #10 {main} thrown in /var/www/html/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box/inc/field-registry.php on line 17

    #49924
    PeterPeter
    Moderator

    Hello Ronny,

    Thanks for reaching out.

    Can you please share a screenshot of the relationship created? Do you leave the Taxonomy select field empty?
    https://imgur.com/jqZN12B

    #49925
    PeterPeter
    Moderator

    That should be the issue. To access the admin area and fix this, please edit the table wp_posts in the database, find the post type mb-relationship and delete the new relationship created.

    If you create a new relationship, please select the taxonomy for the Term connection.

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