Bug #16228
closed
Fatal error: Call to a member function formWidth() on a non-object
Added by old_chihoang about 18 years ago.
Updated about 16 years ago.
Category:
RTE (rtehtmlarea + ckeditor)
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
Typo3 Version: Typo3 4.0.0
class.db_list.inc Version: 1.30.2.7
correction: "to cope with my growing expandability of Typo3"
Thanks to Michael Piecko from cross-selling-ltd.com to report this bug.
Is this really related to rtehtmlarea?
I got this error only with the newest release of rtehtmlarea. so, yes it is rtehtmlarea related.
When do you get the error? How can I reproduce the error?
I get this error when I install my extension RTE Generic Records (key: ch_rterecords).
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).
We have applied the suggested change. Thanks to Chi Hoang for the patch.
Also available in: Atom
PDF