Uncaught Error: Class ‘WPSEO_Configuration_Options_Adapter’ not found
-
I’m working on a theme which uses REST requests and I’ve hit a snag that appears to be related to this plugin. Every time I try to make a REST request, I’m getting a 500 error with the following text:
Fatal error: Uncaught Error: Class 'WPSEO_Configuration_Options_Adapter' not found in /var/www/[redacted]/public_html/wp-content/plugins/wordpress-seo/admin/config-ui/class-configuration-service.php:42 Stack trace: #0 /var/www/[redacted]/public_html/wp-content/plugins/wordpress-seo/admin/config-ui/class-configuration-service.php(33): WPSEO_Configuration_Service->set_default_providers() #1 /var/www/[redacted]/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php(307): WPSEO_Configuration_Service->initialize() #2 /var/www/[redacted]/public_html/wp-includes/class-wp-hook.php(286): wpseo_init_rest_api(Object(WP_REST_Server)) #3 /var/www/[redacted]/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /var/www/[redacted]/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /var/www/[redacted]/public_html/wp-includes/rest-api.php(432): do_action('rest_api_init', Object(WP_RES in <b>/var/www/[redacted]/public_html/wp-content/plugins/wordpress-seo/admin/config-ui/class-configuration-service.php</b> on line <b>42</b><br />I’ve tried different themes and disabling all other plugins; it’s definitely something with Yoast SEO.
REST requests work fine on the production server, but on my local server, this error keeps occurring. The live site is a standard WordPress install, while the local one is a multisite install (I’ll ultimately be replacing the live site with the local multisite version). I suspect that this is occurring due to it being a multisite.
The topic ‘Uncaught Error: Class ‘WPSEO_Configuration_Options_Adapter’ not found’ is closed to new replies.