Title: Fatal error adding new global block
Last modified: August 31, 2016

---

# Fatal error adding new global block

 *  Resolved [Tom](https://wordpress.org/support/users/tom-hickey/)
 * (@tom-hickey)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-adding-new-global-block/)
 * No other plugins active; same with Sample theme and Eleven40:
 * Add New Global Block at [http://localhost/eleven40.gen/wp-admin/post-new.php?post_type=blox](http://localhost/eleven40.gen/wp-admin/post-new.php?post_type=blox)
 * Fatal error: Cannot use string offset as an array in /Applications/AMPPS/www/
   eleven40.gen/wp-content/plugins/blox-lite/includes/admin/content.php on line 
   211
 * WordPress 4.4.2
    Genesis 2.2.6
 * [https://wordpress.org/plugins/blox-lite/](https://wordpress.org/plugins/blox-lite/)

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

 *  Plugin Author [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * (@ndiego)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-adding-new-global-block/#post-7095321)
 * Hmm… let me take a look!
 *  Plugin Author [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * (@ndiego)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-adding-new-global-block/#post-7095331)
 * Hi Tom,
 * Can you tell me what version of PHP you are running. I think that might be the
   issue. I just did two test fresh installs and did not see this error. In my two
   environments I have PHP 5.4.X and PHP 5.6.X running. I appreciate your help!
 * Nick
 *  Thread Starter [Tom](https://wordpress.org/support/users/tom-hickey/)
 * (@tom-hickey)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-adding-new-global-block/#post-7095334)
 * PHP: v5.3.29
    MYSQL: v5.6.22
 *  Plugin Author [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * (@ndiego)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-adding-new-global-block/#post-7095343)
 * Thanks for the feedback Tom. PHP 5.3 unfortunately does not support array dereferencing,
   which is what is going on in this line of code. 5.3 was unsupported as of August
   2014: [http://php.net/eol.php](http://php.net/eol.php). Dereferencing was introduced
   in 5.4.
 * I will work this evening to see if I can come up with a work around, but I use
   this technique so much, it might be inoperable. If so, I will add a disclaimer
   stating PHP 5.4+ is required. I apologize for the inconvenience!!
 *  Plugin Author [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * (@ndiego)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-adding-new-global-block/#post-7095355)
 * Hi Tom, I was able to fix this issue on PHP 5.3.29. Just pushed v1.0.1 with the
   fix.
 * Let me know if you spot anything else. I appreciate your help!
 * Best,
    Nick
 *  Thread Starter [Tom](https://wordpress.org/support/users/tom-hickey/)
 * (@tom-hickey)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-adding-new-global-block/#post-7095362)
 * Confirmed fixed. Looks like I have some updating to do on my localhost 🙂

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

The topic ‘Fatal error adding new global block’ is closed to new replies.

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

 * 6 replies
 * 2 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/tom-hickey/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-adding-new-global-block/#post-7095362)
 * Status: resolved