Title: Plugin cannot be activated
Last modified: August 22, 2016

---

# Plugin cannot be activated

 *  [dodecaplex](https://wordpress.org/support/users/dodecaplex/)
 * (@dodecaplex)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-3/)
 * When installing the plugin on a WP 4.0 instance, activation fails with error:
 * “Plugin could not be activated because it triggered a fatal error.
    Parse error:
   syntax error, unexpected ‘[‘ in /…/wp-content/plugins/hal/wp-hal.php on line 
   102″.
 * Correction most wanted…
 * [https://wordpress.org/plugins/hal/](https://wordpress.org/plugins/hal/)

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

 *  [sjoerdoptland](https://wordpress.org/support/users/sjoerdoptland/)
 * (@sjoerdoptland)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-3/#post-5415748)
 * Probably you already solved it, but just in case…
 * If I’m not mistaken, the array syntax used at that line is only supported from
   PHP5.4 upward. At any rate, I upgraded to PHP5.5 and the error disappeared.
 *  [phaessig](https://wordpress.org/support/users/phaessig/)
 * (@phaessig)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-3/#post-5415775)
 * I also got bitten by this activation error. Upgrading the PHP version to 5.5 
   fixed the problem (cf. host documention, OVH in my case [http://www.ovh.com/fr/g1207.configurer-php-web](http://www.ovh.com/fr/g1207.configurer-php-web)).
 * As a pointer, I found the [Display PHP Version](https://wordpress.org/plugins/display-php-version/)
   plugin pretty useful to check that it was indeed a bug related to my old PHP 
   version.

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

The topic ‘Plugin cannot be activated’ is closed to new replies.

 * ![](https://ps.w.org/hal/assets/icon-128x128.jpg?rev=2695024)
 * [HAL](https://wordpress.org/plugins/hal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hal/)
 * [Active Topics](https://wordpress.org/support/plugin/hal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hal/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [phaessig](https://wordpress.org/support/users/phaessig/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-3/#post-5415775)
 * Status: not resolved