Title: Can not activate plugin. Parse error: syntax error, unexpected
Last modified: August 22, 2016

---

# Can not activate plugin. Parse error: syntax error, unexpected

 *  [celavi](https://wordpress.org/support/users/celavi/)
 * (@celavi)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/)
 * Hi guys,
 * This seems like a very promising plugin to help me to help my clients. However,
   when I try to activate it on WP 4.1, I am getting this error immediately :
 * Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /wp-content/plugins/
   client-dash/core/ajax.php on line 99
 * Any ideas?
 * Thank you
 * [https://wordpress.org/plugins/client-dash/](https://wordpress.org/plugins/client-dash/)

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

 *  Plugin Author [Kyle Maurer](https://wordpress.org/support/users/brashrebel/)
 * (@brashrebel)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656576)
 * Thanks for sharing this. Would it be possible for you to share what other plugins
   and theme you are using with us so that we can better replicate the problem?
 * Thanks for giving it a try and for letting us know of the issue. We’ll do our
   best to fix it if it is really a problem with Client Dash.
 *  Thread Starter [celavi](https://wordpress.org/support/users/celavi/)
 * (@celavi)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656810)
 * Hi there,
    Here’s the info requested :
 * Theme: GeneratePress (premium version) w/ child theme
 * Plugins:
    AddThis for WordPress Captcha Contact Form 7 Google Analytics by Yoast
   GP Premium Meta Slider TinyMCE Advanced WordPress SEO
 *  Plugin Contributor [joelworsham](https://wordpress.org/support/users/joelworsham/)
 * (@joelworsham)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656944)
 * What version of Client Dash are you running?
 * And could you find your PHP version possibly? Your server administrator can find
   out for you if you need.
 *  [Fabel Media](https://wordpress.org/support/users/fabel-media/)
 * (@fabel-media)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656951)
 * I have the same issue. Got this error: Parse error: syntax error, unexpected 
   T_PAAMAYIM_NEKUDOTAYIM in /var/www/02/51/96/sommerrevyen.no/www/wp-content/plugins/
   client-dash/core/ajax.php on line 99
 * My PHP version is 5.2.17
 * Got iSecurity plugin installed.
 *  [milan.badlani](https://wordpress.org/support/users/milanbadlani/)
 * (@milanbadlani)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656961)
 * Hi i am having the same issue.
 * Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in \\web-123win\
   winpackage22\…\web\content\wp-content\plugins\client-dash\core\ajax.php on line
   99
 * I just moved my site to a new hosting platform. I uses the Client Dash – Backup
   Buddy. I need the Client Dash plugin to activate the Backup Buddy but I keep 
   getting the Parse Error.
 * I have not other plugins installed.
 *  Plugin Contributor [joelworsham](https://wordpress.org/support/users/joelworsham/)
 * (@joelworsham)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656965)
 * This is an issue with an outdated version of PHP.
 * Programmers: In the code, there are points (like line 99 of ajax.php) that the
   ClientDash class is being referenced via a variable, and then static class properties
   are being referenced through that variable, like so: `ClientDash::$_cd_widgets`.
   This was introduced in PHP 5.3. 5.2 does not support it.
 * Everyone Else: I’m using some programming methods not supported in any server
   running a version of PHP lower than 5.3. Please note though, that 5.3 was released
   6 years ago (2009) and no server should be running anything less (realistically,
   all servers should be at least 5.4+, but I know that’s not going to happen soon).
 * So, as of now, you will need to contact your server administrator and tell them
   they need to update their servers to at least PHP 5.3 (which they should anyways!).
 * It’s possible we may release a version of Client Dash that has a workaround for
   this and works on PHP 5.2, but for right now, updating the server is the only
   option.
 * Apologies for any inconvenience.
 *  [littlemissaardvark](https://wordpress.org/support/users/littlemissaardvark/)
 * (@littlemissaardvark)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656969)
 * Hi Joel, I am getting the same problem (Parse error: syntax error, unexpected
   T_PAAMAYIM_NEKUDOTAYIM in /smhhome/8-web/84/98/bookbonding.com.au/public/www/
   wp-content/plugins/client-dash/core/ajax.php on line 99), however i have checked
   my php version and I believe its 5.5.39 (could be wrong – could be looking at
   the wrong place)
    I have the following plugins installed
 * Advanced WP Columns (not activated)
    Akismet (activated) Client Dash (unable 
   to activate) Client Dash – Backup Buddy (activated – after getting the Client
   Dash error – tried Client Dash again, get same error) Comprehensive Google Map
   Plugin (not activated) Columns (activated) Easy Facebook Likebox (activated) 
   Google Maps Bank Lite Edition (not activated) Google Maps Builder (not activated)
   Hello Dolly(not activated) Jetpack by WordPress.com (activated) Leaflet Maps 
   Marker(not activated) WordPress SEO (activated) WP Google Maps (activated) WP
   Google Maps – Pro Add-on (activated)
 * Is there anything else I should check?
 *  Plugin Contributor [joelworsham](https://wordpress.org/support/users/joelworsham/)
 * (@joelworsham)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656970)
 * I think you may have been looking at your version of MySQL. There is no PHP[ version 5.5.39](http://php.net/releases/),
   but there is a [ MySQL version 5.5.39](http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-39.html)
   released at the end of last year.
 * I’m fairly confident this error is related to a PHP version. Perhaps you could
   contact your server administrator to find out the PHP version?
 * I do believe we will be looking into a patch to fix this issue though, so hold
   tight.
 *  [littlemissaardvark](https://wordpress.org/support/users/littlemissaardvark/)
 * (@littlemissaardvark)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656971)
 * Thanks for the reply Joel, you are indeed correct. The server is running PHP 
   5.2.something.
    Thanks anyway, I’ll have to wait for the fix. Cheers!
 *  Plugin Contributor [joelworsham](https://wordpress.org/support/users/joelworsham/)
 * (@joelworsham)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656988)
 * A patch has been applied to fix this issue. Please update to version 1.6.8 and
   see if the problem still persists.
 * Thanks!

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

The topic ‘Can not activate plugin. Parse error: syntax error, unexpected’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/client-dash.svg)
 * [Client Dash](https://wordpress.org/plugins/client-dash/)
 * [Support Threads](https://wordpress.org/support/plugin/client-dash/)
 * [Active Topics](https://wordpress.org/support/plugin/client-dash/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/client-dash/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/client-dash/reviews/)

## Tags

 * [ajax.php](https://wordpress.org/support/topic-tag/ajax-php/)
 * [Plugin activation error](https://wordpress.org/support/topic-tag/plugin-activation-error/)

 * 10 replies
 * 6 participants
 * Last reply from: [joelworsham](https://wordpress.org/support/users/joelworsham/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/can-not-activate-plugin-parse-error-syntax-error-unexpected/#post-5656988)
 * Status: not resolved