Title: Error during plugin activation ( Parse error: syntax error )
Last modified: February 6, 2018

---

# Error during plugin activation ( Parse error: syntax error )

 *  Resolved [studio-jt](https://wordpress.org/support/users/studiojt/)
 * (@studiojt)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-during-plugin-activation-parse-error-syntax-error/)
 * Hi,
 * If we activate the plugin we’ve got an error:
    `Parse error: syntax error, unexpected'['
   in ......./plugins/steempress/admin/class-steempress_sp-admin.php on line 184`
 * we fixed this by changing :
    `$tags = [];` to `$tags = array();` in class-steempress_sp-
   admin.php line 184
 * Thank you for your plugin

Viewing 1 replies (of 1 total)

 *  Plugin Author [howofr](https://wordpress.org/support/users/howofr/)
 * (@howofr)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-during-plugin-activation-parse-error-syntax-error/#post-9942046)
 * Thanks a lot for your feedback ! Which version of php are you running ? In any
   case we published your fix so no one else will have this error.
 * Thanks again !

Viewing 1 replies (of 1 total)

The topic ‘Error during plugin activation ( Parse error: syntax error )’ is closed
to new replies.

 * ![](https://ps.w.org/steempress/assets/icon.svg?rev=1891247)
 * [SteemPress](https://wordpress.org/plugins/steempress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/steempress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/steempress/)
 * [Active Topics](https://wordpress.org/support/plugin/steempress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/steempress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/steempress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [howofr](https://wordpress.org/support/users/howofr/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/error-during-plugin-activation-parse-error-syntax-error/#post-9942046)
 * Status: resolved