Unpublished item redirect issue

More
14 years 9 months ago #4290 by gnomeontherun
I wasn't logged in, and put in the URL to a draft item. I got this

Notice: Undefined variable: mainframe in /public_html/components/com_flexicontent/models/items.php on line 178

Fatal error: Call to a member function redirect() on a non-object in /public_html/components/com_flexicontent/models/items.php on line 178

Seems that the method needs $mainframe to be declared as a global before the redirect.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.311 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