Fatal error Meta Box AIO.

Support General Fatal error Meta Box AIO.Resolved

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #39740
    Chris PChris P
    Participant

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.1.1
    Active theme: astra-jaga (version )
    Current plugin: Meta Box AIO (version 1.16.7)
    PHP version 7.4.33

    Error Details
    =============
    An error of type E_ERROR was caused in line 111 of the file /data/sites/web/jagacom/subsites/wpdev.jaga.com/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 /data/sites/web/jagacom/subsites/wpdev.jaga.com/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php:111
    Stack trace:
    #0 /data/sites/web/jagacom/subsites/wpdev.jaga.com/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php(24): MBCPT\Edit->is_premium_user()
    #1 /data/sites/web/jagacom/subsites/wpdev.jaga.com/wp-includes/class-wp-hook.php(310): MBCPT\Edit->register_upgrade_meta_box()
    #2 /data/sites/web/jagacom/subsites/wpdev.jaga.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #3 /data/sites/web/jagacom/subsites/wpdev.jaga.com/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /data/sites/web/jagacom/subsites/wpdev.jaga.com/wp-admin/includes/meta-boxes.php(1599): do_action()
    #5 /data/sites/web/jagacom/subsites/wpdev.jaga.com/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes()
    #6 /data/sites/web/jagacom/subsites/wpdev.jaga.com/wp-admin/post.php(206): require('/data

    Please advice what to do?

    #39742
    sandrinerodriguessandrinerodrigues
    Participant

    I'm following the topic, having exactly the same error.

    I updated this morning to the last version of metabox AIO.

    The fatal error occurs when creating new post type, or new taxonomy. Creating customs fields is ok.

    Thanks !

    WordPress version 6.1.1
    Thème actif : Twenty Twenty-One (version 1.7)
    Extension actuelle : Meta Box AIO (version 1.16.7)
    PHP version 7.4.33

    Détails de l’erreur
    ======================
    Une erreur de type E_ERROR a été causée dans la ligne 111 du fichier /home/mnjl3489/2022/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php. Message d’erreur : Uncaught Error: Class 'RWMB_Update_Option' not found in /home/mnjl3489/2022/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php:111
    Stack trace:
    #0 /home/mnjl3489/2022/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php(24): MBCPT\Edit->is_premium_user()
    #1 /home/mnjl3489/2022/wp-includes/class-wp-hook.php(310): MBCPT\Edit->register_upgrade_meta_box('mb-post-type')
    #2 /home/mnjl3489/2022/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #3 /home/mnjl3489/2022/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home/mnjl3489/2022/wp-admin/includes/meta-boxes.php(1599): do_action('add_meta_boxes', 'mb-post-type', Object(WP_Post))
    #5 /home/mnjl3489/2022/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes(Object(WP_Post))
    #6 /home/mnjl3489/2022/wp-admin/post-new.php(75): require('/home/mnjl3489/...')
    #7 {main}
    thrown

    #39743
    JBPHJBPH
    Participant

    I updated and also have the same. Please can you provide a bug fix?

    WordPress version 6.1.1
    Active theme: twentytwentytwo (version )
    Current plugin: Meta Box AIO (version 1.16.7)
    PHP version 8.1.12

    Error Details
    =============
    An error of type E_ERROR was caused in line 111 of the file /home/874805.cloudwaysapps.com/xmtjedgjaz/public_html/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 /home/874805.cloudwaysapps.com/xmtjedgjaz/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php:111
    Stack trace:
    #0 /home/874805.cloudwaysapps.com/xmtjedgjaz/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/874805.cloudwaysapps.com/xmtjedgjaz/public_html/wp-includes/class-wp-hook.php(310): MBCPT\Edit->register_upgrade_meta_box()
    #2 /home/874805.cloudwaysapps.com/xmtjedgjaz/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #3 /home/874805.cloudwaysapps.com/xmtjedgjaz/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /home/874805.cloudwaysapps.com/xmtjedgjaz/public_html/wp-admin/includes/meta-boxes.php(1599): do_action()
    #5 /home/874805.cloudwaysapps.com/xmtjedgjaz/public_html/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes()
    #6 /home/874805.cloudwaysapps.com/xmtjedgjaz/public_html/wp-admin/post.php(206): require('/home/874805.cl...')
    #7 {main}
    thrown

    #39746
    Touchdown TechTouchdown Tech
    Participant

    I'm having the exact same issue

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.0.3
    Active theme: Bricks Child Theme (version 1.1)
    Current plugin: Meta Box AIO (version 1.16.7)
    PHP version 8.0.25

    Error Details
    =============
    An error of type E_ERROR was caused in line 111 of the file /www/hoistzone_673/public/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/hoistzone_673/public/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php:111
    Stack trace:
    #0 /www/hoistzone_673/public/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php(24): MBCPT\Edit->is_premium_user()
    #1 /www/hoistzone_673/public/wp-includes/class-wp-hook.php(309): MBCPT\Edit->register_upgrade_meta_box('mb-post-type')
    #2 /www/hoistzone_673/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /www/hoistzone_673/public/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /www/hoistzone_673/public/wp-admin/includes/meta-boxes.php(1599): do_action('add_meta_boxes', 'mb-post-type', Object(WP_Post))
    #5 /www/hoistzone_673/public/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes(Object(WP_Post))
    #6 /www/hoistzone_673/public/wp-admin/post.php(206): require('/www/hoistzone_...')
    #7 {main}
    thrown

    #39747
    PeterPeter
    Moderator

    Hello,

    There is a compatibility issue with the new version of Meta Box, please edit the file wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php line 111-112 and
    replace the code

    $update_option = new \RWMB_Update_Option();
    $update_checker = new \RWMB_Update_Checker( $update_option );

    with this one

    $update_option = new \MetaBox\Updater\Option();
    $update_checker = new \MetaBox\Updater\Checker( $update_option );

    to temporarily fix this issue. It will be included in the next update. Thanks.

    #39755
    sandrinerodriguessandrinerodrigues
    Participant

    Thank you @peter, it works !

    #39769
    Timo WesselsTimo Wessels
    Participant

    Thanks working =)

    #39770
    ScottNScottN
    Participant

    Got the Same.
    Applied fix.
    Now working.

    Wen official update?

    Thank you @peter

    ✅😁👍

    #39772
    Mustapha MMustapha M
    Participant

    Thank you @peter, it works !

    #39776
    Chris PChris P
    Participant

    Thanks, fixed indeed!

    #39779
    AnLipAnLip
    Participant

    Strangely, this does not fix the problem for me. I keep having a fatal error WP message when trying to access existing Taxonomy setting pages.

    #40038
    @gdnwebmedia@gdnwebmedia
    Participant

    Thank you. Fixed it for me. Looking forward to an official update.

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