Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

Windows Localhost Not Processing

$
0
0

Replies: 0

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

  • This topic was modified 7 minutes ago by  Scott DeLuzio. Reason: add max execution time

Viewing all articles
Browse latest Browse all 512573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>