Title: Error upon Activating Plugin (Local Install)
Last modified: November 14, 2021

---

# Error upon Activating Plugin (Local Install)

 *  Resolved [lyle](https://wordpress.org/support/users/lyle/)
 * (@lyle)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-upon-activating-plugin-local-install/)
 * 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](https://wordpress.org/support/users/rockiger/)
 * (@rockiger)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-upon-activating-plugin-local-install/#post-15067193)
 * Hey [@lyle](https://wordpress.org/support/users/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](https://wordpress.org/support/users/lyle/)
 * (@lyle)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-upon-activating-plugin-local-install/#post-15067202)
 * 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](https://wordpress.org/support/users/lyle/)
 * (@lyle)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-upon-activating-plugin-local-install/#post-15067203)
 * 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](https://wordpress.org/support/users/rockiger/)
 * (@rockiger)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-upon-activating-plugin-local-install/#post-15067265)
 * 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](http://localwp.com/) as a dev environment for WordPress.
 * PS: If you like the support or the plugin, consider leaving a review.
 *  Thread Starter [lyle](https://wordpress.org/support/users/lyle/)
 * (@lyle)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-upon-activating-plugin-local-install/#post-15067327)
 * [@rockiger](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/reactpress/assets/icon-256x256.png?rev=2471443)
 * [ReactPress - Create React App for Wordpress](https://wordpress.org/plugins/reactpress/)
 * [Support Threads](https://wordpress.org/support/plugin/reactpress/)
 * [Active Topics](https://wordpress.org/support/plugin/reactpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reactpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reactpress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [lyle](https://wordpress.org/support/users/lyle/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/error-upon-activating-plugin-local-install/#post-15067327)
 * Status: resolved