matcorrao VIP
Total posts: 83
08 Aug 2012 11:26

Hello Support,

I've updated my Cobalt to last version (7.8799) and now when I try to edit content in frontend I receive the following message:

Fatal error: Call to a member function isAdmin() on a non-object in /home/webcodin/public_html/sipanel/components/com_cobalt/fields/html/tmpl/input/default.php on line 18

Checked the line but don't want to mess with it.

I did my resave of fields and types after update, did I miss something?

As usual, thanks a lot!

Matias

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
08 Aug 2012 20:45

This bug has been already fixed and release will be available today. Please follow our blog where we announce updates.


Sergey
Total posts: 13,748
08 Aug 2012 20:47

For immediate fix open this file

/home/webcodin/public_html/sipanel/components/com_cobalt/fields/html/tmpl/input/default.php

And at the bottom in PHP section add line

$app = JFactory::getApplication();

Or simply unpublish HTML field until update.


matcorrao VIP
Total posts: 83
09 Aug 2012 12:39

Thanks Sergey, addint the line at the top of PHP did the trick!

Great, thank you!

Matias

Powered by Cobalt