ericrprates
1 year ago

Always the same error in the debug - RecursiveDirectoryIterator::hasChildren()

Posted 1 year ago by ericrprates

When any error occurs, this message appears on screen (debug is true):

handleError(2, 'RecursiveDirectoryIterator::hasChildren(): open_basedir restriction in effect. File(/home/website/www/erros) is not within the allowed path(s): (/home/website/:/tmp:/usr/local/php/7.2/lib/php:./)', '/home/website/www/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php', 73, array())

What can it be?

Informations:

  • Laravel 5
  • PHP 7.2

Please sign in or create an account to participate in this conversation.