• I am getting a fatal error on version 1.5.5:

    Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in wp-content/plugins/age-gate/admin/class-age-gate-update.php on line 103.

    This is preventing me from activating the plugin.

    I am on the latest version of wordpress: 4.9.4

Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @kstuhl,

    What PHP version do you have, the code on that line is just an array, but in square bracket format so if you have PHP < 5.4 it won’t work.

    If you are on a shared host you can probably change the php version in your control panel.

    Thanks
    Phil

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error version 1.5.5’ is closed to new replies.