[pls Update] Warning message array_filter in category model

More
10 years 3 months 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
10 years 3 months 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...

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

More
10 years 3 months 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
10 years 3 months 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...

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

More
10 years 3 months 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
10 years 3 months 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.590 seconds
Save
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