<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Error: Google\Web_Stories\REST_API\Stories_Lock_C

Replies: 2

This error has occurred all time when edit or access the Google Web Stories dashboard.

PHP Fatal error: Uncaught TypeError: Google\Web_Stories\REST_API\Stories_Lock_Controller::get_lock(): Argument #1 ($post_id) must be of type int, string given, called in /srv/htdocs/wp-content/plugins/web-stories/includes/REST_API/Stories_Lock_Controller.php on line 249 and defined in /srv/htdocs/wp-content/plugins/web-stories/includes/REST_API/Stories_Lock_Controller.php:458 Stack trace: #0 /srv/htdocs/wp-content/plugins/web-stories/includes/REST_API/Stories_Lock_Controller.php(249): Google\Web_Stories\REST_API\Stories_Lock_Controller->get_lock(‘56429’) #1 /wordpress/core/6.6.2/wp-includes/rest-api.php(835): Google\Web_Stories\REST_API\Stories_Lock_Controller->delete_item_permissions_check(Object(WP_REST_Request)) #2 /wordpress/plugins/gutenberg/19.2.0/lib/compat/wordpress-6.7/class-gutenberg-rest-server.php(103): rest_send_allow_header(Object(WP_REST_Response), Object(Gutenberg_REST_Server), Object(WP_REST_Request)) #3 /wordpress/plugins/gutenberg/19.2.0/lib/compat/wordpress-6.7/class-gutenberg-rest-server.php(131): Gutenberg_REST_Server::get_response_links(Object(WP_REST_Response)) #4 /wordpress/plugins/gutenberg/19.2.0/lib/compat/wordpress-6.7/class-gutenberg-rest-server.php(28): Gutenberg_REST_Server::get_compact_response_links(Object(WP_REST_Response)) #5 /wordpress/core/6.6.2/wp-includes/rest-api/class-wp-rest-server.php(763): Gutenberg_REST_Server->response_to_data(Object(WP_REST_Response), false) #6 /wordpress/plugins/gutenberg/19.2.0/lib/compat/wordpress-6.7/class-gutenberg-rest-server.php(43): WP_REST_Server->embed_links(Array, Array) #7 /srv/htdocs/wp-content/plugins/web-stories/includes/namespace.php(225): Gutenberg_REST_Server->response_to_data(Object(WP_REST_Response), Array) #8 [internal function]: Google\Web_Stories\rest_preload_api_request(Array, ‘/web-stories/v1…’) #9 /srv/htdocs/wp-content/plugins/web-stories/includes/templates/admin/edit-story.php(158): array_reduce(Array, ‘\\Google\\Web_Sto…’, Array) #10 /srv/htdocs/wp-content/plugins/web-stories/includes/Admin/Editor.php(251): require_once(‘/srv/htdocs/wp-…’) #11 /wordpress/core/6.6.2/wp-includes/class-wp-hook.php(324): Google\Web_Stories\Admin\Editor->replace_editor(false, Object(WP_Post)) #12 /wordpress/core/6.6.2/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array) #13 /wordpress/core/6.6.2/wp-admin/post.php(182): apply_filters(‘replace_editor’, false, Object(WP_Post)) #14 {main} thrown in /srv/htdocs/wp-content/plugins/web-stories/includes/REST_API/Stories_Lock_Controller.php on line 458

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer