Windows Localhost Not Processing
-
I had the same PHP Fatal Error as @cousinhub was having on this thread. It looks like one of the CodeSniffer functions is stripping out the
\
character on Windows/localhost servers.Note: I ran this plugin on a WPE site with one of the plugins that failed to process on a local install and it worked fine. On the local install no plugins or themes are processed. All get the error “The plugin/theme was skipped as it was too large to scan before the server killed the process.”
Example error log:
PHP Fatal error: Uncaught exception 'PHP_CodeSniffer_Exception' with message 'Source file C:UsersScottDevSitesdelete-cwcfp.devwp-contentpluginswp-crontrol/ does not exist' in C:\Users\Scott\DevSites\testphp7.dev\wp-content\plugins\php-compatibility-checker\vendor\squizlabs\php_codesniffer\CodeSniffer.php:1723 Stack trace: #0 C:\Users\Scott\DevSites\testphp7.dev\wp-content\plugins\php-compatibility-checker\vendor\squizlabs\php_codesniffer\CodeSniffer.php(636): PHP_CodeSniffer->processFile('C:UsersScottDev...', NULL) #1 C:\Users\Scott\DevSites\testphp7.dev\wp-content\plugins\php-compatibility-checker\vendor\squizlabs\php_codesniffer\CodeSniffer\CLI.php(949): PHP_CodeSniffer->processFiles('C:UsersScottDev...', false) #2 C:\Users\Scott\DevSites\testphp7.dev\wp-content\plugins\php-compatibility-checker\src\wpephpcompat.php(276): PHP_CodeSniffer_CLI->process(Array) #3 C:\Users\Scott\DevSites\testphp7.dev\wp-content\plugins\php-compatibility-checker\src\wpephpcompat. in C:\Users\Scott\DevSites\testphp7.dev\wp-content\plugins\php-compatibility-checker\vendor\squizlabs\php_codesniffer\CodeSniffer.php on line 1723
Edit
PHP max_execution_time is set to 300
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Windows Localhost Not Processing’ is closed to new replies.