Bug #16228
closedFatal error: Call to a member function formWidth() on a non-object
0%
Description
There is a redundant function call in class.db_list.inc on line 305 which results in certain configurations to a Fatal error: Call to a member function formWidth() on a non-object in C:\Programme\xampp\htdocs\dummy-4.0\typo3\class.db_list.inc on line 305. I suggest to change that strategie and prioritise the function call to Object $GLOBALS['TBE_TEMPLATE'] to cope with the growing expandability of Typo3. See attached diff.
(issue imported from #M3649)
Files
Updated by old_chihoang over 18 years ago
Typo3 Version: Typo3 4.0.0
class.db_list.inc Version: 1.30.2.7
Updated by old_chihoang over 18 years ago
correction: "to cope with my growing expandability of Typo3"
Updated by old_chihoang over 18 years ago
Thanks to Michael Piecko from cross-selling-ltd.com to report this bug.
Updated by Stanislas Rolland over 18 years ago
Is this really related to rtehtmlarea?
Updated by old_chihoang over 18 years ago
I got this error only with the newest release of rtehtmlarea. so, yes it is rtehtmlarea related.
Updated by Stanislas Rolland over 18 years ago
When do you get the error? How can I reproduce the error?
Updated by old_chihoang over 18 years ago
I get this error when I install my extension RTE Generic Records (key: ch_rterecords).
Updated by Gerrit Kamp over 17 years ago
I used to be able to work with this extension because I kept using an older version of RTEHTMLArea. But with the Firefox 2.0.0.3 bug and RTE becoming a system extension, that is not practical anymore. I really would like to keep using this extension for many of my websites. I actually think that record linking should become part of the typo3 core. That's why I decided to sponsor this issue (sorry for it being only 30 euro, I am a student at the moment).
Updated by Andreas Otto † over 17 years ago
We have applied the suggested change. Thanks to Chi Hoang for the patch.