Shop 5.7.16 und PHP 8.1

Hallo, ich möchte meinen 5.7.16 Shop der zur Zeit noch mit PHP 7.4.33 läuft, mit PHP 8.1 betreiben. PlugIns sollten mit PHP 8 kompatibel sein. Stelle ich auf PHP 8, oder 8.1 um, erscheint diese Fehlermeldung (letzte Zeile):
/verzeichnispfad/engine/Library/Enlight/Event/Handler/Plugin.php on line 148
„engine“ hat mit dem Zahlung-Plugin Saferpay zu tun (laut Entwickler PHP 8.1 kompatibel)
Kann hier jemand mit dieser Fehlermeldung etwas Anfangen und mir Tips geben zur Lösung?

Besten Dank für Unterstützung

Hier noch die ganze Fehlermeldung:

Fatal error: Uncaught TypeError: method _exists): Argument #1 (Sobject_or_class) must be of type objectstring, null given in /verzeichnispfad/engine/Library/Enlight/Event/Handler/Plugin.php: 148 Stack trace: #0 /verzeichnispfad/engine/Library/Enlight/Event/Handler/Plugin.php(148): method_exists(NULL, ‚onPreDispatch‘) #1 /verzeichnispfad/engine/Library/Enlight/Event/EventManager.php(207):

Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_EventArgs)) #2 /verzeichnispfad/engine/Library/Enlight/Controller/Front.php(211): Enlight_Event_EventManager->notify(Enlight_Control…, Object(Enlight_Controller_EventArgs)) #3 /verzeichnispfad/engine/Shopware/Kernel.php(197): Enlight_Controller_Front->dispatch) #4 /verzeichnispfad/vendor/symfony/http-kernel/HttpCache

/SubRequestHandler.php(85): Shopware\Kernel->handle(Object(Symfony\Component HttpFoundation Request), 1, true) #5 /verzeichnispfad/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component HttpKernel UHttpCachelSubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony Component HttpFoundation\Request), 1, true) #6 /verzeichnispfad/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component UttpKernelNHItpCache\HttpCache->forward(Object(Symfony\ComponentHttpFoundation\Request),true,NULL)#7/verzeichnispfad/vendor/symfony/http-kernel/HttpCache/HttpCache.php(269):Shopware\Components\HttpCache

'AppCache->forward(Object(Symfony\Component HttpFoundation\Request), true) #8 /verzeichnispfad/engine/Shopware/Components/HttpCache/AppCache.php(106): Symfony\Component HttpKernel HttpCache VHttp Cache->pass(Object(Symfony Component HItpFoundation\Request), true) #9 /verzeichnispfad/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\ComponentHttpFoundation\Request)) #10 {main} thrown in /verzeichnispfad/engine/Library/Enlight/Event/Handler/Plugin.php on line 148

„Cache“ kommt in den Fehlermeldungen vor, hast Du auch gelöscht bzw. geleert?

Hallo, ja das habe ich.

Was mich verwundert ist, dass der Shop in der Testumgebung (mit StageWare) voll funktioniert unter PHP 8.1, der Live-Shop aber nicht. Verstehe ich echt nicht, die Testumgebung ist eine 1.1 Kopie des Live-Shop.