I have an error occuring when trying to login to my TYPO3 backend. Unfortunately I dont know much php and dont know how to fix it...
This is the error:
PHP Runtime Notice: call_user_func() expects parameter 1 to be a valid callback, non-static method Tx_Extbase_Utility_Extension::configureModule() should not be called statically in /www/htdocs/w00754c9/t3lib/class.t3lib_loadmodules.php line 228
And this is the code of class.t3lib_loadmodules.php, from line 219 on:
function checkMod($name, $fullpath) {
if ($name == 'user_ws' && !t3lib_extMgm::isLoaded('version')) {
return FALSE;
}
// Check for own way of configuring module
if (is_array($GLOBALS['TBE_MODULES']['_configuration'][$name]['configureModuleFunction'])) {
$obj = $GLOBALS['TBE_MODULES']['_configuration'][$name]['configureModuleFunction'];
if (is_callable($obj)) {
$MCONF = call_user_func($obj, $name, $fullpath);
if ($this->checkModAccess($name, $MCONF) !== TRUE) {
return FALSE;
}
return $MCONF;
}
}
Line 228 is this one : $MCONF = call_user_func($obj, $name, $fullpath);
Can anyone help please?
Thank you so much!
It seems you use an newer PHP Version than TYPO3 needed. So it comes to errors.
You have two options: you can update your TYPO3 instance or supress the strict error message.
The second can be reached by adding
^ E_STRICT
to your php error reporting var in your webserver or in the TYPO3 install tool.I personaly recommend option one ;-)