Error message in backend "array_merge..."

More
12 years 5 months ago #26062 by grabit
Hi,

Since the upgrade to FC 1.5.6 RC5 (1338) I have an error message on the item list and in the items edit window.
Code:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/vhosts/domain.removed/httpdocs/components/com_flexicontent/classes/flexicontent.categories.php on line 279 Warning: array_unique() expects parameter 1 to be array, null given in /var/www/vhosts/domain.removed/httpdocs/components/com_flexicontent/classes/flexicontent.categories.php on line 279

I have not installed Flexiaccess on this site, is it the reason? and if yes how can I get rid of those messages?

An Apple a days keeps the doctor away

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

More
12 years 5 months ago #26072 by micker
strange ... did you try 1347 ?

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.

More
12 years 5 months ago #26106 by grabit
no it is not yet committed and I can't commit it by myself on my Mac.

An Apple a days keeps the doctor away

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

More
12 years 5 months ago #26138 by ggppdk
Fixed in r1341

Replace
Code:
// Add already selected categories to the category list $selectedcats = !is_array($selected) ? array($selected) : $selected; $usercats = array_unique(array_merge($selectedcats, $usercats));
with
Code:
if (FLEXI_J16GE || FLEXI_ACCESS) { // Add already selected categories to the category list $selectedcats = !is_array($selected) ? array($selected) : $selected; $usercats = array_unique(array_merge($selectedcats, $usercats)); }


-- 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
12 years 5 months ago #26148 by grabit
Great it works perfectly.

An Apple a days keeps the doctor away

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.423 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