• I could really use some help here! I just got the following error while trying to edit my theme. I was trying to edit the Twitter section of the “News Today” theme and all of a sudden this came up and not I can’t even log in to WordPress.

    Parse error: syntax error, unexpected ‘=’, expecting ‘)’ in /home8/infecti4/public_html/wp-content/themes/TodaysNews/functions.php on line 75

    I can get into Bluehost and I’ve heard about going through FTP to fix it, but I’m not sure what that means. I tried upgrading to 3.2.1 from I believe 3.0.1 as I heard that sometimes fixes it but then I got this error:

    Version Discrepancy
    We have detected that you are running a version outside of the scope of this upgrade. We’ve updated our records with your current version. Please refresh the page to see if you have additional upgrades available.

    So now I’m just stuck, I have no idea to get back into WordPress and no idea to fix this. Help, please!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you show us the code on lines 74 – 76 in this file?
    /home8/infecti4/public_html/wp-content/themes/TodaysNews/functions.php

    You should be able to use either ftp or a file manager to view the file’s php code.

    Thread Starter xthrowawaystyle

    (@xthrowawaystyle)

    I’m not sure if this is correct, but I think it is-this is the area I was in when I screwed it up. Right around where I put “www.twitter.com/infectiousmag> it was after I did that that it went crazy.

    “function sidebar_secondary_default_widgets ()
    {
    global $theme;
    $theme->display_widget(‘SocialConnect’, array(‘rss_title’ => ‘Subscribe’, ‘twitter_title’ =www.twitter.com/infectiousmag> ‘Follow Us!’, ‘facebook_title’ => ‘Be Our Fan’));
    $theme->display_widget(‘Banners125’, array(‘banners’ =>

    Thread Starter xthrowawaystyle

    (@xthrowawaystyle)

    I figured it out! But I want to thank you because I probably wouldn’t have if you hadn’t said that. I was able to go into Bluehost and into the File Manager and edit that section. I deleted what was there and pasted the original code from when I had downloaded it.

    Thank you!

    Hey xthrowawaystyle, glad you figured it out!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parse error: syntax error, unexpected '=', expecting ')' in /home8/infecti4/publ’ is closed to new replies.