Title: Plugin Activation Error
Last modified: January 18, 2018

---

# Plugin Activation Error

 *  Resolved [shridsan2010](https://wordpress.org/support/users/shridsan2010/)
 * (@shridsan2010)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-activation-error-22/)
 * Hi,
 * After activating the plugin, I got the following error.
 * Please help me.
 * Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier(
   T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in /wp-content/plugins/doctor-
   appointment-booking/inc/Init.php on line 19
 * Waiting for your reply.
 * Regards,
    Shridsan

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

 *  Plugin Author [Creativeitem](https://wordpress.org/support/users/creativeitem/)
 * (@creativeitem)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-activation-error-22/#post-9877190)
 * Hello,
    Thanks for using our plugin. It may happen due to your server’s older
   php version. You need to upgrade to the latest version of php. Can you please
   provide us any screenshot of the issue you faced? We will check it and provide
   solution.
 *  Thread Starter [shridsan2010](https://wordpress.org/support/users/shridsan2010/)
 * (@shridsan2010)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-activation-error-22/#post-9881186)
 * Hi,
 * I have directly copied the error shown (rather than screenshot) which is
 * Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier(
   T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in /wp-content/plugins/doctor-
   appointment-booking/inc/Init.php on line 19
 * Can’t u resolve above error?
 * Regards,
    Shridsan
 *  Plugin Author [Creativeitem](https://wordpress.org/support/users/creativeitem/)
 * (@creativeitem)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-activation-error-22/#post-9882586)
 * Hello, thanks for your message again. We have checked and rechecked the source
   code and also did some trial installation on different circumstances. There is
   no error while activating the plugin. Please check once again and make sure that
   the requirements needed by the plugin are met by your server configuration and
   wordpress configuration.
    Thank you
 *  Thread Starter [shridsan2010](https://wordpress.org/support/users/shridsan2010/)
 * (@shridsan2010)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-activation-error-22/#post-9888459)
 * Hey…It worked. (upgraded the PHP version.)
 * I have tested the plugin & it’s wonderful.
 * But still, I got one query that is it possible to use all the features from the
   front end.
 * Regards,
    Shridsan
 *  Plugin Author [Creativeitem](https://wordpress.org/support/users/creativeitem/)
 * (@creativeitem)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-activation-error-22/#post-9896358)
 * Hello, we will hopefully provide an update so that it will be possible to use
   the features on frontend.
    Let us know if you have more suggestions. We will 
   keep notes. Thank you.

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

The topic ‘Plugin Activation Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/doctor-appointment-booking_c6e2ed.
   svg)
 * [Doctor Appointment Booking](https://wordpress.org/plugins/doctor-appointment-booking/)
 * [Support Threads](https://wordpress.org/support/plugin/doctor-appointment-booking/)
 * [Active Topics](https://wordpress.org/support/plugin/doctor-appointment-booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/doctor-appointment-booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/doctor-appointment-booking/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Creativeitem](https://wordpress.org/support/users/creativeitem/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/plugin-activation-error-22/#post-9896358)
 * Status: resolved