4 replies
I need to get someone to fix it up for me,if you can help me and I will pay you It would be great.please check out the site
Twitter-PitStop.com


Catchable fatal error
: Object of class WP_Error could not be converted to string in /home/dicko0/public_html/twitter-pitstop.com/wp-content/themes/mystique/index.php on line 17

#error #fatal
  • Profile picture of the author Karen Blundell
    there are a couple of tests to perform to determine if your theme is causing the error or an incompatible plugin. Usually it's a plugin so go into your WordPress admin and deactivate all plugins to see if the error goes away once you reload. If the page is fine then it is one of your plugins so now trying activating them one by one until you can determine which one is causing the problem.

    If the page is still not fine after disabling all plugins, then there's a problem with your theme, so go into your admin and change to the default theme to see if the problem goes away.

    If there is a problem with your theme and it is a free theme, do not expect the developer to fix it for you. He or she is not obligated to because it is free so use at your own risk. Some developers are smart and will help you out and those that do I hope you really appreciate them


    Please let me know if your problem gets fixed.
    Signature
    ---------------
    {{ DiscussionBoard.errors[1899096].message }}
    • Profile picture of the author Bruce Hearder
      My first thoughts on this, would be that some code is trying to access and "object" usually stored as an option or some database field, and becuase nothing is getting returned, the error is getting generated.

      If its a plugin that you are using, try de-activating it and then re-activating it. This might (if you are lucky) clean up its lost and orphaned options and things might start to work properly again.

      Otherwise, check the footer.php file in your /mystique folder and see if it contains any strange PHP. If so, try removing it and it might fix your problem.

      Hope this helps

      Bruce
      {{ DiscussionBoard.errors[1900391].message }}
      • Profile picture of the author saschakimmel
        "Catchable" means that you could just try to add the following code around line 17 of the file /home/dicko0/public_html/twitter-pitstop.com/wp-content/themes/mystique/index.php:
        try {
        ... (original line 17 here) ...
        } catch (Exception $e) {
        echo $e->getMessage();
        }

        The method called expected a string, but got an object of the type WP_Error (well, an error object).
        Maybe just adding the code given above helps suppress the error message. If that solves the problem I don't know.

        Did you install a newer version of WordPress? Maybe the theme "mystique" doesn't support that version. You might try to change the theme to the default WordPress theme in the admin area.
        Signature

        ** Get my ViralListMachine software now for free and build your own list virally by giving away free stuff @ http://www.virallistmachinegiveaway.com **

        {{ DiscussionBoard.errors[1901270].message }}
        • Profile picture of the author palpatine
          I had the same thing happen to me. You probably downloaded a theme that wasn't compatible with the version of wordpress that you have installed, or basically the two different versions didn't match (theme and wordpress version 2.9.whatever.)

          All I had to do was upgrade to the most current version of the theme through my FTP because, as I'm sure you're experiencing, you can't even log in to your site right now.

          Once I swapped out the old folder for the new current version everything worked fine.

          Hope this helps

          EDIT: I just looked at the site (probably should have done that to begin with) and this looks like something different than I was experiencing. Like I said, I couldn't even log in to my site at the time, the Fatal Error was the only thing that displayed. I don't know if updating anything to the current version will help or not, but you never know.

          Btw, I'm a total novice, I just thought when I saw your Fatal Error post that I could help.

          Good Luck
          {{ DiscussionBoard.errors[1903029].message }}

Trending Topics