Title: PHP Parse error: syntax error, unexpected &#8216;)&#8217;
Last modified: May 12, 2021

---

# PHP Parse error: syntax error, unexpected ‘)’

 *  Resolved [Gerard van Enk](https://wordpress.org/support/users/gvenk/)
 * (@gvenk)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-9/)
 * There are 2 errors in the latest release of the plugin (version 5.2.7):
 * `PHP Parse error: syntax error, unexpected ')'`
 * There is a comma too much in the `wp_enqueue_style` method in the following files:
 * mailjet-for-wordpress/src/widget/WP_Mailjet_Subscribe_Widget.php on line 297
   
   mailjet-for-wordpress/src/includes/MailjetSettings.php on line 339

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

 *  [manoskav](https://wordpress.org/support/users/manoskav/)
 * (@manoskav)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-9/#post-14428859)
 * same issue here. i had to remove the comma (in both files) manually
 *  [Michael Visser](https://wordpress.org/support/users/visser/)
 * (@visser)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-9/#post-14429460)
 * Same issue here, reverted to previous release.
 *  [antoad](https://wordpress.org/support/users/antoad/)
 * (@antoad)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-9/#post-14429671)
 * Hi there,
 * Same here. I had to update to php 7.3 and it solved.
 *  [antoad](https://wordpress.org/support/users/antoad/)
 * (@antoad)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-9/#post-14430939)
 * Hi again,
 * So as said in the first comment, the issue comes from extra comma which is throwing
   an error in php version < 7.3
 * Thanks
 *  Thread Starter [Gerard van Enk](https://wordpress.org/support/users/gvenk/)
 * (@gvenk)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-9/#post-14431031)
 * The plugin is compatible with PHP 5.6 or higher according to the information 
   😉
 *  [Marie Comet](https://wordpress.org/support/users/chaton666/)
 * (@chaton666)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-9/#post-14849487)
 * Same here, any news from Mailjet ?

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

The topic ‘PHP Parse error: syntax error, unexpected ‘)’’ is closed to new replies.

 * ![](https://ps.w.org/mailjet-for-wordpress/assets/icon.svg?rev=2994192)
 * [Mailjet Email Marketing](https://wordpress.org/plugins/mailjet-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailjet-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailjet-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/mailjet-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailjet-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailjet-for-wordpress/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [Marie Comet](https://wordpress.org/support/users/chaton666/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-9/#post-14849487)
 * Status: resolved