Title: Plugin is not activated.
Last modified: August 22, 2016

---

# Plugin is not activated.

 *  [Ruhul Amin](https://wordpress.org/support/users/ruhul105/)
 * (@ruhul105)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-not-activated/)
 * I tried to activate this plugin but not working with 4.1.1. It has an fatal error
   Parse error: syntax error, unexpected ‘[‘, expecting ‘,’ or ‘;’ in public_html/
   wp-content/plugins/hatchbuck/hatchbuck-functions.php on line 152
 * echo get_post_custom_values(‘metabox’)[0];
 * This code creating the problem. I think, it’s something related to php and wordpress
   version.
 * [https://wordpress.org/plugins/hatchbuck/](https://wordpress.org/plugins/hatchbuck/)

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

 *  Plugin Contributor [Viktor Nagornyy](https://wordpress.org/support/users/viktorix/)
 * (@viktorix)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-not-activated/#post-5941747)
 * Thanks for letting us know Ruhul. We’re looking into it and will see if it’s 
   a bug on our end. Will get back to you once I know more.
 *  Plugin Contributor [Viktor Nagornyy](https://wordpress.org/support/users/viktorix/)
 * (@viktorix)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-not-activated/#post-5941815)
 * Ruhul, can you update to version 1.2 and see if that fixes your issue please?
   Do let us know if the issue persists. We didn’t have that error, but think we
   fixed the issue in this latest version.
 * Thanks.
 *  Thread Starter [Ruhul Amin](https://wordpress.org/support/users/ruhul105/)
 * (@ruhul105)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-not-activated/#post-5941829)
 * Thank you for your quick reply. Unfortunately, problem is not solved. as I told
   it’s wrong with this code
 * function hatchbuckCode() {
    echo get_post_custom_values(‘metabox’)[0]; }
 * if I comment out this echo get_post_custom_values(‘metabox’)[0]; line then plugin
   can be activated. So I think, it’s something related to php version.
 * My site is running on PHP version: 5.3.28
 *  Plugin Contributor [Viktor Nagornyy](https://wordpress.org/support/users/viktorix/)
 * (@viktorix)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-not-activated/#post-5942008)
 * Hey Ruhul, can you see if the latest update (1.2.1) fixed your issue please? 
   Thanks.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/hatchbuck_f9c1b1.svg)
 * [Hatchbuck](https://wordpress.org/plugins/hatchbuck/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hatchbuck/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hatchbuck/)
 * [Active Topics](https://wordpress.org/support/plugin/hatchbuck/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hatchbuck/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hatchbuck/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 4 replies
 * 2 participants
 * Last reply from: [Viktor Nagornyy](https://wordpress.org/support/users/viktorix/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-is-not-activated/#post-5942008)
 * Status: not resolved