You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kind of an esoteric one, but when filtering for a relations field in the craft admin and choosing "has a value" or "is empty", this error pops up and the search doesn't complete. I filed an issue with Craft and they helped point out that the source of the problem was linkfield.
Kind of an esoteric one, but when filtering for a relations field in the craft admin and choosing "has a value" or "is empty", this error pops up and the search doesn't complete. I filed an issue with Craft and they helped point out that the source of the problem was linkfield.

I did a bit of troubleshooting locally and I think I've narrowed down the issue to
craft-utils/src/foreignField/ForeignFieldQueryExtension.php
and specifically line 260. If I swap
Json::encode
forjson_encode
it appears to work fine. I couldn't figure out why this might be the case.The text was updated successfully, but these errors were encountered: