Typo3: Cannot re-assign $this
If you are experiencing this error whenever you are editing or adding content in the Backend of your Typo3 site right after you upgraded PHP to 5.2.x
Fatal error: Cannot re-assign $this in
/document_root/typo3conf/ext/static_info_tables/class.tx_staticinfotables_syslanguage.php
on line: 41
there should normally be a fairly easy way to fix this, apart from bugfixing the
class.tx_staticinfotables_syslanguage.php file itself:
Go to the extension manager and check which version of Static Info Tables you have installed:

If it is, like in the screenshot, anything below version 2.0.5, you will have to update it with a recent version from the Extension Repository.
After that, you should be fine and dandy again. :)




For those of you still using
For those of you still using 3.8 I solved this by replacing the string $this with $this1 in /typo3conf/ext/static_info_tables/class.tx_staticinfotables_syslanguage.php.
It has only one occurrence in this file.
Don't forget to click "Clear FE cache" for change to take effect.
Cheers.
For those of you still using
For those of you still using 3.8 I solved this by replacing the string $this with $this1 in /typo3conf/ext/static_info_tables/class.tx_staticinfotables_syslanguage.php.
It has only one occurrence in this file.
Don't forget to click "Clear FE cache" for change to take effect.
Cheers.
That's the title of the
That's the title of the image!
Yep. I'd say it didn't help
Yep. I'd say it didn't help the whole way :D
http://takras.net/pics/2010-01-11_1354.png
Hi, Thanks for this tut. I
Hi,
Thanks for this tut. I had a nightmare of a time trying to figure out why our production machine suddenly stopped working. Updated the module and now everything is hunky-dory.
Cheers,
Bazmo
I had the same problem, but
I had the same problem, but the update did not help me.
Instead the solution was to change the language in "Setup" to something different, and then change it back again.
Somehow the recent update of my Linux distribution must have changed the way Typo3 "sees" my localization variables (I guess).
Thanks for the tip.
Thanks for the tip. Upgrading from TYPO3 3.7 to 4.2 is a bit tricky. :)
this solved my problem
this solved my problem thanks - even though it was on a fresh install on php 5.
Thanks!! :)
Thanks!! :)
Mike: Your problem is caused
Mike:
Your problem is caused by this file:
class.tx_cal_tcemain_processdatamap.php
Which has nothing to do with the Static Info Tables, you might try to check for updates for that extension (or disable it).
I tried this (upgraded to
I tried this (upgraded to version 2.0.7), but still didn\'t fix the problem.
Still get fatal error:
Fatal error: Cannot re-assign $this in /home/taolearn/public_html/typo3conf/ext/cal/hooks/class.tx_cal_tcemain_processdatamap.php on line 35
Post new comment