Jump to content

Fehler


SMSgmbh

Recommended Posts

Hallo,

ich habe meine Seite im Wartungsmodus, da ich aktuell von 1.7. auf 8.1.x updaten möchte.
Wartungsseite wird auch angezeigt, aber ich komme nicht mehr ins BackEnd.

Im manuell eingeschalteten Debug-Modus erhalte ich folgende Fehlermeldung.

Kann jemand helfen, was der Fehler ist?

Deprecated: AppKernel implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /mnt/web506/a3/89/510713489/htdocs/site/app/AppKernel.php on line 33 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /mnt/web506/a3/89/510713489/htdocs/site/config/bootstrap.php on line 89 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /mnt/web506/a3/89/510713489/htdocs/site/config/bootstrap.php on line 89 Fatal error: Uncaught Error: Undefined constant "_PS_ALLOW_MULTI_STATEMENTS_QUERIES_" in /mnt/web506/a3/89/510713489/htdocs/site/classes/db/DbPDO.php:92 Stack trace: #0 /mnt/web506/a3/89/510713489/htdocs/site/classes/db/DbPDO.php(135): DbPDOCore::getPDO() #1 /mnt/web506/a3/89/510713489/htdocs/site/classes/db/Db.php(330): DbPDOCore->connect() #2 /mnt/web506/a3/89/510713489/htdocs/site/classes/db/Db.php(241): DbCore->__construct() #3 /mnt/web506/a3/89/510713489/htdocs/site/config/alias.php(47): DbCore::getInstance() #4 /mnt/web506/a3/89/510713489/htdocs/site/classes/shop/Shop.php(1345): pSQL() #5 /mnt/web506/a3/89/510713489/htdocs/site/classes/shop/Shop.php(341): ShopCore::findShopByHost() #6 /mnt/web506/a3/89/510713489/htdocs/site/config/config.inc.php(128): ShopCore::initialize() #7 /mnt/web506/a3/89/510713489/htdocs/site/index.php(27): require('...') #8 {main} thrown in /mnt/web506/a3/89/510713489/htdocs/site/classes/db/DbPDO.php on line 92

 

Danke im Voraus!

 

Link to comment
Share on other sites

sollte dein Hoster dich zwingen wollen auf php8.3 zu gehen, dann solltest du einen Serverwechsel nicht ausschließen. 
Netcup zum Beispiel hat noch ältere Versionen.

Link to comment
Share on other sites

Hab nun auf PHP 7.4 runtergestellt. Nun kommt folgende Fehlermeldung:

 

Warning: Use of undefined constant _PS_ALLOW_MULTI_STATEMENTS_QUERIES_ - assumed '_PS_ALLOW_MULTI_STATEMENTS_QUERIES_' (this will throw an Error in a future version of PHP) in /mnt/web506/a3/89/510713489/htdocs/site/classes/db/DbPDO.php on line 92 Warning: session_set_cookie_params(): Cannot change session cookie parameters when headers already sent in /mnt/web506/a3/89/510713489/htdocs/site/src/Core/Session/SessionHandler.php on line 116 Warning: Use of undefined constant _PS_SMARTY_CACHING_TYPE_ - assumed '_PS_SMARTY_CACHING_TYPE_' (this will throw an Error in a future version of PHP) in /mnt/web506/a3/89/510713489/htdocs/site/config/smarty.config.inc.php on line 43

 

(1/1) ContextErrorException

Warning: Use of undefined constant _PS_ENV_ - assumed '_PS_ENV_' (this will throw an Error in a future version of PHP)

in index.php line 74

 

????

 

DANKE schon mal für den Tip mit PHP-Version 😉

Link to comment
Share on other sites

Wenn du nicht verrätst, von welcher Prestashop-Version genau du upgraden willst (davon hängt die PHP-Kompabilität ab), ist es unnötig schwer zu helfen.

Hast du den Inhalt des Ordners var/cache nach der PHP-Umstellung gelöscht?

Welche Version des Upgrade-Moduls nutzt du?

PS: Der Betreff eines Threads sollte ein bisschen aussagekräftiger ausfallen ...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...