Title: Uncaught PHP_CodeSniffer_Exception
Last modified: November 26, 2018

---

# Uncaught PHP_CodeSniffer_Exception

 *  [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/uncaught-php_codesniffer_exception/)
 * I’m getting errors when running this scan. It seems to be dropping slashes in
   paths to the theme it’s trying to scan. (Perhaps this plugin can’t run on Windows
   machines?)
 *     ```
       [26-Nov-2018 21:41:32 UTC] WPE PHP Compatibility: startScan: 
       [26-Nov-2018 21:41:32 UTC] WPE PHP Compatibility: timeout: 60
       [26-Nov-2018 21:41:32 UTC] WPE PHP Compatibility: lock: 1
       [26-Nov-2018 21:41:32 UTC] WPE PHP Compatibility: scan status: 
       [26-Nov-2018 21:41:32 UTC] WPE PHP Compatibility: Generating directory list.
       [26-Nov-2018 21:41:32 UTC] WPE PHP Compatibility: 2 plugins left to process.
       [26-Nov-2018 21:41:32 UTC] WPE PHP Compatibility: Processing: _dealer
       [26-Nov-2018 21:41:32 UTC] WPE PHP Compatibility: Attempted scan count: 1
       [26-Nov-2018 21:41:34 UTC] PHP Fatal error:  Uncaught PHP_CodeSniffer_Exception: Source file C:MAMPhtdocssandbox/wp-content/themes_dealer does not exist in C:\MAMP\htdocs\sandbox\wp-content\plugins\php-compatibility-checker\vendor\squizlabs\php_codesniffer\CodeSniffer.php:1740
       Stack trace:
       #0 C:\MAMP\htdocs\sandbox\wp-content\plugins\php-compatibility-checker\vendor\squizlabs\php_codesniffer\CodeSniffer.php(653): PHP_CodeSniffer->processFile('C:MAMPhtdocssan...', NULL)
       #1 C:\MAMP\htdocs\sandbox\wp-content\plugins\php-compatibility-checker\vendor\squizlabs\php_codesniffer\CodeSniffer\CLI.php(998): PHP_CodeSniffer->processFiles(Array, false)
       #2 C:\MAMP\htdocs\sandbox\wp-content\plugins\php-compatibility-checker\src\wpephpcompat.php(296): PHP_CodeSniffer_CLI->process(Array)
       #3 C:\MAMP\htdocs\sandbox\wp-content\plugins\php-compatibility-checker\src\wpephpcompat.php(240): WPEPHPCompat->process_file('C:MAMPhtdocssan...')
       #4 C:\MAMP\htdocs\sandbox\wp-content\plugins\php-compatibility-checker\wpengine-phpcompat.php(172): WPEPHPCompat->start_test()
       #5 C:\MAMP\ht in C:\MAMP\htdocs\sandbox\wp-content\plugins\php-compatibility-checker\vendor\squizlabs\php_codesniffer\CodeSniffer.php on line 1740
       ```
   

The topic ‘Uncaught PHP_CodeSniffer_Exception’ is closed to new replies.

 * ![](https://ps.w.org/php-compatibility-checker/assets/icon-256x256.png?rev=1446087)
 * [PHP Compatibility Checker](https://wordpress.org/plugins/php-compatibility-checker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-compatibility-checker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-compatibility-checker/)
 * [Active Topics](https://wordpress.org/support/plugin/php-compatibility-checker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-compatibility-checker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-compatibility-checker/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/uncaught-php_codesniffer_exception/)
 * Status: not resolved