Hi Kay,
in
sysext/extbase/Classes/Utility/Extension.php
Zeile 177ff
ist es als
public function configureModule($moduleSignature, $modulePath) {...}
deklariert.
Kann ich das einfach auf static function ändern, oder fliegt mir dass
dann woanders um die ohren?
Generelles Unwohlsein, in den sysextensions am Code zu basteln, mal ganz
aussen vor gelassen ;-)
Viele Grüße
Tom
Am 02.05.12 13:51, schrieb Kay Strobach:
Hi Tom,
ganz einfach:
Tx_Extbase_Utility_Extension::configureModule()
muss so definiert werden
class Tx_Extbase_Utility_Extension {
static function configureModule() {
....
}
}
Das static fehlt ;)
Grüße
Kay
Am 02.05.2012 13:46, schrieb Tom Arnold:
Hi,
nach o.a. Update wirft Typo3 diesen Error aus, der sowohl im FE als auch
im BE (statt Login-Anzeige) erscheint:
"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 /blablabla/t3lib/class.t3lib_loadmodules.php line 228"
Durch die Einstellung
$TYPO3_CONF_VARS['SYS']['displayErrors'] = 0;
wird das unterdrückt und die Seite lässt sich normal benutzen, aber das
ist natürlich nicht als dauerhafte Lösung tauglich.
Hier hat jmd das gleiche Problem beschrieben, aber keine Antwort:
<http://www.typo3forum.net/forum/typo3-4-x-installation-updates/55788-update-4-5-7-4-7-php-5-4-a.html#post182602>
Es gab einen Bug in 4.5, der aber in 4.6 gelöst wurde, wo bei nicht-EN
Backend ein ähnlicher Fehler auftrat:
<https://review.typo3.org/#/c/6384/>
Hat jemand eine Idee oder Lösung dafür?
Viele Grüße
Tom
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german