[TYPO3-german] Update von 4.5 auf 4.7 und PHP 5.2 -> 5.4
Tom Arnold
t3list at bnt.de
Wed May 2 14:03:23 CEST 2012
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
>
>
More information about the TYPO3-german
mailing list