Site is having critical error
-
am facing this technical problem: Can you please help me solve it?
Howdy!
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with your theme, OceanWP.
First, visit your website (http://www.lifestylespeakss.com/) and check for any visible issues. Next, visit the page where the error was caught (http://www.lifestylespeakss.com/wp-login.php?loggedout=true&wp_lang=en_US) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special ‘recovery mode’. This lets you safely login to your dashboard and investigate further.
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.4.1
Current theme: OceanWP (version 1.7.4)
Current plugin: (version )
PHP version 7.2.31Error Details
=============
An error of type E_PARSE was caused in line 942 of the file /home/lifest16/public_html/wp-content/themes/oceanwp/functions.php. Error message: syntax error, unexpected ‘if’ (T_IF), expecting function (T_FUNCTION) or const (T_CONST) -
The site mentioned does not use our managed hosting environment from WordPress.com. Instead, it’s set up on the open source WordPress.org software which is something different.
This page talks about this differences in more detail:
Help with that site comes from https://wordpress.org/support/forums/
- The topic ‘Site is having critical error’ is closed to new replies.