• Resolved philbgs

    (@philbgs)


    Hi, my website is working fine after last update, but still receiving fatal error in the backend even after updating to version 5.6.11 on WordPress version 6.1.1. I had to remove the plugin from ftp.

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

    (@rilwis)

    Hi @philbgs ,

    Can you please try this fix? What the error message did you see?

    Thread Starter philbgs

    (@philbgs)

    Hey Tran, I tried the fix, no change, same issue. Error : “There has been a critical error on this website.”

    Plugin Author Anh Tran

    (@rilwis)

    Can you turn on the debug mode and see what the error is?

    Thread Starter philbgs

    (@philbgs)

    This is what I received:

    Error Details
    =============
    An error of type E_ERROR was caused in line 16 of the file /home/uxxxxxxxxx/domains/paintingestimatingservices.com/public_html/wp-content/plugins/meta-box/inc/meta-box-registry.php. Error message: Uncaught TypeError: Argument 1 passed to RWMB_Meta_Box_Registry::make() must be of the type array, null given, called in /home/uxxxxxxxxx/domains/paintingestimatingservices.com/public_html/wp-content/plugins/meta-box/inc/core.php on line 29 and defined in /home/uxxxxxxxxx/domains/paintingestimatingservices.com/public_html/wp-content/plugins/meta-box/inc/meta-box-registry.php:16
    Stack trace:
    #0 /home/uxxxxxxxxx/domains/paintingestimatingservices.com/public_html/wp-content/plugins/meta-box/inc/core.php(29): RWMB_Meta_Box_Registry->make(NULL)
    #1 /home/uxxxxxxxx/domains/paintingestimatingservices.com/public_html/wp-includes/class-wp-hook.php(308): RWMB_Core->register_meta_boxes(”)
    #2 /home/uxxxxxxxxx/domains/paintingestimatingservices.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #3 /home/uxxxxxxxxx/domains/paintingestimatingservices.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home/uxxxxxxxxx/domains/paintingestimatingservices.com/public_h`

    • This reply was modified 2 years, 2 months ago by philbgs.
    Plugin Author Anh Tran

    (@rilwis)

    Thanks @philbgs ,

    Looks like meta boxes are registered incorrectly. Can you share the code that register meta boxes? Or are you using premium extensions to create meta boxes?

    Thread Starter philbgs

    (@philbgs)

    Sorry, I’m not sure what code you’re talking about, the plugin came with the template, I don’t think I’m using premium extensions, nor if I’m using this plugin. I don’t thing so. The thing is that WordPress says that the theme requires this plugin.

    WordPress version 6.1.1
    Active theme: XSmart (version 1.2.5)
    Current plugin: Meta Box (version 5.6.11)
    PHP version 7.4.30

    Thread Starter philbgs

    (@philbgs)

    By the way, with your last fix, the website stopped working too.
    There has been a critical error on this website.

    Plugin Author Anh Tran

    (@rilwis)

    Hi @philbgs ,

    Looks like XSmart is a premium theme. Would you mind sending me a copy to check?

    Thread Starter philbgs

    (@philbgs)

    Tran, a copy of what exactly?? Man, I’m not a developer, I’m just trying to understand and find a way to fix it. Please be more explicit. Thanks

    Plugin Author Anh Tran

    (@rilwis)

    I meant a copy of the theme.

    Anyway, I’ve just released a new version with the fix that I mentioned. Please update and let me know if you still see the bug.

    Thread Starter philbgs

    (@philbgs)

    I just tried the version 5.6.12. Same issue. Same critical error.

    Plugin Author Anh Tran

    (@rilwis)

    Can you please send me a copy of your theme to check?

    I’m having the same issue with the critical error with the XSmart theme 1.2.0 update. I had to disable all the plugins via FTP and activate them one by one. Metabox is definitely the culprit. Any solution?

    Plugin Author Anh Tran

    (@rilwis)

    @pernad01 Please ask the theme author to update bundled extensions to the latest version. It’s required the latest versions of all extensions to work well with Meta Box.

    Thank you for responding! I had to reinstall the theme, update it then put back the plugins. It’s working now. ??

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Critical error in the backend after update’ is closed to new replies.