my items menu item

More
11 years 7 months ago #35284 by fatmanmedi
hi,

i have a user who when click on hte my items menu item recived this
Code:
"Fatal error: Cannot pass parameter 1 by reference in .../components/com_flexicontent/models/category.php on line 1172"

flexicontent version 2.0.1 (r1659)
php 5.3.23
Joomla! 2.5.9

i can provide more info if requested

fats

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

More
11 years 7 months ago #35286 by ggppdk
Replied by ggppdk on topic my items menu item
Hello,

I tested this in PHP 5.4 , but it seems it does not work in PHP 5.3,

the offending line is :
Code:
$params->merge( FLEXI_J16GE ? new JRegistry($author_basicparams) : new JParameter($author_basicparams) );

Please replace it with:
Code:
$_author_params = FLEXI_J16GE ? new JRegistry($author_basicparams) : new JParameter($author_basicparams); $params->merge( $_author_params );


-- 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
11 years 7 months ago #35287 by ggppdk
Replied by ggppdk on topic my items menu item
And at line 1177

Replace:
Code:
$params->merge( FLEXI_J16GE ? new JRegistry($author_catparams) : new JParameter($author_catparams) );

with
Code:
$_author_params2 = FLEXI_J16GE ? new JRegistry($author_catparams) : new JParameter($author_catparams); $params->merge( $_author_params2 );


-- 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
11 years 7 months ago #35291 by fatmanmedi
Replied by fatmanmedi on topic my items menu item
hi,

made the edits and all is well.

thank you

fats

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

More
11 years 7 months ago #35299 by micker
Replied by micker on topic my items menu item
Thanks for return

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
Time to create page: 0.739 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