Fatal error: Uncaught TypeError
Support › Meta Box AIO › Fatal error: Uncaught TypeErrorResolved
- This topic has 5 replies, 2 voices, and was last updated 2 years, 10 months ago by
Peter.
-
AuthorPosts
-
December 19, 2022 at 4:40 PM #39914
webdevtrust GmbH
ParticipantFatal 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.8Fatal 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 16Please help.
December 19, 2022 at 10:51 PM #39926Peter
ModeratorHello,
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.
December 20, 2022 at 1:52 AM #39930webdevtrust GmbH
ParticipantI just did. Let me know if you need anything else.
December 20, 2022 at 9:46 PM #39939Peter
ModeratorHello,
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/December 20, 2022 at 10:41 PM #39946webdevtrust GmbH
ParticipantHello 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
December 21, 2022 at 9:36 PM #39957Peter
ModeratorHello,
Thanks for your feedback.
I will inform the development team to improve the plugin to avoid this case.
-
AuthorPosts
- You must be logged in to reply to this topic.