Nivoslider is a nice extension to integrate an image slider in your Typo3 installation (http://typo3.org/extensions/repository/view/nivoslider)
However, it has not been maintained since 2011 and is not compatible with the latest typo3 version.

It makes use of a system function which is not supported any longer. As a result, you might end up with the following error message when you try to create a new content element in the page module (the list module might still work):
Fatal error: Call to undefined method TYPO3\CMS\Core\Utility\GeneralUtility::readLLXMLfile() in /homepages/23/d183583809/htdocs/diana-nahm.de/typo3conf/ext/nivoslider/pi1/class.tx_nivoslider_pi1_wizicon.php on line 70

To fix this issue, you need to modify the code of your local extension installation or provide a xclass extension to replace the according method.

The code you need to fix is in the file typo3conf/ext/nivoslider/pi1/class.tx_nivoslider_pi1_wizicon.php

You need to replace the method
function includeLocalLang() {
$llFile = t3lib_extMgm::extPath('nivoslider').'locallang.xml';
$LOCAL_LANG = t3lib_div::readLLXMLfile($llFile, $GLOBALS['LANG']->lang);
return $LOCAL_LANG;
}

with this code

function includeLocalLang() {
$LOCAL_LANG = \TYPO3\CMS\Core\Utility\GeneralUtility::readLLfile(
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('nivoslider') . 'pi1/locallang.xml',
$GLOBALS['LANG']->lang);
return $LOCAL_LANG;
}

Nivoslider Plugin in Typo3 6.0.2

Post navigation


Leave a Reply