[Support request] Technical Issue

Home Forums Support [Support request] Technical Issue

Home Forums Support Technical Issue

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.

    https://www.mohsreconstruction.com.au/wp-login.php?action=enter_recovery_mode&rm_token=wOHq50R2s9QAhSGP6uBzo1&rm_key=xycMRbtFJvFrFumHlYSowu

    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.33

    Error 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

    #1628768
    Elvin
    Staff
    Customer Support

    Hi,

    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?"

    #1632328
    Brendan

    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)

    #1632461
    David
    Staff
    Customer Support

    Hi there,

    are you using any Header Elements ( found in Appearance > Elements ) on your site ?

    #1632567
    Brendan

    Hi David,

    yes I have
    Hook: generate_before_header_content

    #1632664
    David
    Staff
    Customer Support

    Do you have any other Elements ?

    #1635080
    Brendan

    Hi David, yes I do, please check this link https://tinyurl.com/y2ybz85n

    #1635402
    David
    Staff
    Customer Support

    Any Elements in the Trash ?

    #1636329
    Brendan

    Hi David, there isn’t any email in the trash.

    #1637275
    Tom
    Lead Developer
    Lead Developer

    Can 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 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.