Title: Syntax error unexpected
Last modified: September 1, 2016

---

# Syntax error unexpected

 *  Resolved [kojakster](https://wordpress.org/support/users/kojakster/)
 * (@kojakster)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-7/)
 * I installed a new wordpress 4.5, when add Gmail SMTP and want to activate it,
   the following message showed up. The plugin doesn’t activate.
 * Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home/www/
   web21/html/wordpress/wp-content/plugins/gmail-smtp/google-api-php-client/src/
   Google/autoload.php on line 19
 * Any ideas what happen?
 * [https://wordpress.org/plugins/gmail-smtp/](https://wordpress.org/plugins/gmail-smtp/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [kojakster](https://wordpress.org/support/users/kojakster/)
 * (@kojakster)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-7/#post-7686147)
 * Ok, found another entry.
    Min PHP 5.4 is needed. Try now to get a higher version

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/gmail-smtp/assets/icon-128x128.png?rev=2432932)
 * [Gmail SMTP](https://wordpress.org/plugins/gmail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gmail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gmail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/gmail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gmail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gmail-smtp/reviews/)

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