Fatal error: Using $this when not in object context in (Bugs)

by Kenny @, Sunday, July 03, 2011, 11:21 (4674 days ago)
edited by Kenny, Sunday, July 03, 2011, 12:00

We are currently using MLF 2.1.4.
It suddenly has an error like:

Fatal error: Using $this when not in object context in /homepages/0/d114473249/htdocs/chat/templates_c/%%5B^5B0^5B0BAC21%%entry.tpl.inc.php on line 141

or

Fatal error: Using $this when not in object context in /homepages/0/d114473249/htdocs/chat/templates_c/%%BD^BD4^BD4E5FC3%%index.tpl.inc.php on line 191

Does anyone know what caused this error?

Thanks in advance,

Kenny

Avatar

Fatal error: Using $this when not in object context in

by Micha ⌂, Sunday, July 03, 2011, 11:29 (4674 days ago) @ Kenny

Hi Kenny,

Does anyone know what caused this error?

No, but the templates_c directory is used by SMARTY for caching. Clearing this directory maybe solves your problem.


regards
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Milo, Thanks for the help.

by Kenny, Sunday, July 03, 2011, 12:02 (4674 days ago) @ Micha

I used admin account cleaned cache, the problem did not get resolved.
I will try a server logon and cleanup at later time. Currently I am unable to logon remotely.

Thanks again!

Kenny

Avatar

Milo, Thanks for the help.

by Micha ⌂, Sunday, July 03, 2011, 12:24 (4674 days ago) @ Kenny

Hi Kenny,

I used admin account cleaned cache, the problem did not get resolved.

I belive, this function truncates the sql-caching-database only and not the template_c directory.

kind regards
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Milo, Thanks for the help.

by Kenny, Sunday, July 03, 2011, 14:07 (4674 days ago) @ Micha

You are correct, I login to my server remotely and did the cleanup as you said,
it does fixed the problem.
Thanks again!

Kenny

RSS Feed of thread