Problem after tt_news Update
After the update of tt_news to version 3.5.2, the slide-news output seemed to be broken.
The following errormessage appears when I put slidernews on an page:
Fatal error: Call to a member function exec_SELECTquery() on a non-object in /..../typo3conf/ext/tt_news/pi/class.tx_ttnews.php on line 2378
#1 Updated by Thomas Ernst over 6 years ago
Obviously the current tt_news version requires some additional initialization.
The following quick and dirty fix worked for me:
- Edit typo3conf/ext/t3s_jslidernews/pi1/class.tx_t3sjslidernews_pi1.php
- Somewhere around line 146 you can find the instanciation of the tt_news_obj
$_tt_news_obj = t3lib_div::makeInstance('tx_ttnews'); $_tt_news_obj->cObj = &$this->cObj;
- Behind these two lines add the following two lines
$_tt_news_obj->hObj = new tx_ttnews_helpers($_tt_news_obj); $_tt_news_obj->init();
(Typo3-Version 6.1.7, tt_news 3.5.2, t3s_jslidernews 4.2.4)