Skip to content

Directory path is missing slashes, causing uncaught exception and scan failure. #201

Open
@johnalarcon

Description

@johnalarcon

Works on live HTTP, but not on my localhost; missing slashes are causing an uncaught exception. The plugin skipped everything as too large to be scanned, even a 10 line dummy plugin. WP-cron is working fine. PHP ini values are more than generous. Error log shows the following (et al) for each plugin scanned. Never got around to doing the themes; killed the process after about a half hour and getting through less than 10 plugins. See the error at the end below... all the slashes are missing from the plugin path. I'm on Windows 10, XAMPP, PHP 7.2.3, Compatibility Checker 1.4.6.

[php7:notice] WPE PHP Compatibility: startScan: , referer: https://localhost/wp/wp-admin/admin-ajax.php?action=wpephpcompat_start_test
[php7:notice] WPE PHP Compatibility: timeout: 60, referer: https://localhost/wp/wp-admin/admin-ajax.php?action=wpephpcompat_start_test
[php7:notice] WPE PHP Compatibility: lock: 1, referer: https://localhost/wp/wp-admin/admin-ajax.php?action=wpephpcompat_start_test
[php7:notice] WPE PHP Compatibility: scan status: , referer: https://localhost/wp/wp-admin/admin-ajax.php?action=wpephpcompat_start_test
[php7:notice] WPE PHP Compatibility: Generating directory list., referer: https://localhost/wp/wp-admin/admin-ajax.php?action=wpephpcompat_start_test
[php7:notice] WPE PHP Compatibility: 15 plugins left to process., referer: https://localhost/wp/wp-admin/admin-ajax.php?action=wpephpcompat_start_test
[php7:notice] WPE PHP Compatibility: Processing: AAA Master, referer: https://localhost/wp/wp-admin/admin-ajax.php?action=wpephpcompat_start_test
[php7:notice] WPE PHP Compatibility: Attempted scan count: 1, referer: https://localhost/wp/wp-admin/admin-ajax.php?action=wpephpcompat_start_test
[php7:error] Uncaught PHP_CodeSniffer_Exception: Source file C:xampphtdocswpwp-contentpluginsaaa-master/ does not exist in.....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions