Fatal error: Cannot use object of type WP_Error as array
-
Fatal error: Cannot use object of type WP_Error as array in server_directory/wp-content/plugins/wp-linkedin-auto-publish/wp-linkedin-auto-publish.php on line 1194
It started happened since last week. ( i have use this plugin more than 2 years without any error, i didn’t update the site and plugin in this year.)
I have tried to re-authorized many times, tried to deactive and re-active the plugin, also tried to update to the latest version, but cannot fix the problem.
The case are exactly same to this topic, I have tried to handle the error by adding this code,
if ( is_wp_error( $json_feed ) ) { return 'ERROR'; }
but it cannot solve and keep to say there has a ERROR.
What can i do now? Many thanks!
- The topic ‘Fatal error: Cannot use object of type WP_Error as array’ is closed to new replies.