-
Notifications
You must be signed in to change notification settings - Fork 3
PHP Fatal Error with every theme #154
Comments
What PHP version are you running this on? |
PHP 7.1.10 |
Can confirm the same problem, log output is
Environment
|
Hi @balabanov @johnh10 Can you reproduce this with the latest version? |
Just confirmed in 1.1.1 version, same behavior |
Yes a fatal error with v1.1.1, though stack trace is slightly different.
|
This happens when you download the plugin from the .org as well? https://wordpress.org/plugins/theme-sniffer/ I'll try to see if this is due to a theme or something else, it's odd that this is happening. |
Just installed v1.0.0 from WP site.
Running WordPress 5.1.1
Options: no theme prefix, only checked WPThemeReview setting.
Receive this in error log for every theme checked:
[25-Mar-2019 21:04:04 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to WordPress\Sniff::process() must be an instance of PHP_CodeSniffer_File, instance of PHP_CodeSniffer\Files\DummyFile given, called in /home/domains/superblogme.com/htdocs/development/testsite/wp-content/plugins/theme-sniffer/vendor/squizlabs/php_codesniffer/src/Files/File.php on line 502 and defined in /home/domains/superblogme.com/htdocs/development/testsite/wp-content/plugins/theme-sniffer/vendor/wp-coding-standards/wpcs/WordPress/Sniff.php:838
Stack trace:
#0 /home/domains/superblogme.com/htdocs/development/testsite/wp-content/plugins/theme-sniffer/vendor/squizlabs/php_codesniffer/src/Files/File.php(502): WordPress\Sniff->process(Object(PHP_CodeSniffer\Files\DummyFile), 0)
#1 /home/domains/superblogme.com/htdocs/development/testsite/wp-content/plugins/theme-sniffer/vendor/squizlabs/php_codesniffer/src/Runner.php(592): PHP_CodeSniffer\Files\File->process()
#2 /home/domains/superblogme.com/htdocs/development/testsite/wp-content/plugins/theme-sniffer/src/callback/class- in /home/domains/superblogme.com/htdocs/development/testsite/wp-content/plugins/theme-sniffer/vendor/wp-coding-standards/wpcs/WordPress/Sniff.php on line 838
The text was updated successfully, but these errors were encountered: