Object of class WP_Error could not be converted to string
-
Hi,
We are using this plugin to create our API. While using it in one of the custom post types, we received following error on the API /wp-json/wp/v2/<custom-post-type>:Object of class WP_Error could not be converted to string in /wp-content/plugins/rest-api/lib/endpoints/class-wp-rest-posts-controller.php on line 1226
We are unable to figure out what’s happening. The custom post type is working fine in our website. Just in API this error is eating our brains. Please, help us out in this. Thank you.
Regards,
Aashish Ghale
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Object of class WP_Error could not be converted to string’ is closed to new replies.