On delete items - fatal error

More
11 years 8 months ago #27754 by gruz

PHP Fatal error: Cannot access protected property FlexicontentModelItem::$event_before_delete in /var/www/vlas132/data/www/fazenda-tv.ru/administrator/components/com_flexicontent/models/items.php on line 1643, referer: fazenda-tv.ru/administrator/inde ... view=items



[img

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
11 years 8 months ago #27759 by ggppdk
mmm, the property is protected, and can only be accessed via $this reference of the item model, which is not available

please replace problem line:
Code:
$dispatcher->trigger($itemmodel->event_before_delete, array('com_content.article', $item));
with
Code:
$dispatcher->trigger('onContentBeforeDelete', array('com_content.article', $item));

i ll commit fix


-- 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 8 months ago #27766 by micker
thanks for report !

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