Title: update plugin error &#8211; Parse error: syntax error, unexpected ‘class’
Last modified: February 5, 2019

---

# update plugin error – Parse error: syntax error, unexpected ‘class’

 *  Resolved [tridence](https://wordpress.org/support/users/tridence/)
 * (@tridence)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/update-plugin-error-parse-error-syntax-error-unexpected-class/)
 * Our site has crashed overnight and we’re getting:
    Parse error: syntax error,
   unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE)
   or ‘{‘ or ‘$’ in /home1/***/public_html/***********/wp-content/plugins/official-
   facebook-pixel/integration/FacebookWordpressIntegrationBase.php on line 38
 * Web server
    cpsrvd 11.70.0.66 Database client version: libmysql – 5.1.73 PHP 
   extension: mysqliDocumentation curlDocumentation mbstringDocumentation PHP version:
   5.6.30
 * we have a later version of php and still causing errors? any suggestions

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

 *  Thread Starter [tridence](https://wordpress.org/support/users/tridence/)
 * (@tridence)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/update-plugin-error-parse-error-syntax-error-unexpected-class/#post-11172302)
 * unplug. update your server php to the latest version. re-install.
 *  Plugin Author [Facebook](https://wordpress.org/support/users/facebook/)
 * (@facebook)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/update-plugin-error-parse-error-syntax-error-unexpected-class/#post-11196017)
 * Hi,
 * Thanks for reaching out and flagging this. We have fixed that to support PHP 
   5.3+ and please update the latest plugin.
 * Thanks!

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

The topic ‘update plugin error – Parse error: syntax error, unexpected ‘class’’ 
is closed to new replies.

 * ![](https://ps.w.org/official-facebook-pixel/assets/icon.svg?rev=3158868)
 * [Meta pixel for WordPress](https://wordpress.org/plugins/official-facebook-pixel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/official-facebook-pixel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/official-facebook-pixel/)
 * [Active Topics](https://wordpress.org/support/plugin/official-facebook-pixel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/official-facebook-pixel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/official-facebook-pixel/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Facebook](https://wordpress.org/support/users/facebook/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/update-plugin-error-parse-error-syntax-error-unexpected-class/#post-11196017)
 * Status: resolved