Support Forum
Support › Meta Box AIO › Fatal error: Uncaught TypeErrorResolved
Fatal Error with all Plugins deactivated except Meta Box and Meta Box AIO
WordPress 6.1.1
Theme Hello Elementor Version: 2.6.1
MetaBox Version 5.6.14
MetaBox Version 1.16.8
Fatal error: Uncaught TypeError: Argument 1 passed to RWMB_Meta_Box_Registry::make() must be of the type array, string given, called in /homepages/6/d770262890/htdocs/clickandbuilds/DTB/wp-content/plugins/meta-box/inc/core.php on line 29 and defined in /homepages/6/d770262890/htdocs/clickandbuilds/DTB/wp-content/plugins/meta-box/inc/meta-box-registry.php:16 Stack trace: #0 /homepages/6/d770262890/htdocs/clickandbuilds/DTB/wp-content/plugins/meta-box/inc/core.php(29): RWMB_Meta_Box_Registry->make('rwmb_the_value(...') #1 /homepages/6/d770262890/htdocs/clickandbuilds/DTB/wp-includes/class-wp-hook.php(308): RWMB_Core->register_meta_boxes('') #2 /homepages/6/d770262890/htdocs/clickandbuilds/DTB/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #3 /homepages/6/d770262890/htdocs/clickandbuilds/DTB/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /homepages/6/d770262890/htdocs/clickandbuilds/DTB/wp-settings.php(617): do_action('init') #5 /homepages/6/d770262890/htdocs/clickandbuilds/DTB/wp-config.p in /homepages/6/d770262890/htdocs/clickandbuilds/DTB/wp-content/plugins/meta-box/inc/meta-box-registry.php on line 16
Please help.
Hello,
Please share your admin site account and FTP with me in the contact form https://metabox.io/contact/. I will help you to investigate the issue.
I just did. Let me know if you need anything else.
Hello,
The issue is fixed. You are using the function rwmb_the_value()
in the meta box template which is not correct. To use the meta box template, please read more on the documentation https://docs.metabox.io/extensions/meta-box-template/
Hello Peter,
thanks for the fix. The site has been working just fine until a recent Meta Box update. Maybe you should just catch TypeErrors in the future?
Best
Hello,
Thanks for your feedback.
I will inform the development team to improve the plugin to avoid this case.