Fatal error: Uncaught Error: Call to undefined function wp_get_environment_type() in /var/www/potter.dk/public_html/wp-content/plugins/wordpress-seo/src/helpers/environment-helper.php:31 Stack trace: #0 /var/www/potter.dk/public_html/wp-content/plugins/wordpress-seo/src/helpers/environment-helper.php(22): Yoast\WP\SEO\Helpers\Environment_Helper->get_wp_environment() #1 /var/www/potter.dk/public_html/wp-content/plugins/wordpress-seo/src/helpers/indexable-helper.php(210): Yoast\WP\SEO\Helpers\Environment_Helper->is_production_mode() #2 /var/www/potter.dk/public_html/wp-content/plugins/wordpress-seo/src/helpers/indexable-helper.php(189): Yoast\WP\SEO\Helpers\Indexable_Helper->should_index_indexables() #3 /var/www/potter.dk/public_html/wp-content/plugins/wordpress-seo/src/helpers/indexable-helper.php(299): Yoast\WP\SEO\Helpers\Indexable_Helper->should_index_indexable(Object(Yoast\WP\SEO\Models\Indexable)) #4 /var/www/potter.dk/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-builder.php(358): Yoast\WP\SEO\H in /var/www/potter.dk/public_html/wp-content/plugins/wordpress-seo/src/helpers/environment-helper.php on line 31