Bug: Clicking on edit for post type crashes the website

Support General Bug: Clicking on edit for post type crashes the websiteResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #39847
    SolaceSolace
    Participant

    Hi there,

    I recently updated to Meta Box 5.6.14 and now when I click on "Edit" under a custom post type I see the website crash message and an email is triggered with the following code:

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

    #39850
    daney@mijndesign.online[email protected]
    Participant

    Same problem here:

    ===========
    Een fout van het type E_ERROR werd veroorzaakt op regelnummer 111 van het bestand /home/noorderinzicht/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php. Foutmelding: Uncaught Error: Class "RWMB_Update_Option" not found in /home/noorderinzicht/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/src/Edit.php:111
    Stack trace:
    #0 /home/noorderinzicht/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/noorderinzicht/public_html/wp-includes/class-wp-hook.php(310): MBCPT\Edit->register_upgrade_meta_box()
    #2 /home/noorderinzicht/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #3 /home/noorderinzicht/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /home/noorderinzicht/public_html/wp-admin/includes/meta-boxes.php(1599): do_action()
    #5 /home/noorderinzicht/public_html/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes()
    #6 /home/noorderinzicht/public_html/wp-admin/post.php(206): require('/home/noorderin...')
    #7 {main}
    thrown

    WordPress 6.1.1
    PHP 8.0.22
    Meta Box AIO 1.16.7
    Meta Box 5.6.14

    #39862
    PeterPeter
    Moderator

    Hello,

    Please update the plugin Meta Box AIO to the latest version 1.16.8 to fix this issue. Let me know how it goes.

    #39895
    seaj1oneseaj1one
    Participant

    Hello Peter

    It resolved the issue for me, but I have to log in to my account and download Meta Box AIO to the latest version 1.16.8 instead of getting the option to update via WordPress.

    #39905
    SolaceSolace
    Participant

    Yep, that fixed it! Thanks 🙂

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