202-ecommerce / stripe_official

After years of hard work with Stripe connector for PrestaShop, 202 ecommerce stop the development of Stripe module on January 9th 2023. Thanks for all contributors that help us!
20 stars 20 forks source link

Upgrading from 2.4.6 to 2.5.0 - module cause an error and was deactivated #199

Closed HartLarsson closed 1 year ago

HartLarsson commented 1 year ago

During the upgrade the module get an error and was deactivated. We need to reset it and reactivate manually to let it works.

clotairer commented 1 year ago

Hi, what’s your PrestaShop version ? Do you have logs on your PrestaShop ?

HartLarsson commented 1 year ago

PS 1.7.8.7 PHP7.2 i'm sorry i don't have the log (i tested in stage) but reactivating manually was without errors.. On production server we still with the previous version :)

clotairer commented 1 year ago

To optimize loading, we use in composer.json several optimization : https://github.com/202-ecommerce/stripe_official/blob/1e241094e614b855a2f9526f69069148b4a31f1f/composer.json#L12-L16

In some case, when you upgrade Stripe Official, the request start with the previous autoload.php of vendor directory but during the upgrade need a new class in the new version the module. In this case, it may cause a fatal error and the upgrade is not apply properly.

In this case, you just need to click on upgrade.

I'll check if new classes are defined in the classmap in the 2.5.0 and not present in 2.4.6.

202-ecommerce commented 1 year ago

After years of hard work with Stripe connector for PrestaShop, 202 ecommerce will stop developping Stripe module on January 9th 2023. After this date, merchants will get support directly