Critical Error
Support › MB Relationships › Critical Error
- This topic has 2 replies, 2 voices, and was last updated 2 weeks, 5 days ago by
Peter.
-
AuthorPosts
-
April 22, 2026 at 4:50 AM #49921
Ronny Kreuzberg
ParticipantAfter 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
April 22, 2026 at 10:50 PM #49924Peter
ModeratorHello 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/jqZN12BApril 22, 2026 at 10:56 PM #49925Peter
ModeratorThat should be the issue. To access the admin area and fix this, please edit the table
wp_postsin the database, find the post typemb-relationshipand delete the new relationship created.If you create a new relationship, please select the taxonomy for the Term connection.
-
AuthorPosts
- You must be logged in to reply to this topic.