[LISE] PHP warning when sorting by custom field
Posted: Tue Nov 24, 2020 9:54 am
I’m using this tag in my content:
and I’m getting the following PHP warning:
Code: Select all
{LISEGremien category='la-jugend-musiziert' summarytemplate='LA JuMu' orderby='custom_sortierung,item_title'}I’ve tracked it down to the “custom_sortierung” value of the “orderby” parameter. The field definition is a simple text field. What could be wrong here? Could the issue be that some entries don’t have a value specified in this field?Warning: count(): Parameter must be an array or an object that implements Countable in ~/modules/LISE/lib/class.LISEItemQuery.php on line 662