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
Error after upgrade from Craft CMS 3.1 #22
Comments
Probably from here: https://github.com/nystudio107/craft-similar/blob/v1/src/services/Similar.php#L144 That code was added by @svale in this PR: #17 I'm not sure what it's attempting to do |
Did try to change it back to only
Removing the if statement all together make the code work again, but unsure if that will have implications elsewhere? 🤔 |
I'm getting the same database error on Tags 1.0.7 and Craft 3.4.24
|
Getting a similar error as noted in this SO question: |
I'm going to see about devoting some time to fixing this up in the near term |
This should be fixed in the dev-develop branch You can try it now by setting your semver in your "nystudio107/craft-similar": "dev-develop as 1.1.0”, Then do a Let me know how you go... |
After upgrade from craft cms 3.1 I get the following error:
from the following code:
After commenting out the code above the entry loads as normal.
Full stack:
Any suggestions?
$entry->articleCategories
is a category field and the error only happens when I have a category entry inarticleCategories
fieldThe text was updated successfully, but these errors were encountered: