php - Unknown: Failed opening required on line 0. laravel 5.6

This error message is typically caused by a problem with the file path specified in the "require" or "include" statement. The "required on line 0" part of the message means that the error occurred before the interpreter reached any specific line in the script.

Watch a course Learn object oriented PHP

It could be that the file you're trying to include does not exist, or the file path is not correct. Make sure that the file path is correct and that the file is located in the correct directory.

If you're using Laravel 5.6, it could also be that you're running an older version of PHP that's not compatible with Laravel 5.6. Make sure you're running PHP 7.1.3 or later.