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

Trouble with Collection version (hasKey Error) #155

Open
atellier2 opened this issue Jul 13, 2023 · 1 comment
Open

Trouble with Collection version (hasKey Error) #155

atellier2 opened this issue Jul 13, 2023 · 1 comment

Comments

@atellier2
Copy link

Version 4 of the collection package appears to be incompatible with the current version of citeproc-php.

I have this error :

Uncaught Error: Call to undefined method Seboettg\\Collection\\ArrayList::hasKey() in /XXXXX/vendor/seboettg/citeproc-php/src/Locale/LocaleXmlParserTrait.php:132

I fix my problem with define a max version in the composer.json

"seboettg/collection": ">=3.1.0,<4.0.0",

In your opinion, is-it correct ?

@glorieux-f
Copy link
Contributor

Thanks @atellier2, it works for me.

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

No branches or pull requests

2 participants