citeproc-php icon indicating copy to clipboard operation
citeproc-php copied to clipboard

Trouble with Collection version (hasKey Error)

Open atellier2 opened this issue 1 year ago • 1 comments

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 ?

atellier2 avatar Jul 13 '23 14:07 atellier2

Thanks @atellier2, it works for me.

glorieux-f avatar Aug 12 '23 18:08 glorieux-f