Error when trying to access Appearance--->Menus - Wordpress Solution
[Solved] - Error when trying to access Appearance--->Menus - Wordpress Solution
Try following codes
I'm getting this error when trying to get to the "Appearance, Menu" dashboard: atchable fatal error: Object of class WP_Error could not be converted to string in /home/user/domain.com/wordpress/wp-includes/formatting.php on line 445 the error isn't occurring anywhere else. thoughts?

Solution - 1

Hi, 1. Try to deactivate all plugins and see if the problem disappeared. 2. If not, try to switch to default 2010 WP theme. 3. If not, check with your host that the register_globals is set to off.

Solution - 2

Hi Patrick, This usually happens when you have added a term of a custom taxonomy as a menu item and then removed the code that registers the custom taxonomy. Have you deleted any plugins lately? Perhaps you had a theme installed that registered a custom taxonomy and you recently switched themes. In any case, what you need to do here is to re-register the custom taxonomy so that you can remove it from the menu system. This error should go away once this is completed. I have reported this error to the testers list. Not sure if there will be a patch for it. http://lists.automattic.com/pipermail/wp-testers/2011-April/014167.html Best, -Mike

Solution - 3

Hi Patrick, This could happen if you remove a custom post type or custom taxonomy, without removing the menu item that is using it. This could also happen if a menu item of custom post or custom taxonomy is not removed and you switched to a new theme. Thanks. Denzel

Date: 2022-10-21 05:14:58
Category: Wordpress
More for You