[pls Update] Warning message array_filter in category model

More
12 years 2 weeks ago #44097 by mtgt
Hi,

I don't go often on the cetegory page, but I've been on it today and I notice this Warning message.
Code:
Warning: array_filter() expects parameter 1 to be array, integer given in .../components/com_flexicontent/models/category.php on line 1544

I google it my warning message to try to found an answer but the only result I get was the error on my website. So the error is certainly there from a while :cry:

I try to open Flexicontent configuration and save but that change nothing.

Any idea or help will be nice.
Thanks in advance for your help

Greg
"La vie n'est qu'opportunité !" ;-)

www.nomadsroad.com Nomads Road - Une aventure interactive autour du monde
www.voyage-australie-nz.com Infos pour préparer son voyage en Australie et en Nouvelle-Zélande

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #44100 by ggppdk
Hello

you do not mention the FLEXIcontent version that you are using, but i can see you have an older version, please upgrade to

this is a rare error, and it fixed in
v2.1.3 r1824 (beta)

and probably also in
v2.1.2 r1806 (latest official release)

please download from here:
code.google.com/p/flexicontent/downloads/list


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #44117 by mtgt
Hi,

I just update to version 2.1.3 r1824 and now I have another warning message on category pages.
Code:
Warning: array_filter() expects parameter 1 to be array, integer given in /home3/mtgt69/public_html/nomadsroad/components/com_flexicontent/models/category.php on line 1628

I clear my cache, save the configuration but, no effect I still have this warning twice in same page.

Greg
"La vie n'est qu'opportunité !" ;-)

www.nomadsroad.com Nomads Road - Une aventure interactive autour du monde
www.voyage-australie-nz.com Infos pour préparer son voyage en Australie et en Nouvelle-Zélande

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #44135 by ggppdk
Hello

if you disable the display of PHP warnings this will go away

to apply a patch now, change the line above the error:
Code:
if ( is_string($filter_ids) ) $filter_ids = array($filter_ids);
to become
Code:
if ( !is_array($filter_ids) ) $filter_ids = array($filter_ids);


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #44142 by mtgt
Thanks,

Error message is gone, it look much better like this ;)
Thank again

Greg
"La vie n'est qu'opportunité !" ;-)

www.nomadsroad.com Nomads Road - Une aventure interactive autour du monde
www.voyage-australie-nz.com Infos pour préparer son voyage en Australie et en Nouvelle-Zélande

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #44171 by ggppdk
Hello,

this a minor bug, fix was committed for next FC version

thanks for feedback


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #44183 by mtgt
Hi,

I don't not if it related to the change, but when I open different category I get same category all time

If I open www.nomadsroad.com/fr/le-voyage- ... ons/europe or www.nomadsroad.com/fr/le-voyage- ... gions/asia or another one I all time get www.nomadsroad.com/fr/le-voyage- ... gions/asia

I double check my menu items even I have change nothing but they are well link to the corresponding category

Greg
"La vie n'est qu'opportunité !" ;-)

www.nomadsroad.com Nomads Road - Une aventure interactive autour du monde
www.voyage-australie-nz.com Infos pour préparer son voyage en Australie et en Nouvelle-Zélande

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #44198 by ggppdk
Hello

out of these URLs which parts are the menu aliases
e.g.

the last part 'asia' and 'europe' is a menu alias ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #44216 by mtgt
Hi,

Yes, the last part is the alias as you can see on my print screen
[attachment=1:38zbday5]<!-- ia1 -->menu.JPG<!-- ia1 -->[/attachment:38zbday5]

Yesterday all these pages opened with Asia page and today they open on other page as you can see on printscreen
[attachment=0:38zbday5]<!-- ia0 -->menu-result.JPG<!-- ia0 -->[/attachment:38zbday5]

I really don't understand.It's happen only wih categories. Items are ok and other page in website are ok as well.
I try to empty the cache for menu and flexicontent.
This menu items are playing up and I don't know why.

Any help with this issue will be nice.
Thanks in advance
Greg

Greg
"La vie n'est qu'opportunité !" ;-)

www.nomadsroad.com Nomads Road - Une aventure interactive autour du monde
www.voyage-australie-nz.com Infos pour préparer son voyage en Australie et en Nouvelle-Zélande

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #44232 by micker
you speak about peer category display ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save