Title: Syntax error on php 5.4
Last modified: October 26, 2017

---

# Syntax error on php 5.4

 *  Resolved [bbeecher](https://wordpress.org/support/users/bbeecher/)
 * (@bbeecher)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-on-php-5-4/)
 * Hello, this is a non-issue but posting this in case it might help someone.
 * I noticed the following error on one of my websites coming from this plugin today.
 * `Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in/
   home3/site/public_html/wp-content/plugins/wp-security-audit-log/classes/Sensors/
   Content.php on line 1002`
 * Quick fix was to remove the plugin. I noticed the default version of PHP 5.4.45
   was the active version (thank hostgator!), pretty out of date. Updated to PHP
   5.6, reinstalled plugin and everything seems good now.

Viewing 1 replies (of 1 total)

 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-on-php-5-4/#post-9624650)
 * Hello [@bbeecher](https://wordpress.org/support/users/bbeecher/)
 * We are really sorry this slipped through our testing. This was affecting only
   installs on PHP versions earlier than 5.5.
 * We just released version 2.6.9.1 with the fix. Please update your install and
   all should be sorted.
 * Sorry if this has caused any inconveniences. Should you need any further assistance
   please do not hesitate to ask.
 * Thank you for using our plugin.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/wp-security-audit-log/assets/icon-256x256.png?rev=2961534)
 * [WP Activity Log](https://wordpress.org/plugins/wp-security-audit-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-security-audit-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-security-audit-log/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-security-audit-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-security-audit-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-security-audit-log/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-on-php-5-4/#post-9624650)
 * Status: resolved