Critical Error On Site appearing 1 hour ago

I’m receiving a critical error on a staging site I’m working on for my client. Our host WPEngine confirmed the issue was due to a theme conflict (Pro Child Theme).

The website is here
https://stephenphildev.wpengine.com

I’m not sure what really brought about the issue. I was working this morning in Cornerstone and up until about 1 hour ago it was working fine. I hit save on my updated header in Cornerstone and then the website produced this critical error.

I can provide a debug log if that would help.

Hey @OctoCog,

Thanks for reaching out!

If you activate the Pro parent theme the issue resolved? If the issue is coming from the Pro Child theme, I just want to let you know that the child theme is where the extended code is added, it contains a lot of customization. Regretfully, enhancing code from child theme is outside the scope of our theme support. You may seek 3rd party developers to help you with your problems or you can avail One where we can answer questions outside of the features of our theme.

Thank you for understanding.

The problem persists with the Pro parent theme.

Hi @OctoCog,

There might be different possible reasons for the issue and can help after having the exact error(s). Please add the below-given code into your wp-config.php for debug setup and the error logged into the file name debug.log inside the wp-content folder.

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
//SET PHP INI DISPLAY ERROR FALSE
@ini_set( 'display_errors', 0 );

Please find the video that will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o
You can let us know if you find any error that is related to our theme or theme bundled plugins. We need the following credentials for further investigation based on the information.

– WordPress Site URL & Login URL
– WordPress Admin username/password
– FTP/CPanel details to access the files.

To create a secure note, click the key icon underneath any of your posts.

Thanks

Hi, the debug log confirms the error appears to be coming from Pro theme. I’ll attach the debug log in my secure note along with the credentials you requested.

I was able to pinpoint the problem. It was on the main navigation in the header. Once I add the Pro default scroll effect to the navigation it causes a critical error.

1 Like

Hello. I am able to recreate this setting Effects to a nav element. I will have a fix where no Fatal Error will happen in a point release soon. The effects seem to work hiding the error, but I’ll also have to see why we are crashing this WordPress function as well. Thanks for bringing this to our attention and for the debug log.

You are welcome!

Please watch out for a patch update for this which will be rolling out anytime soon.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.