Support Forum
Hi,
I get an critical error after importing a CPT from another site.
I have uninstalled Metabox plugins (main + AIO) and reinstalled them.
The error is still triggered when I try to create a new CPT.
The imported CPT doesn't appear in the CPTs so I can't delete it.
Here is the error:
Fatal error: Uncaught Error: Class "RWMB_Update_Option" not found in C:\Users\Jo.DESKTOP-U3C5KT0\Local Sites\blueprint\app\public\wp-content\plugins\meta-box-aio\vendor\meta-box\mb-custom-post-type\src\Edit.php:111 Stack trace: #0 C:\Users\Jo.DESKTOP-U3C5KT0\Local Sites\blueprint\app\public\wp-content\plugins\meta-box-aio\vendor\meta-box\mb-custom-post-type\src\Edit.php(24): MBCPT\Edit->is_premium_user() #1 C:\Users\Jo.DESKTOP-U3C5KT0\Local Sites\blueprint\app\public\wp-includes\class-wp-hook.php(310): MBCPT\Edit->register_upgrade_meta_box('mb-post-type') #2 C:\Users\Jo.DESKTOP-U3C5KT0\Local Sites\blueprint\app\public\wp-includes\class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #3 C:\Users\Jo.DESKTOP-U3C5KT0\Local Sites\blueprint\app\public\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #4 C:\Users\Jo.DESKTOP-U3C5KT0\Local Sites\blueprint\app\public\wp-admin\includes\meta-boxes.php(1701): do_action('add_meta_boxes', 'mb-post-type', Object(WP_Post)) #5 C:\Users\Jo.DESKTOP-U3C5KT0\Local Sites\blueprint\app\public\wp-admin\edit-form-advanced.php(271): register_and_do_post_meta_boxes(Object(WP_Post)) #6 C:\Users\Jo.DESKTOP-U3C5KT0\Local Sites\blueprint\app\public\wp-admin\post-new.php(75): require('C:\\Users\\Jo.DES...') #7 {main} thrown in C:\Users\Jo.DESKTOP-U3C5KT0\Local Sites\blueprint\app\public\wp-content\plugins\meta-box-aio\vendor\meta-box\mb-custom-post-type\src\Edit.php on line 111
WOuld you have an idea, advice?
Thanks a lot,
Regards,
Jo
PS: sorry i first filled out the form without being vigilant that it isn't for support.
Hello Jo,
Please make sure you have the latest version of Meta Box 5.6.18 and Meta Box AIO 1.20.2 then check this issue again.
They were up to date. But the problem only happens on a local site. On the site migrated to a liver server, there is no problem anymore.
Thanks for you rsupport