-
Notifications
You must be signed in to change notification settings - Fork 718
Closed
Description
I'm getting this error after a clean new install on a Mojave (10.14.2 (18C54)) MacBook Pro.
Other Laravel helper-functions like dd do work.
Any Ideas?
Steps to reproduce
composer global require laravel/valet
valet install
PHP Fatal error: Uncaught Error: Call to undefined function collect() in /Users/okaufmann/.composer/vendor/laravel/valet/cli/Valet/Configuration.php:192
Stack trace:
#0 /Users/okaufmann/.composer/vendor/laravel/valet/cli/includes/helpers.php(149): Valet\Configuration->Valet\{closure}(Array)
#1 /Users/okaufmann/.composer/vendor/laravel/valet/cli/Valet/Configuration.php(195): Valet\tap(Array, Object(Closure))
#2 /Users/okaufmann/.composer/vendor/laravel/valet/cli/includes/facades.php(28): Valet\Configuration->prune()
#3 /Users/okaufmann/.composer/vendor/laravel/valet/cli/valet.php(40): Facade::__callStatic('prune', Array)
#4 {main}
thrown in /Users/okaufmann/.composer/vendor/laravel/valet/cli/Valet/Configuration.php on line 192
Fatal error: Uncaught Error: Call to undefined function collect() in /Users/okaufmann/.composer/vendor/laravel/valet/cli/Valet/Configuration.php on line 192
Error: Call to undefined function collect() in /Users/okaufmann/.composer/vendor/laravel/valet/cli/Valet/Configuration.php on line 192
Call Stack:
0.0006 451368 1. {main}() /Users/okaufmann/.composer/vendor/laravel/valet/cli/valet.php:0
0.2403 1870352 2. Facade::prune() /Users/okaufmann/.composer/vendor/laravel/valet/cli/valet.php:40
0.2403 1870352 3. Facade::__callStatic() /Users/okaufmann/.composer/vendor/laravel/valet/cli/valet.php:40
0.2409 1943824 4. Valet\Configuration->prune() /Users/okaufmann/.composer/vendor/laravel/valet/cli/includes/facades.php:28
0.2413 1944784 5. Valet\tap() /Users/okaufmann/.composer/vendor/laravel/valet/cli/Valet/Configuration.php:195
0.2413 1944808 6. Valet\Configuration->Valet\{closure}() /Users/okaufmann/.composer/vendor/laravel/valet/cli/includes/helpers.php:149
Metadata
Metadata
Assignees
Labels
No labels