[SOLVED] Frontend create item bug

More
11 years 5 months ago - 11 years 5 months ago #30947 by SirTobi88
Hi,
i have updated flexicontent from 1338 to RC9a1551.
I am using Joomla 1.5.23.

When i try to open the frontend item submission form, i get this error:
"Notice: Undefined index: in /var/www/html/components/com_flexicontent/views/items/view.html.php on line 1079 Notice: Trying to get property of non-object in /var/www/html/components/com_flexicontent/views/items/view.html.php on line 1079 Fatal error: Call to a member function toString() on a non-object in /var/www/html/components/com_flexicontent/views/items/view.html.php on line 743 "

i tried to create the menu button again but i still get this error:
"Fatal error: Call to a member function toString() on a non-object in /var/www/html/components/com_flexicontent/views/items/view.html.php on line 743"
Last edit: 11 years 5 months ago by SirTobi88.

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

More
11 years 5 months ago #30948 by SirTobi88
one additional point.

When i comment out the mentioned line it seems that everything is working

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

More
11 years 5 months ago #30949 by ggppdk
Yes i have already fixed this locally,


this line loads existing meta data for existing items

Line 743 (J1.5) of file
components/com_flexicontent/views/items.php/view.html.php
should be place:
Code:
if ( !empty($item->metadata) ) $formparams->loadINI($item->metadata->toString());
instead of :
Code:
$formparams->loadINI($item->metadata->toString());


-- 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.261 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