Title: Error when activating plugin
Last modified: May 28, 2017

---

# Error when activating plugin

 *  Resolved [isitesco](https://wordpress.org/support/users/isitesco/)
 * (@isitesco)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-31/)
 * Hi,
 * Upon installation of the plugin from the repository, when I activate it shows
   the below error:
 * Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier(
   T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in /home/host/public_html/mydomain.
   com/wp-content/plugins/ucare-support-system/includes/Plugin.php on line 60
 * Please advise.
 * Thanks,
    korntek

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

 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-31/#post-9175013)
 * Hi there
 * Did you download from GitHub or from WordPress directly ?
    is this the first 
   time you activate this plugin ?
 * Looking into the issue and will advise of outcome.
 * thank you
 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-31/#post-9176197)
 * [@isitesco](https://wordpress.org/support/users/isitesco/)
 * Tested a clean install of the latest plugin version on a couple of instances 
   without issues. Can you please check which version of PHP is installed on your
   server ? You can check that from your cPanel directly. Alternatively, there are
   free plugins you can install that can tell you which version of PHP you have.
 * best regards
 *  Thread Starter [isitesco](https://wordpress.org/support/users/isitesco/)
 * (@isitesco)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-31/#post-9180710)
 * Hi,
 * its running php 5.4, so I tried on a 5.6 and it worked.
 * I got it from wordpress repository. sorry didnt see the requirements before.
 * Thanks for the response
    korntek
 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-31/#post-9181410)
 * [@isitesco](https://wordpress.org/support/users/isitesco/)
 * That’s great! Thank you for letting us know.
 * We will add an activation script to the next version which will notify users 
   of the PHP version requirement in cases where the user’s site is on an older 
   version.
 * thanks again for the feedback – if you have any more suggestions or experience
   any bugs please create a new ticket!
 * Best regards

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

The topic ‘Error when activating plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ucare-support-system_057685.svg)
 * [uCare - Support Ticket System & HelpDesk](https://wordpress.org/plugins/ucare-support-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ucare-support-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ucare-support-system/)
 * [Active Topics](https://wordpress.org/support/plugin/ucare-support-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ucare-support-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ucare-support-system/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [smartcat](https://wordpress.org/support/users/smartcat/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-31/#post-9181410)
 * Status: resolved