Home Forums WoodMart support forum Front end getting critical error

Front end getting critical error

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #280468

    [email protected]
    Participant

    Hi my site got critical error an hour back please see the log

    Notice: Undefined index: pagecssfiles in /var/www/wptbox/wp-content/themes/woodmart/inc/classes/Registry.php on line 55

    Notice: Undefined index: pagecssfiles in /var/www/wptbox/wp-content/themes/woodmart/inc/classes/Registry.php on line 55

    Fatal error: Uncaught Error: Call to a member function enqueue_style() on null in /var/www/wptbox/wp-content/themes/woodmart/inc/enqueue.php:800 Stack trace: #0 /var/www/wptbox/wp-content/themes/woodmart/inc/enqueue.php(646): woodmart_force_enqueue_style() #1 /var/www/wptbox/wp-includes/class-wp-hook.php(292): woodmart_force_enqueue_styles() #2 /var/www/wptbox/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #3 /var/www/wptbox/wp-includes/plugin.php(484): WP_Hook->do_action() #4 /var/www/wptbox/wp-includes/script-loader.php(2027): do_action() #5 /var/www/wptbox/wp-includes/class-wp-hook.php(292): wp_enqueue_scripts() #6 /var/www/wptbox/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #7 /var/www/wptbox/wp-includes/plugin.php(484): WP_Hook->do_action() #8 /var/www/wptbox/wp-includes/general-template.php(3009): do_action() #9 /var/www/wptbox/wp-content/themes/woodmart/header.php(13): wp_head() #10 /var/www/wptbox/wp-includes/template.php(730): require_once(‘/var/www/wptbox…’) #11 /var/www/wptbox/wp in /var/www/wptbox/wp-content/themes/woodmart/inc/enqueue.php on line 800
    There has been a critical error on this website.

    Learn more about troubleshooting WordPress.

    #280471

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin and FTP access so we can check it?

    Thank you in advance

    #280492

    [email protected]
    Participant

    you need , WP admin id nd password and ftp access creds, correct?

    #280518

    Artem Temos
    Keymaster

    Yes, that’s correct. We need this information to see the problem and check what is it caused by.

    #280529

    [email protected]
    Participant
    #280568

    Artem Temos
    Keymaster

    It looks like you have customized our functions.php file that broken some functions. Please, restore the original file and test how it works. Note that if you want to customize something in our theme, you need to use child.

    #280576

    [email protected]
    Participant

    Can you please point to something specific, I have not made any changes in functions.php , am not a techie, I just follow instructions by you folks.

    #280586

    Artem Temos
    Keymaster

    In this case, you just need to reinstall the theme completely to make sure that all files are up to date.

    #280710

    [email protected]
    Participant

    Help, I tried and it did not work… it says failed, no valid plug in…. not sure what should I do next. I take daily back up and had one available from today early morning when everything was hunky dory, I restored that but no luck, I am actually mighty concerned on this random critical error… it has shaken my confidence completely in your theme.

    #280713

    Artem Temos
    Keymaster

    If you want, we can reinstall the theme for you. Please, disable all third-party plugins temporarily so we can do this for you.

    #280735

    [email protected]
    Participant

    have disabled all leaving woodmart core, elemento/pro and slide revolution.

    #280750

    Artem Temos
    Keymaster

    We have updated the theme for you. Please, check how it works now.

    #280839

    [email protected]
    Participant

    Thanks it seems to be working ok, I still need to figure out how function.php got modified?, is there a way to find out that and audit trail, that I should investigate?

    #280846

    Artem Temos
    Keymaster

    We don’t know but it looks like you or your developer customized the code in the parent theme. You don’t need to customize any PHP code in the parent theme. Use child theme for this.

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Front end getting critical error’ is closed to new replies.