field fcloadmodule / Undefined property stdClass slug error

More
11 years 7 months ago #34278 by kath
hi there,

after I updated FC to v2.0.0 final r1648 my page looks like this, nothing else on screen:

Notice: Undefined property: stdClass::$slug in /var/www/***/components/com_flexicontent/classes/flexicontent.fields.php on line 576
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 523800 bytes) in /var/www/***/modules/mod_flexicontent/helper.php on line 141

[Details]
My page renders a field of type 'fcloadmodule' (among other fields).
That field loads a module of type 'Universal Content Module for FLEXIcontent'.
That module shows items limited to a category and a user.
That module is in a non-existant position 'hidden'.

When I disable the field of type 'fcloadmodule', the error goes away.
Or when I change which module the field loads, the error goes away.
Or when I change which items the module shows, i still get the error.
Or when I change the module position to some existing position, i still get the error.
Before the FC-update (i had r1601 I believe) the error was not there.

[Setup]
Joomla 2.5.9
FC v2.0.0 final r1648

Maybe there is another great quickfix? :)

kath

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

More
11 years 7 months ago #34321 by kath
...here is some more info:

[Edit] Boiled it down to this notice and line:

Notice: Undefined property: stdClass::$categoryslug in /***/modules/mod_flexicontent/helper.php on line 516

which leads to:

$lists[$ord][$i]->link = JRoute::_(FlexicontentHelperRoute::getItemRoute($row->slug, $row->categoryslug, $forced_itemid).(($method_curlang == 1) ? "&lang=".substr($row->language ,0,2) : ""));

I found some mentioning about wrong usage of getItemRoute in this forum, but i can't figure out what to try here that would make sense.

any advice is greatly appreciated. thanks, kath :)

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

More
11 years 7 months ago #34377 by kath
ok, i solved my special case without using mod_flexicontent.
in case others stumble across this: i used this solution ( www.flexicontent.org/documentation/faq/i...-3rd-party-code.html ) to read fields into custom code, adapted the sql a little wors like a charm.

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

More
11 years 7 months ago #34386 by micker
great news !!
you do presonal module or adapte something alreday exist ?

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