Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved Syntax Error Has Crashed My Site


Question

Posted · Report post

On adding to the 'pagelines-customize/functions.php' page I have somehow caused my site to crash and it won't let me access anything but the 'pagelines-customize/functions.php' page via the browser back button and no change i make, even my deleting all my additions and returning it to its original state makes any difference. The error message is:

Parse error: syntax error, unexpected $end in /home/content/70/10021170/html/wp-content/plugins/pagelines-customize/functions.php on line 61

Very worrying that I can't get into any of the site now. Site is here: www.irishlitsoc.org

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

Hi,

Not sure what you have added to your functions.php file but to resolve this issue, you're going to need to connect to your site via FTP. Once connected, navigate to:

/wp-content/plugins/pagelines-customize/

Then open the functions.php file and remove any custom code you added, save the file and allow to upload the changes. Then refresh your site and the issues should be resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

Phew, thanks - yes had to take out a little custom code that obviously didn't work. All fixed now.

Steep learning curve here, thanks for a clear and helpful response.

Gav

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites