Bug: Clicking on edit for post type crashes the website
- This topic has 4 replies, 4 voices, and was last updated 2 years, 4 months ago by
Solace.
-
AuthorPosts
-
December 16, 2022 at 11:05 AM #39847
Solace
ParticipantHi there,
I recently updated to Meta Box 5.6.14 and now when I click on "Edit" under a custom post type I see the website crash message and an email is triggered with the following code:
Error Details
=============
An error of type E_ERROR was caused in line 111 of the file /www/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php. Error message: Uncaught Error: Class "RWMB_Update_Option" not found in /www/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php:111
Stack trace:
#0 /www/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php(24): MBCPT\Edit->is_premium_user()
#1 /wordpress/wp-includes/class-wp-hook.php(310): MBCPT\Edit->register_upgrade_meta_box('mb-post-type')
#2 /wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#3 /wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /wordpress/wp-admin/includes/meta-boxes.php(1599): do_action('add_meta_boxes', 'mb-post-type', Object(WP_Post))
#5 /wordpress/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes(Object(WP_Post))
#6 /wordpress/wp-admin/post.php(206): require('/wordpress/wp-a...')
#7 {main}
thrownDecember 16, 2022 at 3:50 PM #39850[email protected]
ParticipantSame problem here:
===========
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 111 van het bestand /home/noorderinzicht/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php. Foutmelding: Uncaught Error: Class "RWMB_Update_Option" not found in /home/noorderinzicht/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php:111
Stack trace:
#0 /home/noorderinzicht/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php(24): MBCPT\Edit->is_premium_user()
#1 /home/noorderinzicht/public_html/wp-includes/class-wp-hook.php(310): MBCPT\Edit->register_upgrade_meta_box()
#2 /home/noorderinzicht/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /home/noorderinzicht/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /home/noorderinzicht/public_html/wp-admin/includes/meta-boxes.php(1599): do_action()
#5 /home/noorderinzicht/public_html/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes()
#6 /home/noorderinzicht/public_html/wp-admin/post.php(206): require('/home/noorderin...')
#7 {main}
thrownWordPress 6.1.1
PHP 8.0.22
Meta Box AIO 1.16.7
Meta Box 5.6.14December 16, 2022 at 11:04 PM #39862Peter
ModeratorHello,
Please update the plugin Meta Box AIO to the latest version 1.16.8 to fix this issue. Let me know how it goes.
December 17, 2022 at 9:26 PM #39895seaj1one
ParticipantHello Peter
It resolved the issue for me, but I have to log in to my account and download Meta Box AIO to the latest version 1.16.8 instead of getting the option to update via WordPress.
December 18, 2022 at 8:02 AM #39905Solace
ParticipantYep, that fixed it! Thanks 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.