ected function is_development() { try { return WPSEO_Utils::is_development_mode(); } catch ( Exception $exception ) { // E.g. when WordPress and/or WordPress SEO are not loaded. return \defined( 'YOAST_ENVIRONMENT' ) && \YOAST_ENVIRONMENT === 'development'; } } }
Fatal error: Uncaught Error: Class "Yoast\WP\Lib\Abstract_Main" not found in /htdocs/wp-content/plugins/wordpress-seo/src/main.php:25 Stack trace: #0 /htdocs/wp-content/plugins/code-snippets/vendor/composer/ClassLoader.php(576): include() #1 /htdocs/wp-content/plugins/code-snippets/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/htdocs/wp-cont...') #2 /htdocs/wp-content/plugins/wordpress-seo/src/functions.php(33): Composer\Autoload\ClassLoader->loadClass('Yoast\\WP\\SEO\\Ma...') #3 /htdocs/wp-content/plugins/wordpress-seo/wp-seo-main.php(449): YoastSEO() #4 /htdocs/wp-content/plugins/wordpress-seo/wp-seo.php(50): require_once('/htdocs/wp-cont...') #5 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...') #6 /htdocs/wp-config.php(88): require_once('/htdocs/wp-sett...') #7 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #8 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #9 /htdocs/index.php(17): require('/htdocs/wp-blog...') #10 {main} thrown in /htdocs/wp-content/plugins/wordpress-seo/src/main.php on line 25