Theme unit test error

To be clear all of those errors seem to be due to the WordPress Importer plugin itself. You can tell because all the PHP Notices mention: /home/user/public_html/wordpress/wp-content/plugins/wordpress-importer/wordpress-importer.php This is not your fault nor something you will be able to resolve without contributing to the plugin itself (see the final part of this answer if you … Read more

PHP is_embed error showing up

The error itself is not because debug mode, it seems that the hook you’re using is being called before the $wp_query is set. what you can do is put inside your function function your_error_function(){ global $wp_query; if(! isset( $wp_query )){ return } …rest of my code } or change the hook you’re using to another … Read more