-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Warning: Class 'Tightenco\Collect\Support\Debug\Dumper' not found in alias.php on line 18 #623
Comments
I'm getting the same issue, it seems related to laravel/framework#25087. Also relevant tighten/collect#124 |
I broke it! Sorry! I will fix it as soon as I get my kids to bed ❤️ |
I've fixed this problem, but I can't figure out a way to make the fix go out until Laravel 5.7.2 comes out (because I can't tag Collect 5.7.2 with the fix, because then it would be out of sync with the Laravel components). |
It’s a warning so I’m not seeing anything critical myself with it 😁 |
Yep, I was thinking the same thing; ignore the warning and it will go away as soon as we tag the next release. :) Thanks! |
Reopening so people can find it until it’s fixed. |
@mattstauffer Thank you for the quick fix and keeping this record ! |
Good morning all. I've just preformed a quick ~/.composer ⮀ composer global update
I preformed a ~/.composer ⮀ valet install Warning: Class 'Tightenco\Collect\Support\Debug\Dumper' not found in /Users/joshmurray/.composer/vendor/laravel/valet/vendor/tightenco/collect/src/Collect/Support/alias.php on line 18 Call Stack: PHP Warning: Class 'Tightenco\Collect\Support\Debug\HtmlDumper' not found in /Users/joshmurray/.composer/vendor/laravel/valet/vendor/tightenco/collect/src/Collect/Support/alias.php on line 18 Warning: Class 'Tightenco\Collect\Support\Debug\HtmlDumper' not found in /Users/joshmurray/.composer/vendor/laravel/valet/vendor/tightenco/collect/src/Collect/Support/alias.php on line 18 Call Stack: Stopping nginx... Valet installed successfully! Do you know when this will be fixed? Thanks very much. |
Hi again I just wanted to let everyone know that this seems to be fixed now. I went to my global composer.json located in my home directory and I removed everything from there with: I then required valet again with Works. Thanks @mattstauffer Josh |
Composer global update should fix it for anyone else who runs into this. Or ‘composer global update Laravel/valet’ I think. |
I just ran
|
@pankaj-ag wrote:
The most often cause of that is using an old PHP version. Valet requires at least PHP 5.6. I suspect yours is older. |
@drbyte
|
What's in your |
I think you're using PHP7 versions of packages, but don't have PHP 7 installed. composer global config platform.php 5.6.36
composer global update |
thanks @drbyte thanks again for the help. |
I'm having this error. I tried with Valet version is |
Hi @Lloople Did you follow all of the steps I noted down or just some of them? I have tried this on multiple machines and it seems to work in every case. Please try once again (remove all of the packages, dump the autoload, clear the cache, require the package once again). Before you remove all of your packages, I would recommend making a backup of your global composer.json file (you should always do periodic backups of these files anyway). Please get back and let us know how you get on. Thanks |
Hi @joshmurrayeu, Yes I followed all the steps, and I did it again in case I missed something last time. It continues to happen, but only in a non-laravel project which have installed Weird thing is that the erro comes from |
@Lloople you have an outdated version of Collect. Your problem has nothing to do with Valet. You need to update collect in that project. |
@mattstauffer this is what
I think it's the last version (Installed it yesterday) EDIT: But you gave an idea with that comment. The issue was that this project already required |
@Lloople if you want to discuss any further let’s move over to collect. But it is relaxed; you may have just needed to update twice (we upped and then re-lowered that exact version constraint if I remember correctly) |
|
I am attempting to start up Valet on my new MacBook Pro using High Sierra 10.13.6.
I have followed the instructions...
brew update
,brew install [email protected]
, etc however, when I runvalet install
, I am greeted with this stack trace.Any help would be appreciated.
Thanks
Stack trace:
~/projects/test ⮀ valet install
PHP Warning: Class 'Tightenco\Collect\Support\Debug\Dumper' not found in /Users/joshmurray/.composer/vendor/tightenco/collect/src/Collect/Support/alias.php on line 18
PHP Stack trace:
PHP 1. {main}() /Users/joshmurray/.composer/vendor/laravel/valet/cli/valet.php:0
PHP 2. require() /Users/joshmurray/.composer/vendor/laravel/valet/cli/valet.php:10
PHP 3. ComposerAutoloaderInit8ea7fb8c1f0e827c917dfbfde1721b9d::getLoader() /Users/joshmurray/.composer/vendor/autoload.php:7
PHP 4. composerRequire8ea7fb8c1f0e827c917dfbfde1721b9d() /Users/joshmurray/.composer/vendor/composer/autoload_real.php:56
PHP 5. require() /Users/joshmurray/.composer/vendor/composer/autoload_real.php:66
PHP 6. class_alias() /Users/joshmurray/.composer/vendor/tightenco/collect/src/Collect/Support/alias.php:18
Warning: Class 'Tightenco\Collect\Support\Debug\Dumper' not found in /Users/joshmurray/.composer/vendor/tightenco/collect/src/Collect/Support/alias.php on line 18
Call Stack:
0.0005 447352 1. {main}() /Users/joshmurray/.composer/vendor/laravel/valet/cli/valet.php:0
0.0007 448496 2. require('/Users/joshmurray/.composer/vendor/autoload.php') /Users/joshmurray/.composer/vendor/laravel/valet/cli/valet.php:10
0.0008 463152 3. ComposerAutoloaderInit8ea7fb8c1f0e827c917dfbfde1721b9d::getLoader() /Users/joshmurray/.composer/vendor/autoload.php:7
0.0051 1309584 4. composerRequire8ea7fb8c1f0e827c917dfbfde1721b9d() /Users/joshmurray/.composer/vendor/composer/autoload_real.php:56
0.0052 1313520 5. require('/Users/joshmurray/.composer/vendor/tightenco/collect/src/Collect/Support/alias.php') /Users/joshmurray/.composer/vendor/composer/autoload_real.php:66
0.0058 1456008 6. class_alias() /Users/joshmurray/.composer/vendor/tightenco/collect/src/Collect/Support/alias.php:18
PHP Warning: Class 'Tightenco\Collect\Support\Debug\HtmlDumper' not found in /Users/joshmurray/.composer/vendor/tightenco/collect/src/Collect/Support/alias.php on line 18
PHP Stack trace:
PHP 1. {main}() /Users/joshmurray/.composer/vendor/laravel/valet/cli/valet.php:0
PHP 2. require() /Users/joshmurray/.composer/vendor/laravel/valet/cli/valet.php:10
PHP 3. ComposerAutoloaderInit8ea7fb8c1f0e827c917dfbfde1721b9d::getLoader() /Users/joshmurray/.composer/vendor/autoload.php:7
PHP 4. composerRequire8ea7fb8c1f0e827c917dfbfde1721b9d() /Users/joshmurray/.composer/vendor/composer/autoload_real.php:56
PHP 5. require() /Users/joshmurray/.composer/vendor/composer/autoload_real.php:66
PHP 6. class_alias() /Users/joshmurray/.composer/vendor/tightenco/collect/src/Collect/Support/alias.php:18
Warning: Class 'Tightenco\Collect\Support\Debug\HtmlDumper' not found in /Users/joshmurray/.composer/vendor/tightenco/collect/src/Collect/Support/alias.php on line 18
Call Stack:
0.0005 447352 1. {main}() /Users/joshmurray/.composer/vendor/laravel/valet/cli/valet.php:0
0.0007 448496 2. require('/Users/joshmurray/.composer/vendor/autoload.php') /Users/joshmurray/.composer/vendor/laravel/valet/cli/valet.php:10
0.0008 463152 3. ComposerAutoloaderInit8ea7fb8c1f0e827c917dfbfde1721b9d::getLoader() /Users/joshmurray/.composer/vendor/autoload.php:7
0.0051 1309584 4. composerRequire8ea7fb8c1f0e827c917dfbfde1721b9d() /Users/joshmurray/.composer/vendor/composer/autoload_real.php:56
0.0052 1313520 5. require('/Users/joshmurray/.composer/vendor/tightenco/collect/src/Collect/Support/alias.php') /Users/joshmurray/.composer/vendor/composer/autoload_real.php:66
0.0064 1456040 6. class_alias() /Users/joshmurray/.composer/vendor/tightenco/collect/src/Collect/Support/alias.php:18
Stopping nginx...
Installing nginx configuration...
Installing nginx directory...
Updating PHP configuration...
Restarting php...
Restarting dnsmasq...
Restarting nginx...
Valet installed successfully!
The text was updated successfully, but these errors were encountered: