Closed hartless closed 2 years ago
Any chance you can test this on a more recent version of Craft, to help eliminate the possibility that the issue is with an old version of Yii?
Updated to the latest version of Craft - that fixed it. Thanks for your help gents.
huh. Might have been a bug in the version of Yii2 that some older version of Craft required, I suppose.
Should we try to retroactively fix this @bencroker ? Or just tell people to update?
Sounds like a Yii bug that was since resolved, so I'd say we leave it as is.
Addressed in: https://github.com/nystudio107/craft-autocomplete/commit/d5dfa7e4f336b87ac615d141390a22ba6474bef0
You can try it now by setting your semver in your composer.json
to look like this:
"nystudio107/craft-autocomplete": "dev-develop as 1.10.1”,
Then do a composer clear-cache && composer update
I was trying to install craft-autocomplete in PhpStorm and ran into the following error:
Missing required parameter "id" when instantiating "nystudio107\autocomplete\Autocomplete".
Additional context
Output
Error