• 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.