• Resolved verbre

    (@verbre)


    Hello, since the latest version of Metabox (5.6.9) several of my sites are giving an error message which disturbs the display of the worpdress admin

    Warning: The declaration of RWMB_Sidebar_Field::query($field) must be compatible with RWMB_Object_Choice_Field::query($meta, $field) in /home/clients/c916262d399c9e1d3018b6634561ccc0/sites/imagieprod.com/wp-content/plugins/meta- box /inc/fields/sidebar.php at line 38

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Thanks for your feedback. This bug is fixed here and will be available in the new version today.

    @rilwis

    Hi,

    Update 5.6.10 is not compatible with Metabox AIO.

    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 ************************/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-comment-meta/inc/class-mb-comment-meta-box.php on line 37

    Had same issue as drakking mentions above.

    Plugin Author Anh Tran

    (@rilwis)

    It’s fixed in the latest version. Please update.

    Website is working fine after last update, but still receiving fatal error to access WordPress plateform.

    Thread Starter verbre

    (@verbre)

    The version 5.6.11 have a fatal error :

    Fatal error: Uncaught TypeError: Return value of RWMB_Update_Option::get_api_key() must be of the type string, null returned in /home/clients/250d932eb38e3315e188024ff2c4dec1/web/wp-content/plugins/meta-box/inc/update/option.php:28 Stack trace: #0 /home/clients/250d932eb38e3315e188024ff2c4dec1/web/wp-content/plugins/meta-box/inc/update/checker.php(135): RWMB_Update_Option->get_api_key() #1 /home/clients/250d932eb38e3315e188024ff2c4dec1/web/wp-content/plugins/meta-box/inc/update/checker.php(83): RWMB_Update_Checker->request('plugins') #2 /home/clients/250d932eb38e3315e188024ff2c4dec1/web/wp-includes/class-wp-hook.php(310): RWMB_Update_Checker->check_updates(Object(stdClass)) #3 /home/clients/250d932eb38e3315e188024ff2c4dec1/web/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(stdClass), Array) #4 /home/clients/250d932eb38e3315e188024ff2c4dec1/web/wp-includes/option.php(2018): apply_filters('pre_set_site_tr...', Object(stdClass), 'update_plugins') #5 /home/clients/250d932eb38e3315e188024ff2c4dec1/web/wp-includes/u in /home/clients/250d932eb38e3315e188024ff2c4dec1/web/wp-content/plugins/meta-box/inc/update/option.php on line 28

    Thread Starter verbre

    (@verbre)

    And with php8 wordpress crash with this error

    Plugin Author Anh Tran

    (@rilwis)

    Hi @verbre ,

    Can you please try this fix?

    Same issue with the fix, Tran.

    Thread Starter verbre

    (@verbre)

    Hi Tran Ngoc Tuan Anh

    with the fix its ok (php 7.4 and php8)

    ajout , '' line 28

    Thread Starter verbre

    (@verbre)

    @philbgs

    be careful, check that you have correctly entered ‘x2 and not ” because I made a mistake in my entry and correctly entered it is ok for my sites

    • This reply was modified 1 year, 11 months ago by verbre.
    • This reply was modified 1 year, 11 months ago by verbre.

    Thank you Verbre, but I did a copy/paste
    return defined( ‘META_BOX_KEY’ ) ? META_BOX_KEY : $this->get( ‘api_key’, ” );

    .. and it’s still not working. The only way for the backend and website to work is removing the plugin.

    Thread Starter verbre

    (@verbre)

    @philbgs
    because with a copy paste the ‘ ‘ turns into “

    • This reply was modified 1 year, 11 months ago by verbre.

    I’ve tried both of them
    return defined( ‘META_BOX_KEY’ ) ? META_BOX_KEY : $this->get( ‘api_key’, ” );
    return defined( ‘META_BOX_KEY’ ) ? META_BOX_KEY : $this->get( ‘api_key’, ” );

    … same thing, same critical error.

    I mean the second one with 2x ‘

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Error message’ is closed to new replies.