-
Notifications
You must be signed in to change notification settings - Fork 127
EE7.2.2 Throwing Warning on exp:channel:categories With Empty Categories #2571
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
Comments
@dougblackjr can you clarify what you call "Run loop with an empty category"? |
@intoeetive Sure! So, in the template I run this:
I have two categories in this category group that have no entries in them. This is when I get the notice thrown. If I do this:
Then the warning disappears. |
I wasn't able to replicate :( Is there anything in the embed that might be affecting the output? |
@intoeetive Nothing I can see. Here's a video walkthrough: https://www.loom.com/share/c6ae57b78d7149efbf9b1816309ea8d3 |
I think this might be related to the other |
I'm getting the same thing except for me it happens with and without the
The site I'm working on is on EE 7.2.3. |
Getting this error also and tested and confirmed it in a stripped-down template. |
Uh oh!
There was an error while loading. Please reload this page.
Description of the problem
Displayed warning after using

{exp:channel:categories}
tag with debug on:How To Reproduce
Steps to reproduce the behavior:
{exp:channel:categories}
tag.For example,
Error Messages
Environment Details:
Possible Solution
On line 3050 of mod.channel.php, either null coalesce $all, or ensure it is set outside of the conditional.
The text was updated successfully, but these errors were encountered: