Recent Topics

Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /mnt/c/Users/TEST/Desktop/Work/bagisto-standard/bootstrap/app.php:14



  • I've successfully installed bagisto, but when I run composer dump-autoload, it shows warnings about some ambiguous classes like:

    Warning: Ambiguous class resolution, "App\Console\Kernel" was found in both "$baseDir . '/app/Console/Kernel.php" and "/mnt/c/Users/TEST/Desktop/Work/bagisto-standard/vendor/bagisto/bagisto/app/Console/Kernel.php", the first will be used.

    Warning: Ambiguous class resolution, "App\Exceptions\Handler" was found in both "$baseDir . '/app/Exceptions/Handler.php" and "/mnt/c/Users/TEST/Desktop/Work/bagisto-standard/vendor/bagisto/bagisto/app/Exceptions/Handler.php", the first will be used.

    And after that, if I try to run php artisan serve, and navigate to localhost:800 , it redirects me to http://localhost:8000/installer , but the page crashes and I see in the console the followings:

    PHP Warning: mysqli::close(): Couldn't fetch mysqli in /mnt/c/Users/TEST/Desktop/Work/bagisto-standard/public/installer/install.php on line 67
    PHP Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /mnt/c/Users/TEST/Desktop/Work/bagisto-standard/bootstrap/app.php:14

    Can anyone help?