• Resolved lyle

    (@lyle)


    Great plugin for the need! Just having an issue on the activation, and i have yet to find anyone having a similar issue – Can anyone shed any light?
    Thanks in advance!

    Parse error: syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW), expecting ‘)’ in C:\xxx\xxx\Sites\www.xxx.dev.cc\wp-content\plugins\reactpress\admin\class-reactpress-admin.php on line 106

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author rockiger

    (@rockiger)

    Hey @lyle,

    it seems that your php installation doesn’t allow arrow functions. Do you have php 7.4 or older or deactivated arrow functions?

    Thread Starter lyle

    (@lyle)

    Thanks for the quick reply Rockiger. I am in fact pretty new to local installations, I just checked and its 7.31… is there a quick commannd i can run in VS to update this? I was getting this setup for a developper who was going to implement this, so I am basically just doing the initial stuff but got stuck. Your support here is awesome thanks so much

    Thread Starter lyle

    (@lyle)

    oh, as for your 2nd Q, no i did nothing to deactivate the arrow functions, im assuming they are part of the structure as is

    Plugin Author rockiger

    (@rockiger)

    Strange, you shouldn’t been allowed to activate the plugin as PHP 7.4+ is required.

    Unfortunately, I can’t help with the update of your PHP version. I recommend using Local as a dev environment for WordPress.

    PS: If you like the support or the plugin, consider leaving a review.

    Thread Starter lyle

    (@lyle)

    @rockiger that is the issue, when I goto activate, it throws that error – ill see if i can upgrade my local ver of PHP, thanks again and will def leave a review!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error upon Activating Plugin (Local Install)’ is closed to new replies.