Title: Syntax error
Last modified: November 9, 2020

---

# Syntax error

 *  Resolved [cjsmiff](https://wordpress.org/support/users/cjsmiff/)
 * (@cjsmiff)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-204/)
 * Hi, I am getting this error since the last upgrade and now my site won’t load
   the admin or front side:
 * PHP Parse error: syntax error, unexpected ‘[‘ in /home/sites/XXXX.uk/public_html/
   wp-content/plugins/header-footer/plugin.php on line 33: /home/sites/XXXX.uk/public_html/
   index.php
 * How do I fix this please?

Viewing 1 replies (of 1 total)

 *  Thread Starter [cjsmiff](https://wordpress.org/support/users/cjsmiff/)
 * (@cjsmiff)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-204/#post-13641870)
 * I found my answer, the .htaccess file was calling php5.3! I removed this line
   and the site came back.

Viewing 1 replies (of 1 total)

The topic ‘Syntax error’ is closed to new replies.

 * ![](https://ps.w.org/header-footer/assets/icon-256x256.png?rev=3452717)
 * [Head, Footer and Post Injections](https://wordpress.org/plugins/header-footer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/header-footer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/header-footer/)
 * [Active Topics](https://wordpress.org/support/plugin/header-footer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/header-footer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/header-footer/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [cjsmiff](https://wordpress.org/support/users/cjsmiff/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-204/#post-13641870)
 * Status: resolved