This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
(phpcs.xml) is not within the allowed path(s) [Bug] #202
Labels
Type: Bug
There is a bug in the plugin.
Describe the bug
When I try to scan a theme (any) with Theme Sniffer plugin, no results are shown.
By checking the logs I get:
[05-Jun-2020 15:19:33 UTC] PHP Warning: is_file(): open_basedir restriction in effect. File(/home/.phpcs.xml) is not within the allowed path(s): (/home/xyz/:/tmp:/var/tmp:/opt/alt/php73/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php73/lib/php/) in /home/xyz/domains/domain.ext/public_html/wp-content/plugins/theme-sniffer/vendor/squizlabs/php_codesniffer/src/Config.php on line 352
It is as if the plugin wanted to write outside the "public_html" folder.
The text was updated successfully, but these errors were encountered: