Haneef Puttur

CATCHABLE FATAL ERROR: OBJECT OF CLASS WP_ERROR COULD NOT BE CONVERTED TO STRING WP-CONTENT/THEMES/TELEGRAPH/FUNCTIONS/WPZOOM-FUNCTIONS.PHP ON LINE 480

Problem:

CATCHABLE FATAL ERROR: OBJECT OF CLASS WP_ERROR COULD NOT BE CONVERTED TO STRING IN /WP-CONTENT/THEMES/TELEGRAPH/FUNCTIONS/WPZOOM-FUNCTIONS.PHP ON LINE 480

Solution:
Edit 

TELEGRAPH/FUNCTIONS/WPZOOM-FUNCTIONS.PHP ON LINE 480

echo get_category_parents($cat, TRUE, ‘ ‘ . $delimiter . ‘ ‘);

To

echo is_wp_error( $cat_parents = get_category_parents($cat, TRUE, ” . $delimiter . ”) ) ? ” : $cat_parents;

fixed all my issues with the “Catchable fatal error: Object of class WP_Error could not be converted to string”

.

Exit mobile version