Skip to content
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

Issue after upgrading to PHP-DI 6.2.1 #63

Closed
Brammm opened this issue Jun 22, 2020 · 5 comments
Closed

Issue after upgrading to PHP-DI 6.2.1 #63

Brammm opened this issue Jun 22, 2020 · 5 comments
Labels

Comments

@Brammm
Copy link

Brammm commented Jun 22, 2020

After upgrading to PHP-DI 6.2.1 in our Slim v3 project using the PHP-DI Slim bridge, we are suddenly getting the following error when compiling the container:

Class 'AssociativeArrayResolver' not found in /var/www/html/cache/CompiledContainer.php on line 1210

Checking the generated file, it does indeed look like it's not importing the proper class. I'm assuming it has something to do with the move to opis/closure. If there's anything I can do to help, I'd be happy to.

@and1truong
Copy link

Use this one: https://github.com/andytruong/Slim-Bridge/releases/tag/2.0.1

I can't see branch 2.x anymore

@mnapoli
Copy link
Member

mnapoli commented Jul 23, 2020

@andytruong thank you for your link, that sounds like a fairly simple fix 🤔 Would you be able to open a pull request to this project?

@and1truong
Copy link

@mnapoli I am happy to do that, but I can't see branch 2.x.

@mnapoli
Copy link
Member

mnapoli commented Aug 1, 2020

I've opened opis/closure#72

@mnapoli mnapoli added the bug label Aug 5, 2020
@mnapoli
Copy link
Member

mnapoli commented Aug 5, 2020

Fixed in opis/closure#70

@mnapoli mnapoli closed this as completed Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants