Conflict with Co-Authors Plus plugin (Fatal error)
-
Hi there,
I’m getting below Fatal error when the plugin: ‘Co-Authors plus’ – https://en-gb.www.ads-software.com/plugins/co-authors-plus/ is activated.
Both plugins – Web Stories and Co-Authors Plus were working fine till this error came up. Upon disabling each plugin one by one, the issue narrowed down to Co-Authors Plus.
Error as shown below:
Fatal error: Uncaught Error: Return value of Google\Web_Stories\REST_API\Stories_Users_Controller::user_posts_count_public() must be of the type string, int returned in /wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php on line 262 Call stack: Google\W\R\Stories_Users_Controller::user_posts_count_public() wp-content/plugins/web-stories/includes/REST_API/Stories_Users_Controller.php:220 Google\W\R\Stories_Users_Controller::get_item_permissions_check() wp-includes/rest-api/class-wp-rest-server.php:1138 WP_REST_Server::respond_to_request() wp-includes/rest-api/class-wp-rest-server.php:1018 WP_REST_Server::dispatch() wp-includes/rest-api/class-wp-rest-server.php:728 WP_REST_Server::embed_links() wp-includes/rest-api/class-wp-rest-server.php:581 WP_REST_Server::response_to_data() wp-includes/rest-api/class-wp-rest-server.php:770 WP_REST_Server::envelope_response() wp-content/plugins/web-stories/includes/REST_API/Stories_Controller.php:417 Google\W\R\Stories_Controller::get_items() wp-includes/rest-api/class-wp-rest-server.php:1171 WP_REST_Server::respond_to_request() wp-includes/rest-api/class-wp-rest-server.php:1018 WP_REST_Server::dispatch() wp-includes/rest-api.php:535 rest_do_request() wp-content/plugins/web-stories/includes/namespace.php:220 Google\Web_Stories\rest_preload_api_request() array_reduce() wp-content/plugins/web-stories/includes/Admin/Dashboard.php:394 Google\W\A\Dashboard::load_stories_dashboard() wp-includes/class-wp-hook.php:308 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:332 WP_Hook::do_action() wp-includes/plugin.php:517 do_action() wp-admin/admin.php:237 require_once() wp-admin/edit.php:10
We tried re-creating the issue on a new site but we couldn’t reproduce this issue.
Can you help let us know how we can also run Co-Authors plugin.
p.s.: we disabled co-authors and instead also tried: ‘PublishPress Authors’ – https://www.ads-software.com/plugins/publishpress-authors/ but even that plugin threw the same above arrow. You help will be highly appreciated.
- The topic ‘Conflict with Co-Authors Plus plugin (Fatal error)’ is closed to new replies.