Jump to content
Sign in to follow this  
braggonit

TwitterBar Fatal Error

Recommended Posts

braggonit

The following fatal error is displaying inside of the Twitter Bar when active. Was previously working fine with no issues. I've made no changes to the site in several weeks so I'm confused as to the abrupt showing of this fatal error causing the site to not load properly. The site is screamtour.com Fatal error: Cannot use string offset as an array in /home/scream/public_html/main/wp-content/themes/platformpro/sections/section.twitterbar.php on line 80 Any help would be much appreciated!

Share this post


Link to post
Share on other sites
Rob
Where is the error taking place as I don't see any errors on your site? Very nice site, btw.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
braggonit
I have the twitter bar currently disabled so as to not show the error on the live site, but it occurs right above the morefoot area and below is my line 80 that the error is referring to echo $tweets[0]['text']; The fatal error message is displayed where my latest twitter message would typically be.

Share this post


Link to post
Share on other sites
Danny
I have just opened up a copy of my Platform Pro and a fresh download from my account page and when I view both copies of line 80 of section.twitterbar.php my line 80 looks like this: [code] echo $tweets[0]['text']; [/code] So have you made any changes to the file?

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
braggonit
My apologies, i didnt type the full line. my line 80 is exactly as you have it above. When i typed the comment the first time, it deleted the last part after i posted it. I have made no changes to this file. One second it was working just fine, and the next I'm getting a fatal error.

Share this post


Link to post
Share on other sites
Simon
Whats the twittername?

Share this post


Link to post
Share on other sites
Simon
works fine for me with 1.5.3

Share this post


Link to post
Share on other sites
simplotgames
Not having the same luck with 1.5.3. Getting the error [quote]Fatal error: Cannot use string offset as an array in themes/platformpronew/sections/section.twitterbar.php on line 80[/quote]

Share this post


Link to post
Share on other sites
simplotgames
I deactivated all the plugins and that didn't help.

Share this post


Link to post
Share on other sites
catrina
This is a PHP-related error, which goes beyond my own scope of knowledge. I looked up the error but I couldn't find any related to the TwitterBar in particular. You may want to look into this WordPress Support topic, though: http://wordpress.org/support/topic/fatal-error-cannot-use-string-offset-as-an-array-in

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
Simon
Your files should not be in folder platformpronew should always be in platformpro

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×