recent update breaks site
- This topic has 22 replies, 15 voices, and was last updated 2 years, 4 months ago by
Peter.
-
AuthorPosts
-
December 6, 2022 at 2:39 PM #39525
[email protected]
ParticipantHi, the recent update pushed today View version 5.6.10 details
isn't compatible with the Pro plugin, FYI..had to roll back to 5.6.9
December 6, 2022 at 2:47 PM #39529DIDIER FELICITE
ParticipantFatal error: Declaration of MB_Comment_Meta_Box::is_edit_screen($screen = null) must be compatible with RW_Meta_Box::is_edit_screen($screen = null): bool in ............................/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-comment-meta/inc/class-mb-comment-meta-box.php on line 37
December 6, 2022 at 2:55 PM #39530Ole Poetter
ParticipantFatal error: Declaration of MB_Comment_Meta_Box::is_edit_screen($screen = null) must be compatible with RW_Meta_Box::is_edit_screen($screen = null): bool in ............................/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-comment-meta/inc/class-mb-comment-meta-box.php on line 37
Same here
December 6, 2022 at 2:59 PM #39531Herbert Edler
ParticipantWordPress version 6.1.1 Current plugin: Meta Box AIO (version 1.16.7) PHP version 8.1.7
Error Details ============= An error of type E_COMPILE_ERROR was caused in line
37 of the file
/www/abc/public/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-comment-meta/inc/class-mb-comment-meta-box.php.
Error message: Declaration of MB_Comment_Meta_Box::is_edit_screen($screen =
null) must be compatible with RW_Meta_Box::is_edit_screen($screen = null): boolDecember 6, 2022 at 3:02 PM #39532badabingbreda
ParticipantSame here
December 6, 2022 at 3:04 PM #39533PT
ParticipantFatal Error here too.
December 6, 2022 at 3:06 PM #39534P. Zeylstra
ParticipantSame problem here
December 6, 2022 at 3:06 PM #39535Marco
ParticipantSame for me.
December 6, 2022 at 3:12 PM #39536Dustin Dauncey
ParticipantSame here:
Dec 06 00:11:07 [Tue Dec 06 08:11:07.648454 2022] [php:error] [pid 305] [client 65.108.243.108:39002] PHP Fatal error: Declaration of MB_Comment_Meta_Box::is_edit_screen($screen = null) must be compatible with RW_Meta_Box::is_edit_screen($screen = null): bool in /app/data/public/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-comment-meta/inc/class-mb-comment-meta-box.php on line 37, referer: https://www.google.com
Restored from backup before the update so thankfully was easy to repair, but this is definitely a surprise that this wasn't caught before release.
WordPress 6.1 with PHP 8.1.
December 6, 2022 at 3:20 PM #39537wizible
ParticipantSame on my page
December 6, 2022 at 3:26 PM #39538Arno
ParticipantSame problem here. How do we roll back? The admin area can't be reached anymore.
December 6, 2022 at 3:42 PM #39539Arno
ParticipantMy error message is similar but about a different php file:
Fatal error: Declaration of MBSP\MetaBox::is_edit_screen($screen = null) must be compatible with RW_Meta_Box::is_edit_screen($screen = null): bool in /home/usermsa220605/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-settings-page/src/MetaBox.php on line 68@Meta Box team: please provide feedback quickly. I would very much prefer a fix that does not require me to restore a backup. I have a backup but I would also loose some staging copies that are not part of the backup.
I did not receive the WordPress e-mail with a recovery link, so no option to try that either.
December 6, 2022 at 3:47 PM #39541MY
ParticipantSame, how do I get into my website?
December 6, 2022 at 3:52 PM #39542Edoardo Guzzi
Participant5.6.11
broke the site
[06-Dec-2022 08:44:17 UTC] PHP Fatal error: Uncaught TypeError: RWMB_Update_Option::get_api_key(): Return value must be of type string, null returned in /var/web/site/public_html/wp-content/plugins/meta-box/inc/update/option.php:28
Stack trace:
#0 /var/web/site/public_html/wp-content/plugins/meta-box/inc/update/option.php(32): RWMB_Update_Option->get_api_key()
#1 /var/web/site/public_html/wp-content/plugins/meta-box/inc/update/notification.php(101): RWMB_Update_Option->get_license_status()
#2 /var/web/site/public_html/wp-includes/class-wp-hook.php(308): RWMB_Update_Notification->notify('')
#3 /var/web/site/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#4 /var/web/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /var/web/site/public_html/wp-admin/admin-header.php(303): do_action('admin_notices')
#6 /var/web/site/public_html/wp-admin/admin.php(239): require_once('/var/web/site/p...')
#7 /var/web/site/public_html/wp-admin/options-general.php(10): require_once('/var/web/site/p...')
#8 {main}
thrown in /var/web/site/public_html/wp-content/plugins/meta-box/inc/update/option.php on line 28December 6, 2022 at 3:56 PM #39543Mnz
ParticipantThis is not an official fix and I hold no responsibility for what may happen to your site.
To quickly restore access, edit /wp-content/plugins/meta-box/inc/meta-box.php Line 350:
public function is_edit_screen( $screen = null ) : bool {
Replace with:
public function is_edit_screen( $screen = null ) {
-
AuthorPosts
- You must be logged in to reply to this topic.