<thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning

Post Reply
alexscj
Posts: 160
Joined: Mon Apr 01, 2013 3:04 pm

<thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning

Post 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.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning

Post 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
Don't forget to run script update
alexscj
Posts: 160
Joined: Mon Apr 01, 2013 3:04 pm

Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning

Post by alexscj »

All good now!
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning

Post by admin »

w\o cache as well ?

send admin area plz
Don't forget to run script update
alexscj
Posts: 160
Joined: Mon Apr 01, 2013 3:04 pm

Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning

Post by alexscj »

All good now, the cache was the problem as far as I can tell, thank you.
alexscj
Posts: 160
Joined: Mon Apr 01, 2013 3:04 pm

Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning

Post 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.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: <thumb category=CURRENT_ITEM_GROUPS_INTERSECTION ..> PHP warning

Post 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?
Don't forget to run script update
Post Reply