Title: error activating plugin
Last modified: July 12, 2018

---

# error activating plugin

 *  Resolved [almcr](https://wordpress.org/support/users/almcr/)
 * (@almcr)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-activating-plugin-37/)
 * I get the following error trying to activate this plugin:
 * Parse error: syntax error, unexpected ‘[‘ in
    C:\xampp\htdocs\wordpress\wp-content\
   plugins\atomic-blocks\dist\init.php on line 102
 * This is the content of line 102:
 *  $args[‘template’] = [
 * I note that 300+ have installed this plugin, so not sure why I am encountering
   this error.
 * Al

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

 *  Plugin Author [John Parris](https://wordpress.org/support/users/mindctrl/)
 * (@mindctrl)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-activating-plugin-37/#post-10487486)
 * Hi Al,
 * We unintentionally used a more modern syntax there and it’s causing you problems.
   This is happening because you’re on an outdated version of PHP. You can ask your
   host to update the version of PHP (preferably 7.2) on your web server and that
   will fix it. We’ll also issue an update to make the code more compatible so it
   doesn’t cause this issue. Sorry for the inconvenience!
 *  Plugin Author [atomicblocks](https://wordpress.org/support/users/atomicblocks/)
 * (@atomicblocks)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-activating-plugin-37/#post-10491691)
 * Hi Al,
 * The latest version of the plugin fixes this issue. Thanks for the heads up!

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

The topic ‘error activating plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/atomic-blocks_ded9f7.svg)
 * [Atomic Blocks - Gutenberg Blocks Collection](https://wordpress.org/plugins/atomic-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/atomic-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/atomic-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/atomic-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/atomic-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/atomic-blocks/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [atomicblocks](https://wordpress.org/support/users/atomicblocks/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/error-activating-plugin-37/#post-10491691)
 * Status: resolved