• Resolved lukecook2410

    (@lukecook2410)


    Hi, I was trying to add a function to my theme’s function.php file. It was a woocommerce function, all I did was paste it at the button and hit apply.

    Now I am faced with this error message on every single page…

    Parse error: syntax error, unexpected ‘<‘ in /var/sites/g/gmcheese.lucomedia.com/public_html/wp-content/themes/rosa/functions.php on line 44

    I have deleted what I added as that’s the only page I can get back onto. If I close my browser I think I’ll lose that though. This website is for a client and it’s 95% complete. It’s an extremely important project I’ve just spent 2 weeks on, does any one have an Idea how I can fix this?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lukecook2410

    (@lukecook2410)

    I have solved the issue, I deleted the functions.php file from the hosting file manager and reuploaded the original from the theme incase anyone has the same issue.

    lisa

    (@contentiskey)

    are you using a child theme for your functions.php file changes?
    do you have access to your theme files via FTP?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error: syntax error, unexpected '’ is closed to new replies.