- This topic has 9 replies, 4 voices, and was last updated 1 year, 6 months ago by
Tom.
-
AuthorPosts
-
January 21, 2021 at 7:26 pm #1628698
Brendan
Hi, I received this email:
G’day!
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, GP Premium.
First, visit your website (https://www.mohsreconstruction.com.au/) and check for any visible issues. Next, visit the page where the error was caught (https://www.mohsreconstruction.com.au/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.6
Current theme: GeneratePress (version 3.0.2)
Current plugin: GP Premium (version 1.12.3)
PHP version 7.2.33Error Details
=============
An error of type E_PARSE was caused in line 396 of the file /home/pterygiu/public_html/mohsreconstruction.com.au/wp-content/plugins/gp-premium/elements/class-hero.php. Error message: syntax error, unexpected ”.header-wrap .mobile-header-n’ (T_ENCAPSED_AND_WHITESPACE)can you please help? thanks
January 21, 2021 at 9:56 pm #1628768Elvin
StaffCustomer SupportHi,
Strange. The error is pointing to .php file for the Header Element (class-hero.php).
Can you download a fresh copy of GP Premium plugin and reinstall it? Let us know how it goes.
A wise man once said:
"Have you cleared your cache?"January 25, 2021 at 1:24 am #1632328Brendan
Hi Elvin,
I have replaced the old one with a new copy of the GP Premium plugin and reinstalled it but WordPress still send me the email with new error details.
Error Details
=============
An error of type E_PARSE was caused in line 437 of the file /home/pterygiu/public_html/mohsreconstruction.com.au/wp-content/plugins/gp-premium/elements/class-hero.php. Error message: syntax error, unexpected ”backgr’ (T_ENCAPSED_AND_WHITESPACE)January 25, 2021 at 3:13 am #1632461David
StaffCustomer SupportHi there,
are you using any Header Elements ( found in Appearance > Elements ) on your site ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 25, 2021 at 4:54 am #1632567Brendan
Hi David,
yes I have
Hook: generate_before_header_contentJanuary 25, 2021 at 6:24 am #1632664David
StaffCustomer SupportDo you have any other Elements ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 26, 2021 at 9:20 pm #1635080Brendan
Hi David, yes I do, please check this link https://tinyurl.com/y2ybz85n
January 27, 2021 at 5:04 am #1635402David
StaffCustomer SupportAny Elements in the Trash ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 27, 2021 at 7:01 pm #1636329Brendan
Hi David, there isn’t any email in the trash.
January 28, 2021 at 9:16 am #1637275Tom
Lead DeveloperLead DeveloperCan you share line
437
from that file as you’re seeing it on your server?The core file has this on that line:
$css->add_property( 'background', $navigation_background_hover );
There are no parse errors there – everything is as it should be.
Let me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.