Support » Fixing WordPress » error in function.php when the post is published but not when it is a draft

  • Resolved marrie125

    (@marrie125)


    Hello to all. You all have been very helpful as of late. Iv’e got an odd one, maybe.

    I noticed that one of my posts did not publish. At the bottom of the page I got the following error

    › Catchable fatal error : Object of class WP_Error could not be converted to string in /home/marrie125/tffppodcast.com/wp-content/themes/responsive/includes/functions.php on line 463

    does that mean the file where the podcast is supposed to be is missing? The post does come out fine as a draft though. here is a link to the post.

    http://www.tffppodcast.com/a-second-adendum-to-fleksy/

    All of my other posts at http://tffppodcast.com/listen work flawlessly. it’s just this one that broke.

    I’m thinking it has something to do with the location of the podcast mp3 file but I can’t fathom what it could be since it imported fine.

    Thanks all.

Viewing 1 replies (of 1 total)
  • Fixed. What happened was the file never imported correctly. This has happened twice now so what I did was I removed all of the corrupt files and reimported them and the file error is gone. We’ll see if the next published podcast has issues because if it does we’ve got a bigger issue but for now it appears to be fixed.

Viewing 1 replies (of 1 total)
  • The topic ‘error in function.php when the post is published but not when it is a draft’ is closed to new replies.