Error due to a mistake
Support › MB Comment Meta › Error due to a mistake
- This topic has 2 replies, 2 voices, and was last updated 3 years ago by
Peter.
-
AuthorPosts
-
December 12, 2022 at 5:42 AM #39696
Vahid Naderyan
ParticipantI tried to use this: https://metabox.io/plugins/mb-comment-meta/ but I entered this "'type' => 'comment',
" by mistake in the Template field! now my site has a critical error and it is the comment:This plugin failed to load properly and is paused during recovery mode. An error of type E_ERROR was caused in line 16 of the file /home/rahishoo/public_html/wp-content/plugins/meta-box/inc/meta-box-registry.php. Error message: Uncaught TypeError: RWMB_Meta_Box_Registry::make(): Argument #1 ($settings) must be of type array, string given, called in /home/rahishoo/public_html/wp-content/plugins/meta-box/inc/core.php on line 29 and defined in /home/rahishoo/public_html/wp-content/plugins/meta-box/inc/meta-box-registry.php:16 Stack trace: #0 /home/rahishoo/public_html/wp-content/plugins/meta-box/inc/core.php(29): RWMB_Meta_Box_Registry->make() #1 /home/rahishoo/public_html/wp-includes/class-wp-hook.php(308): RWMB_Core->register_meta_boxes() #2 /home/rahishoo/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #3 /home/rahishoo/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /home/rahishoo/public_html/wp-settings.php(617): do_action() #5 /home/rahishoo/public_html/wp-config.php(64): require_once('/home/rahishoo/...') #6 /home/rahishoo/public_html/wp-load.php(50): require_once('/home/rahishoo/...') #7 /home/rahishoo/public_html/wp-admin/admin.php(34): require_once('/home/rahishoo/...') #8 {main} thrownI think I should clean the entered code from the DB but I can not find it.
Would you please tell me how to solve it?December 13, 2022 at 7:26 PM #39744Vahid Naderyan
ParticipantNothing?
December 14, 2022 at 9:23 PM #39786Peter
ModeratorHello,
If you did a mistake when creating custom fields for the comment (comment meta), you can just access the hosting and edit the template file to fix it.
Regarding the error message, if it still happens on your site, please make sure that you have the latest version of Meta Box 5.6.14 and Meta Box AIO 1.16.8. You can also create a comment meta with the builder. Please read more on the documentation https://docs.metabox.io/extensions/meta-box-builder/
-
AuthorPosts
- You must be logged in to reply to this topic.