MB Settings Page issue with WordPress 7.1

Support MB Settings Page MB Settings Page issue with WordPress 7.1

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #50169
    NSSNSS
    Participant

    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.

    #50170
    NSSNSS
    Participant

    **Update: WordPress 7.1 issue fixed by changing Field Group IDs**

    Quick update on this issue.

    The HTTP 500 error on my Meta Box Settings Page under WordPress 7.1 was caused by Field Group IDs containing Japanese characters.

    I changed the affected Field Group IDs to English/ASCII IDs, and after updating back to WordPress 7.1 the Settings Page now works correctly again:

    * page loads normally
    * tabs work
    * Save button is present
    * no more HTTP 500 / PHP fatal error

    My Settings Page ID remains:

    nss-option

    There is still one remaining issue: switching between tabs is noticeably slower than before, around 1 second per tab change, whereas previously it was almost instantaneous.

    I tested the tab switching on WordPress 7.0.3, 7.0.4 and 7.1, and the delay is present on all three versions.

    So the WordPress 7.1 fatal error is resolved, but the slower tab switching appears to be a separate issue.

    Thanks to Meta Box support for pointing me in the right direction.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.