Warning: include(): Failed opening '/home/canadato/public_html/wp-content/plugins/web-stories/includes/vendor/composer/../../REST_API/Products_Controller.php' for inclusion (include_path='.:') in /home/canadato/public_html/wp-content/plugins/web-stories/third-party/vendor/composer/ClassLoader.php on line 576
Warning: include(): Failed opening '/home/canadato/public_html/wp-content/plugins/web-stories/includes/vendor/composer/../../REST_API/Products_Controller.php' for inclusion (include_path='.:') in /home/canadato/public_html/wp-content/plugins/web-stories/third-party/vendor/composer/ClassLoader.php on line 576
Fatal error: Uncaught Error: Call to a member function using_index_permalinks() on null in /home/canadato/public_html/wp-includes/rest-api.php:508
Stack trace:
#0 /home/canadato/public_html/wp-includes/rest-api.php(571): get_rest_url(NULL, '/wp/v2/posts/{i...', 'rest')
#1 /home/canadato/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2778): rest_url('wp/v2/posts/{id...')
#2 /home/canadato/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2723): WP_REST_Posts_Controller->get_schema_links()
#3 /home/canadato/public_html/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(388): WP_REST_Posts_Controller->get_item_schema()
#4 /home/canadato/public_html/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(343): WP_REST_Controller->get_context_param()
#5 /home/canadato/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2905): WP_REST_Controller->get_collection_params()
#6 /home/canadato/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(83): WP_REST_Posts_Controller->get_collection_params()
#7 /home/canadato/public_html/wp-includes/rest-api.php(274): WP_REST_Posts_Controller->register_routes()
#8 /home/canadato/public_html/wp-includes/class-wp-hook.php(324): create_initial_rest_routes(Object(WP_REST_Server))
#9 /home/canadato/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#10 /home/canadato/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /home/canadato/public_html/wp-includes/rest-api.php(628): do_action('rest_api_init', Object(WP_REST_Server))
#12 /home/canadato/public_html/wp-includes/rest-api.php(154): rest_get_server()
#13 /home/canadato/public_html/wp-content/plugins/web-stories/includes/REST_API/Products_Controller.php(138): register_rest_route('web-stories/v1', '/products', Array)
#14 /home/canadato/public_html/wp-content/plugins/web-stories/includes/REST_API/REST_Controller.php(46): Google\Web_Stories\REST_API\Products_Controller->register_routes()
#15 /home/canadato/public_html/wp-content/plugins/web-stories/includes/Infrastructure/ServiceBasedPlugin.php(656): Google\Web_Stories\REST_API\REST_Controller->register()
#16 /home/canadato/public_html/wp-content/plugins/web-stories/includes/Infrastructure/ServiceBasedPlugin.php(625): Google\Web_Stories\Infrastructure\ServiceBasedPlugin->maybe_register_service('rest.products', 'Google\\Web_Stor...')
#17 /home/canadato/public_html/wp-content/plugins/web-stories/includes/Infrastructure/ServiceBasedPlugin.php(338): Google\Web_Stories\Infrastructure\ServiceBasedPlugin->schedule_potential_service_registration('rest.products', 'Google\\Web_Stor...')
#18 /home/canadato/public_html/wp-content/plugins/web-stories/includes/Infrastructure/ServiceBasedPlugin.php(279): Google\Web_Stories\Infrastructure\ServiceBasedPlugin->register_services()
#19 /home/canadato/public_html/wp-content/plugins/web-stories/includes/namespace.php(261): Google\Web_Stories\Infrastructure\ServiceBasedPlugin->register()
#20 /home/canadato/public_html/wp-includes/class-wp-hook.php(324): Google\Web_Stories\bootstrap_plugin('')
#21 /home/canadato/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#22 /home/canadato/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#23 /home/canadato/public_html/wp-settings.php(578): do_action('plugins_loaded')
#24 /home/canadato/public_html/wp-config.php(99): require_once('/home/canadato/...')
#25 /home/canadato/public_html/wp-load.php(50): require_once('/home/canadato/...')
#26 /home/canadato/public_html/wp-blog-header.php(13): require_once('/home/canadato/...')
#27 /home/canadato/public_html/index.php(17): require('/home/canadato/...')
#28 {main}
thrown in /home/canadato/public_html/wp-includes/rest-api.php on line 508