Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Classes Dumper and HtmlDumper not found after composer update #124

Closed
be-mohand opened this issue Sep 4, 2018 · 16 comments
Closed

Classes Dumper and HtmlDumper not found after composer update #124

be-mohand opened this issue Sep 4, 2018 · 16 comments

Comments

@be-mohand
Copy link

Hi,

After a composer update, I have those errors in my terminal when I call shell commands:
PHP Warning: Class 'Tightenco\Collect\Support\Debug\Dumper' not found in /home/kreezalid/app/vendor/tightenco/collect/src/Collect/Support/alias.php on line 18
PHP Warning: Class 'Tightenco\Collect\Support\Debug\HtmlDumper' not found in /home/kreezalid/app/vendor/tightenco/collect/src/Collect/Support/alias.php on line 18

Here are the composer update info:
Package operations: 0 installs, 2 updates, 0 removals

  • Updating aws/aws-sdk-php (3.67.4 => 3.67.5): Downloading (100%)
  • Updating tightenco/collect (v5.6.37 => v5.7.1): Downloading (100%)

I'm using CakePHP but I think one of my dependances is using your package.

Cheers

@mattstauffer
Copy link
Member

Ahhh crud. We must need a change to the underlying architecture of the extraction script with 7+. For now can you lock your requirements down to a constraint that keeps you from getting any 5.7.* updates?

@mattstauffer
Copy link
Member

This may have to go to your dependency author—they may need to lock down their dependencies a bit. But I’ll work on this this evening.

@mattstauffer
Copy link
Member

mattstauffer commented Sep 5, 2018

@be-mohand have you been able to figure out which dependency it is, by the way? I've fixed it on our end but I won't be able to push out a fix until Laravel 5.7.2 comes out, and there's no way to predict when that's going to be.

@monro93
Copy link

monro93 commented Sep 5, 2018

Hi, I have the same issue in a symfony 3.8 project. The dependency that we use that is using your package is kunalvarma05/dropbox-php-sdk. For the moment I have fixed your package to the version 5.6.35 in the composer of our project and I don't have the warning anymore. Thanks :)

@mattstauffer
Copy link
Member

Thanks! Yah anyone with control of the dependencies can just lock it to under 7.0 until the next Laravel release comes out which will hopefully be soon :)

@mattstauffer
Copy link
Member

And the good news is that nothing is broken. It’s just annoying, temporarily.

@jeremyvaught
Copy link

FWIW I'm getting this globally due to Valet

@mattstauffer
Copy link
Member

Yah, there’s an issue in valet repo saying the same thing. It’ll go away as soon as Laravel pushes a new version and you update valet.

This was referenced Sep 5, 2018
@Vormillion
Copy link

Hi,

The same thing happens with module kunalvarma05/dropbox-php-sdk 0.2.1 which requires tightenco/collect ^5.2.

@Yi-Z0
Copy link

Yi-Z0 commented Sep 9, 2018

This can solve this problem temporarily.
composer require tightenco/collect:v5.6.27

@mattstauffer
Copy link
Member

That’s fine but not necessary; it’s fixed in the latest.

@monro93
Copy link

monro93 commented Sep 10, 2018

Hi @mattstauffer ,
We still have the warning, I have been looking at the cause, is caused because we have symfony 3.4 and in the last tag (5.7.2) the library requires "symfony/var-dumper": "^4.1" which is not compatible with the requirements from symfony for the var-dumper (3.4.*), so the composer update resolve to install the version 5.7.1, that still have the issue.
Regards!

@mattstauffer
Copy link
Member

Ugh that sucks. Can you manually set a constraint to get Collect less than 5.7.0 then?

@monro93
Copy link

monro93 commented Sep 10, 2018

I will try to open a PR, but I don't have too much expectations :(
Thanks

EDIT:
Could it be possible to just delete the tag 5.7.1?

@mattstauffer
Copy link
Member

Monro I’ll check!

@samirfor
Copy link

This can solve this problem temporarily.
composer require tightenco/collect:v5.6.27

Works with "zendframework/zendframework1": "1.12.19"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants