• I’ve been working on finding a theme for my wife’s website at https://www.eleanorharbison.com. The previous theme that we tried had me set up some menus under the Appearance heading in the sidebar of the admin page, which is something I hadn’t done before. Tonight I uploaded and activated a new theme, and when I tried to click on the Menus link under Appearance, I got this error:

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home1/ajharbis/public_html/eleanorharbison/wp-includes/formatting.php on line 445

    I tried switching to several themes, including the default, but it gives me the same error every time I try to get to the Menus page. I also tried uploading a clean formatting.php file from my website, where the Menus link works, to the eleanorharbison/wp-includes directory, but I got the same error.

    I’ve also tried making other changes, such as changing the front page display from a static page to most recent posts under Reading Settings. It does make the change, but also returns this error:

    Warning: Cannot modify header information – headers already sent by (output started at /home1/ajharbis/public_html/eleanorharbison/wp-content/themes/Truckster/functions.php:561) in /home1/ajharbis/public_html/eleanorharbison/wp-includes/pluggable.php on line 897

    This also comes up regardless of which theme is active. At this point, I’m considering copying the existing posts into Word documents, deleting everything from the site’s file manager on my host, and reinstalling WordPress. Does anyone know what these errors mean, and have an idea of how to fix them short of wiping everything and starting from scratch? Or does anyone know if it was the theme or something I did that caused the errors? I’d greatly appreciate any help or suggestions. Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • FTP into your site (or use whatever file management application your host provides) and delete the /wp-content/themes/Truckster folder.

    Thread Starter ajharbison

    (@ajharbison)

    Thanks! Do you know if the trouble is being caused by the theme itself, or would I be able to reupload the theme and use it again?

    It’s being caused by your version of the theme.

    Thread Starter ajharbison

    (@ajharbison)

    Was it an edit to the theme that I made that caused it to create the errors?

    Did you edit the theme before the error appeared?

    Thread Starter ajharbison

    (@ajharbison)

    I edited the text in the footer, but I don’t think I made any other changes before the menus error appeared. As I mentioned, the other error (about not being able to modify the header information) appeared when I tried to change some settings; I don’t think it was connected to any edits that I made to the theme.

    Then perhaps the theme was broken right from the start.

    Thread Starter ajharbison

    (@ajharbison)

    So I deleted the Truckster theme folder from wp-content/themes, but the error is still appearing when I try to click on Menus. I thought it had to do with something other than the theme, since the error mentioned a file in the wp-includes folder rather than the theme folder. Any other thoughts? Is the whole site messed up somehow?

    Looks like you had 2 separate issues. Try re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

    Thread Starter ajharbison

    (@ajharbison)

    Thanks, I will try that. Will that keep my plugins intact, or will I have to reinstall those as well?

    Your plugins won’t be affected.

    Thread Starter ajharbison

    (@ajharbison)

    I re-uploaded the wp-admin and wp-includes folders (actually all the WordPress files, except I deleted the fresh wp-content folder and kept the old one) to the directory on my website, but I’m still getting the same error with the menus. I’ve also tried re-installing WordPress automatically from the Updates link on the Dashboard, but that doesn’t help either. Any further thoughts? I’m at my wits’ end….

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Menus not editable’ is closed to new replies.