Topic: Fatal error: Call to a member function addCustomFootTag()

Hi,

I'm getting the following error when I try to log in (today - yesterday it worked fine, aside from the new user form still not working properly):

Fatal error: Call to a member function addCustomFootTag() on a non-object in /home/notfried/public_html/community/components/com_content/content.html.php on line 726
Welcome to Mia! Edit ( Public )

any ideas? thanks.

Mike

mike

Re: Fatal error: Call to a member function addCustomFootTag()

reinstalled and seems to be working now. possibly was an error due to my old template (SandandStone variation) or having attempted to install Community Builder.

Mike

Re: Fatal error: Call to a member function addCustomFootTag()

With 4.9 all older templates require some code to be added just before the closing body tag.  It is noted in the upgrade doc.

Re: Fatal error: Call to a member function addCustomFootTag()

cauld wrote:

With 4.9 all older templates require some code to be added just before the closing body tag.  It is noted in the upgrade doc.

thanks.

Re: Fatal error: Call to a member function addCustomFootTag()

the aforementioned code is:

        <?php echo mosShowFoot(); ?>
    </body>

in case anyone else needs it.

However, that does not seem to be the cause of the issues I'm now having with the original error message, as I'm using the Borsers2 template now and getting the error message on any page which hosts the "Latest Content" module. AS WELL AS on the edit comments ADMIN page, IF Captcha is on.

Is this a bug?

Re: Fatal error: Call to a member function addCustomFootTag()

the non-object in com_comment is

Call to a member function addCustomFootTag() on a non-object in /home/etc/administrator/components/com_comment/admin.comment.html.php on line 231

is

    $mainframe->addCustomFootTag($tag);

i would really appreciate any input from you who know your coding. Is $tag for some reason returning an empty or bad reference?

The non-object occurs in the Latest Content module only when user is logged in and the error message is:

Call to a member function addCustomFootTag() on a non-object in /home/etc/components/com_content/content.html.php on line 726

which is also looking for $tag

JSTAG;
         $mainframe->addCustomFootTag($tag);