Hi,
I’m seeing a compatibility issue with MB Settings Page after updating to WordPress 7.1.
Opening my settings page:
/wp-admin/admin.php?page=nss-option
returns an HTTP 500 Internal Server Error.
The PHP error log shows that the 500 is caused by the following fatal error:
PHP Fatal error: Uncaught ArgumentCountError: 13 arguments are required, 6 given in /wp-includes/general-template.php:533
Stack trace:
#0 /wp-includes/general-template.php(533): sprintf()
#1 /wp-includes/general-template.php(400): wp_get_tooltip_helper()
#2 /wp-admin/includes/template.php(1410): wp_get_tooltip()
#3 /wp-content/plugins/mb-core/vendor/meta-box/mb-settings-page/src/SettingsPage.php(112): do_meta_boxes()
#4 /wp-includes/class-wp-hook.php(353): MBSP\SettingsPage->show()
#5 /wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(523): WP_Hook->do_action()
#7 /wp-admin/admin.php(264): do_action()
#8 {main}
The page is only partially rendered: tabs do not work and the Save button is missing.
I tested the exact same site with different WordPress versions:
WordPress 7.0.3: works
WordPress 7.0.4: works
WordPress 7.1: HTTP 500
So the issue appears to be related to the new wp_get_tooltip() handling used by do_meta_boxes() in WordPress 7.1.
Could you please confirm whether this is a known compatibility issue and whether a fix is planned? Additionnaly even when reverting to previous version of WordPress, the navigation between tabs is very very slow.
Thanks.