@cyberian said in There has been a critical error on your website.:

There has been a critical error on your website.

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 one of your plugins, Custom Code plugin.

First, visit your website (https://example.com/) and check for any visible issues. Next, visit the page where the error was caught (https://exmaple.com/wp-login.php) 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.5
Current theme: Name Child (version 2.3.1)
Current plugin: Custom Code plugin (version 1.0)
PHP version 7.3.20

Error Details

An error of type E_PARSE was caused in line 41 of the file /home/www/exmaple.com/wp-content/plugins/cplugin.php. Error message: syntax error, unexpected ‘’’ (T_ENCAPSED_AND_WHITESPACE)