Title: Error Activating the Plugin &#8211; syntax error, unexpected &#039;[&#039;
Last modified: September 1, 2016

---

# Error Activating the Plugin – syntax error, unexpected '['

 *  Resolved [jjmz](https://wordpress.org/support/users/jjmz/)
 * (@jjmz)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-activating-the-plugin-syntax-error-unexpected/)
 * When installing the plugin I get this error:
    _**Parse error: syntax error, unexpected‘[‘
   in /home/txgrupoa/public\_html/wp-content/plugins/loadgo-for-wp/loadgo-options.
   php on line 385 ** Please Urgent Help!!
 * My web collapses.
 * [https://wordpress.org/plugins/loadgo-for-wp/](https://wordpress.org/plugins/loadgo-for-wp/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Fran Verona](https://wordpress.org/support/users/franverona/)
 * (@franverona)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-activating-the-plugin-syntax-error-unexpected/#post-7596232)
 * Hello jjmz,
 * That was probably my bad because I assumed a PHP version >= 5.4
 * The problem is due to how arrays are defined in PHP < 5.4. You can read more 
   information about that following these links:
    - [PHP Parse/Syntax Errors; and How to solve them?](http://stackoverflow.com/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them/29505827#29505827)
    - [PHP : syntax error, unexpected ‘[‘](http://stackoverflow.com/questions/19206928/php-syntax-error-unexpected)
 * I will fix this tomorrow, but in the meantime if you want to try it, just modify
   syntax for any array created in runtime like this:
 * `['item1', 'item2']`
 * For this:
 * `array('item1','item2')`
 * In file loadgo-options.php, lines 385, 389, 394 and 407 specifically.
 * Sorry about the collapse, was totally my bad.
 * –Fran
 *  Plugin Author [Fran Verona](https://wordpress.org/support/users/franverona/)
 * (@franverona)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-activating-the-plugin-syntax-error-unexpected/#post-7596410)
 * I’ve already uploaded a fix for this issue and all should be working well in 
   version 1.2
 * If you have any more troubles, let me know.
 * -Fran

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error Activating the Plugin – syntax error, unexpected '['’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/loadgo-for-wp_d4d2d3.svg)
 * [LoadGo for WP](https://wordpress.org/plugins/loadgo-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/loadgo-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/loadgo-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/loadgo-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/loadgo-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/loadgo-for-wp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Fran Verona](https://wordpress.org/support/users/franverona/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/error-activating-the-plugin-syntax-error-unexpected/#post-7596410)
 * Status: resolved