ad-pro.fr Posted June 8, 2024 Share Posted June 8, 2024 Bonjour, Lorsque je click sur le module 1-Click Upgrade j'ai directement une erreur et je ne peux pas entrer dans le module pour faire ma mise à jours. L'erreur est : Type error: Argument 2 passed to PrestaShop\Module\AutoUpgrade\UpgradeSelfCheck::__construct() must be an instance of PrestaShop\Module\AutoUpgrade\PrestashopConfiguration, string given, called in /home/etudescagz/www/modules/autoupgrade/AdminSelfUpgrade.php on line 497 [Symfony\Component\Debug\Exception\FatalThrowableError 0] Je suis en version Prestashop 1.7.8.11 et je souhaite migrer vers Prestashop 8, mais le module 1-Click Upgrade ne fonctionne pas. En mode debug, j'ai ce message FatalThrowableError in modules/autoupgrade/classes/UpgradeSelfCheck.php (line 158) * @param PrestashopConfiguration $prestashopConfiguration * @param string $prodRootPath * @param string $adminPath * @param string $autoUpgradePath */ public function __construct(Upgrader $upgrader, PrestashopConfiguration $prestashopConfiguration, $prodRootPath, $adminPath, $autoUpgradePath) { $this->upgrader = $upgrader; $this->prestashopConfiguration = $prestashopConfiguration; $this->prodRootPath = $prodRootPath; $this->adminPath = $adminPath; Je ne sais pas comment résoudre ce problème, quelqu'un pourrait-il m'aider. Ma configuration Informations sur votre serveur Informations du serveur : Linux #1 SMP Thu May 19 07:42:04 UTC 2022 x86_64 Version du logiciel serveur : Apache Version de PHP : 7.4.33 Limite de mémoire : 512M Temps maximal d'exécution : 165 Taille max. pour envoi de fichiers : 128M Informations sur la base de données Version de MySQL : 8.0.35 Serveur MySQL : mj268046-001.eu.clouddb.ovh.net:35663 Nom MySQL : p711 Utilisateur MySQL : mj268046-ovh Préfixe des tables : ps_ Moteur MySQL : InnoDB Connecteur MySQL : DbPDO Liste des surcharges classes/Carrier.php classes/Cart.php classes/order/OrderDetail.php classes/Translate.php classes/Hook.php classes/form/CustomerLoginForm.php classes/form/CustomerFormatter.php classes/form/CustomerForm.php classes/Product.php classes/PaymentModule.php Herbergement : OVH performance 2 Link to comment Share on other sites More sharing options...
djmatt62 Posted June 8, 2024 Share Posted June 8, 2024 Salut j'ai le même problème depuis la mise a jour du module de la version 5.0.1 vers la 5.0.2 avec prestashop 1.7.8.11 et PHP 7.4 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted June 9, 2024 Share Posted June 9, 2024 Problème connu, solution ici Link to comment Share on other sites More sharing options...
ad-pro.fr Posted June 11, 2024 Author Share Posted June 11, 2024 Bonjour, J'ai remis le module One-click upgrade, mais j'ai exactement la même erreur. Y a t-il d'autre solutions ? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted June 11, 2024 Share Posted June 11, 2024 Supprimer le fichier modules/autoupgrade/AdminSelfUpgrade.php Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now