Title: Parse error when activating plugin
Last modified: January 25, 2017

---

# Parse error when activating plugin

 *  Resolved [satoheartrescue](https://wordpress.org/support/users/satoheartrescue/)
 * (@satoheartrescue)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-activating-plugin-2/)
 * I installed this plugin just now, and when I tried to activate it I got
 * Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home1/satohear/
   public_html/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/autoload.
   php on line 19
 * I am on the latest version of WordPress and I did install and activate it a week
   ago with no issues, but then deactivated it and deleted it.
 * Version I’m trying to install 1.1.1
    WP version: 4.7.1

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

 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-activating-plugin-2/#post-8704438)
 * Hi, Can you at least activate it (with warnings)? or is it a fatal error? If 
   it can be activated Please copy and paste the content from the “Server Info” 
   tab so I can check some details.
    -  This reply was modified 9 years, 4 months ago by [Noor Alam](https://wordpress.org/support/users/naa986/).
 *  Thread Starter [satoheartrescue](https://wordpress.org/support/users/satoheartrescue/)
 * (@satoheartrescue)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-activating-plugin-2/#post-8704918)
 * Hi,
 * No, it cannot be activated at all, it’s a fatal error so I cannot use it. If 
   there is anything in particular you need to know, I can get that for you.
 * Mary
 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-activating-plugin-2/#post-8708980)
 * it might be a PHP thing. What version of PHP are you using?
 *  Thread Starter [satoheartrescue](https://wordpress.org/support/users/satoheartrescue/)
 * (@satoheartrescue)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-activating-plugin-2/#post-8709810)
 * PHP version is 5.6.29
 *  Plugin Author [Noor Alam](https://wordpress.org/support/users/naa986/)
 * (@naa986)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-activating-plugin-2/#post-8727814)
 * This issue was reported by another user where the PHP version was less than 5.4
 * [https://wordpress.org/support/topic/syntax-error-unexpected-7/](https://wordpress.org/support/topic/syntax-error-unexpected-7/)
 * But that is not the case here. Can you please contact your host to see if they
   can identify the source of this issue? I did some research but couldn’t find 
   anything viable related to this topic.
 *  Thread Starter [satoheartrescue](https://wordpress.org/support/users/satoheartrescue/)
 * (@satoheartrescue)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-activating-plugin-2/#post-8728972)
 * I’m using another plugin now, it took you over a week where you just asked one
   question to diagnose to tell me you couldn’t help me :-). I’d say support for
   this plugin is lacking.

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

The topic ‘Parse error when activating plugin’ 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/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * 6 replies
 * 2 participants
 * Last reply from: [satoheartrescue](https://wordpress.org/support/users/satoheartrescue/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-activating-plugin-2/#post-8728972)
 * Status: resolved