Catchable fatal error: Object of class WP_Error could not be converted to string in /htdocs/public/wp-content/themes/littlesquare1.0.1/lib/functions/api_custom.php on line 302