Title: Fatal error: Cannot use string offset as an array in &#8230;
Last modified: August 21, 2016

---

# Fatal error: Cannot use string offset as an array in …

 *  [mrcariboo](https://wordpress.org/support/users/mrcariboo/)
 * (@mrcariboo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/)
 * Hi,
 * Since a few days, I’m getting this message:
 * Fatal error: Cannot use string offset as an array in /home/xxx/public_html/web/
   wp-content/plugins/facebook-albums/fbalbum.php on line 177
 * But only for one of my albums. Others are working fine… I verified album links
   but all is OK. When I’m saving my page again, it works the first time, then I’m
   getting this error again.
 * If anyone knows what’s going on…
 * Thank you!!
 * [http://wordpress.org/plugins/facebook-albums/](http://wordpress.org/plugins/facebook-albums/)

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

 *  Thread Starter [mrcariboo](https://wordpress.org/support/users/mrcariboo/)
 * (@mrcariboo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333758)
 * Ok, I removed this latest 2.05 version and reinstalled Version 1.0.7.3.
    It works
   but some thumbnails are not showing. But still better than the error message.
 * If anyone has a clue…
 * Thanks!
 *  [OneUniqueQueen](https://wordpress.org/support/users/oneuniquequeen/)
 * (@oneuniquequeen)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333847)
 * I’m getting the same error. This just happened when I updated my wordpress to
   version 3.8 and updated the plugin to version 2.0.5.2.
 * If anyone has any idea what this is and how to fix it please let me know.
 * Thanks.
 *  Thread Starter [mrcariboo](https://wordpress.org/support/users/mrcariboo/)
 * (@mrcariboo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333852)
 * Latest version that is approximatively working is 2.0.2
 * New uptdate 2.0.5.2 posted 4 days ago is even worse with error message…
 *  Plugin Author [mglaman](https://wordpress.org/support/users/mglaman/)
 * (@mglaman)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333855)
 * Know what would be helpful? PHP versions. I develop in 5.4 and WP 3.6, because
   I stopped WordPress dev and I maintain this plugin just to be nice.
 * I’m not going to optimize this plugin for 3.8. If you’d like it, then please 
   consider making a donation
 *  Thread Starter [mrcariboo](https://wordpress.org/support/users/mrcariboo/)
 * (@mrcariboo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333857)
 * Ok, I understand.
    My PHP version is PHP 5.2. That’s maybe the answer as you’re
   developing for PHP 5.4. Thanks anyway.
 *  Plugin Author [mglaman](https://wordpress.org/support/users/mglaman/)
 * (@mglaman)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333864)
 * This is fixed in 2.0.5.3.
 *  Thread Starter [mrcariboo](https://wordpress.org/support/users/mrcariboo/)
 * (@mrcariboo)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333865)
 * Well, it worked fine the first time I opened my page. Then, I’m getting this 
   message:
 * Warning: array_reverse() [function.array-reverse]: The argument should be an 
   array in /home/www/3f2646feb862412ca49f0b656ba88d88/web/web/wp-content/plugins/
   facebook-albums/fbalbum.php on line 177
 * Warning: Invalid argument supplied for foreach() in /home/www/3f2646feb862412ca49f0b656ba88d88/
   web/web/wp-content/plugins/facebook-albums/fbalbum.php on line 179
 * In case it can help, I’m using WordPress 3.5.1 and PHP 5.2.
 *  Plugin Author [mglaman](https://wordpress.org/support/users/mglaman/)
 * (@mglaman)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333866)
 * mrcariboo its probably because of stale caches. Can you please visit the settings
   page, click clear caches (next to the setting) and see if that works?
 *  Thread Starter [mrcariboo](https://wordpress.org/support/users/mrcariboo/)
 * (@mrcariboo)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333880)
 * Dear Mglaman,
    Sorry for the late reply. My computer has been out of order for
   a while.
 * When I clear the cache, it works, but just once. Then again, the error message…
 *  Plugin Author [mglaman](https://wordpress.org/support/users/mglaman/)
 * (@mglaman)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333881)
 * mrcariboo, that’s odd. Can you email me: [nmd.matt@gmail.com](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/nmd.matt@gmail.com?output_format=md)
   so I can help further?

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

The topic ‘Fatal error: Cannot use string offset as an array in …’ is closed to 
new replies.

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

 * 10 replies
 * 3 participants
 * Last reply from: [mglaman](https://wordpress.org/support/users/mglaman/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in-2/#post-4333881)
 * Status: not resolved