#21190Suggest: Function call on a non-object
Description
I’m working with current trunk and get following error, when I try to edit a database record in list modul:
Fatal error: Call to a member function init() on a non-object in C:\xampp_webserver\htdocs\t3lib\class.t3lib_tceforms.php on line 402
Windows
XAMPP 1.7.2
PHP 5.3
Trunk version of TYPO3 4.3-dev
I replaced following line in class.t3lib_tceforms.php:
$this->suggest->init($this);
with:
if(!is_object($this->suggest)) {
$this->suggest = t3lib_div::makeInstance(‘t3lib_TCEforms_suggest’);
}
$this->suggest->init($this);
and now it works for me.
(issue imported from #M12120)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.