Title: Cannot Activate pluggin
Last modified: January 10, 2019

---

# Cannot Activate pluggin

 *  Resolved [masaav](https://wordpress.org/support/users/masaav/)
 * (@masaav)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cannot-activate-pluggin-2/)
 * Hello. The following message shows when I click on Activate:
 * “Parse error: syntax error, unexpected T_FUNCTION
 * in /home1/esclavas/public_html/blog/wp-content/plugins/participants-database/
   participants-database.php on line 383”
 * Line 383 code:
    add_action( ‘pdb-shortcode_present’, function () {
 * Versions: WordPress 5.0.3 and PHP version: 5.6.30
 * I really appreciate your help to solve this issue.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-activate-pluggin-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cannot-activate-pluggin-2/#post-11074549)
 * This indicates that the actual php version in use for that site is 5.2 or earlier
   because this functionality became available in php 5.3.
 * In an environment with multiple php version available, sometimes the php version
   configuration does not actually get applied in specific directories for technical
   reasons. You may need to ask your web host about this.
 *  Thread Starter [masaav](https://wordpress.org/support/users/masaav/)
 * (@masaav)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/cannot-activate-pluggin-2/#post-11081127)
 * Thanks a lot. My web host applied the version and it worked.

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

The topic ‘Cannot Activate pluggin’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [masaav](https://wordpress.org/support/users/masaav/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/cannot-activate-pluggin-2/#post-11081127)
 * Status: resolved