Undefined properties in item view

More
12 years 7 months ago - 12 years 7 months ago #25072 by gruz
At a project item view in FE I get the following error:
Notice: Undefined property: stdClass::$modified_by in /var/www/oscar/data/www/test.oscargo.ru/components/com_flexicontent/classes/flexicontent.fields.php on line 624 Notice: Undefined property: stdClass::$created_by in /var/www/oscar/data/www/test.oscargo.ru/components/com_flexicontent/classes/flexicontent.fields.php on line 650

[img


At the neighbour item there is no such an error.

I didn't have a close look yet, but this seems to be a model problem - lacks some default class properties.

J2.5
FC - 2.0 - Rev 1612 (since 17-00 30.12.2012)
Last edit: 12 years 7 months ago by gruz.

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

More
12 years 7 months ago #25075 by ggppdk
Yes but the model always retrieves these values (modified_by) and (created_by),

the code there correct modifier and creator when previewing a non-current item version

The check to detect previewing is not full-proof.

e.g. if at the same page you displayed a universal module that only has one item, or other cases too?

i have put more strict checking in r1294


-- 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 7 months ago #25077 by gruz
Thanks, fixed!

Is any additional info needed?

J2.5
FC - 2.0 - Rev 1612 (since 17-00 30.12.2012)

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

More
12 years 7 months ago #25078 by ggppdk
Well, i am guessing why this warning appear, no , no i do have something additional to ask

Regards


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