nystudio107 / craft-similar

Similar for Craft lets you find elements, Entries, Categories, Commerce Products, etc, that are similar, based on... other related elements.
https://nystudio107.com/
MIT License
26 stars 5 forks source link

Undefined array key "1-92135" #30

Closed lucosius closed 3 years ago

lucosius commented 3 years ago

Hey,

Everything is working great but if my entry don't have any tags assigned I'm getting error. How can I make it work if there's no tags and nothing to show?

khalwat commented 3 years ago

This is the same as: https://github.com/nystudio107/craft-similar/issues/29

Fixed in https://github.com/nystudio107/craft-similar/commit/0d81f2f27cb698c469aefce68ad76379153ced0d

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-similar": "dev-develop as 1.1.1”,

Then do a composer update