Home › Forums › WoodMart support forum › Front end getting critical error
Front end getting critical error
- This topic has 13 replies, 2 voices, and was last updated 4 years, 3 months ago by
Artem Temos.
-
AuthorPosts
-
April 9, 2021 at 6:44 am #280468
[email protected]ParticipantHi 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.
April 9, 2021 at 6:45 am #280471
Artem TemosKeymasterHello,
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
April 9, 2021 at 7:27 am #280492
[email protected]Participantyou need , WP admin id nd password and ftp access creds, correct?
April 9, 2021 at 7:41 am #280518
Artem TemosKeymasterYes, that’s correct. We need this information to see the problem and check what is it caused by.
April 9, 2021 at 7:52 am #280529
[email protected]ParticipantApril 9, 2021 at 8:36 am #280568
Artem TemosKeymasterIt 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.April 9, 2021 at 8:46 am #280576
[email protected]ParticipantCan 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.
April 9, 2021 at 8:52 am #280586
Artem TemosKeymasterIn this case, you just need to reinstall the theme completely to make sure that all files are up to date.
April 9, 2021 at 11:18 am #280710
[email protected]ParticipantHelp, 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.
April 9, 2021 at 11:18 am #280713
Artem TemosKeymasterIf you want, we can reinstall the theme for you. Please, disable all third-party plugins temporarily so we can do this for you.
April 9, 2021 at 11:33 am #280735
[email protected]Participanthave disabled all leaving woodmart core, elemento/pro and slide revolution.
April 9, 2021 at 11:52 am #280750
Artem TemosKeymasterWe have updated the theme for you. Please, check how it works now.
April 9, 2021 at 1:31 pm #280839
[email protected]ParticipantThanks 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?
April 9, 2021 at 1:35 pm #280846
Artem TemosKeymasterWe 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.
-
AuthorPosts
The topic ‘Front end getting critical error’ is closed to new replies.
- You must be logged in to create new topics. Login / Register