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
I'm not sure if this is the case for all problematic templates but at least on two of them the error is displayed when I'm trying to fetch entries with the value of a custom lightswitch field set to false.
Simplified example:
{% set articles = craft.entries.relatedTo({element: category, field: 'articleCategory'}) %}
{% set notFeaturedPosts = articles.isFeatured(false) %}
{% for entry in notFeaturedPosts.collect() %}
{% include 'partials/entry-teaser' %}
{% endfor %}
Hi, thanks for getting in touch! I’m not able to replicate this with the info you provided.
Do you have any plugins or modules installed? If yes, do you still get this error after turning on safeMode? If not, can you share a bit more about the setup of the entries you see this with?
What happened?
Description
After updating a site from
5.6.0.2
to5.6.2
there's an error thrown in some of my templates:Steps to reproduce
I'm not sure if this is the case for all problematic templates but at least on two of them the error is displayed when I'm trying to fetch entries with the value of a custom lightswitch field set to
false
.Simplified example:
Probably related: #16570
Craft CMS version
5.6.2
PHP version
8.3.16
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: