• Resolved masaav

    (@masaav)


    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    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

    (@masaav)

    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.