Page 1 of 1
<thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning
Posted: Mon Dec 12, 2022 12:57 pm
by alexscj
Hello, when using
Code: Select all
<thumb category=CURRENT_ITEM_GROUPS_INTERSECTION num=1-5>
I'm getting a PHP warning:
Code: Select all
Warning: Illegal string offset 'category_id' in /path/includes/libs/tpl_tags.php on line 4922
The actual output thumbs seem affected as well, like not taking all categories in consideration.
Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning
Posted: Mon Dec 12, 2022 3:00 pm
by admin
Hello!
Looks like i've missed this ime when did a traformation from 'group' to 'category'
Please, run update and let me know if evething's ok
Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning
Posted: Mon Dec 12, 2022 5:44 pm
by alexscj
All good now!
Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning
Posted: Mon Dec 12, 2022 6:30 pm
by admin
w\o cache as well ?
send admin area plz
Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning
Posted: Mon Dec 12, 2022 6:34 pm
by alexscj
All good now, the cache was the problem as far as I can tell, thank you.
Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning
Posted: Tue Dec 13, 2022 6:59 am
by alexscj
Is there anyway I could speed up this CURRENT_ITEM_GROUPS_INTERSECTION query?
It takes forever, often exceeding the set PHP max_execution_time of 180.
Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning
Posted: Tue Dec 13, 2022 2:11 pm
by admin
that's why too much, right
how many galleries do you have?
the selection is really heavy: we have to count each galleries and each group , compare and sort the result ..
Can you please explain in your words what kind of selection do you need?