• Hi everyone,
    I cannot view my website or enter my WordPress dashboard anymore.
    Every day I receive an e-mail about an error but the links in the e-mail are not working.
    It would be great if someone can tell me what I can do to fix this.
    Thanks a lot!
    Greetings, Jenneke

    ————— here some specific information about the error ———————

    WordPress versie 6.7.5
    Actief thema: One Page Express (versie 1.3.58)
    Huidige plugin:  (versie )
    PHP versie 7.2.34

    Foutdetails
    ===========
    Een fout van het type E_PARSE werd veroorzaakt op regelnummer 2994 van het bestand /home/hartog26/domains/zweersmuziek.nl/public_html/wp-content/themes/one-page-express/inc/functions.php. Fout bericht: syntax error, unexpected ‘)’

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @zweersmuziek,

    Sorry to know that you are experiencing this issue.

    The error appears to be coming from the functions.php file of your theme. I tried installing the free version of the theme on a test website, but I didn’t notice any issues. Did you add any new code in your functions.php file?

    Try reverting the last change made in the functions.php file, that should help resolve the issue.

    If you can share the contents of the functions.php file, we can take a look at the code and help with some insights.

    Best Regards,
    Nebu John

    The issue is trailing comma on line 2993 of file: /home/hartog26/domains/zweersmuziek.nl/public_html/wp-content/themes/one-page-express/inc/functions.php

    old php vesrions don’t have support for trailing commas in function calls.
    Recommended solution: Update php version to 7.3 or higher.

    Fast but not recommended: remove comma from which is at the end of line 2993 of file: /home/hartog26/domains/zweersmuziek.nl/public_html/wp-content/themes/one-page-express/inc/functions.php

    Let me know if it helps,

    Ahmed Khan
    Mellocity

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.