Oncle Posted December 12, 2023 Posted December 12, 2023 Hola, ayer actualicé a la versión 1.5.1 con PHP 8.1, y me sale un error (adjunto imagen) al añadir productos en el carrito cuando tengo "carrito Ajax" activado. Si lo desactivo, puedo añadir productos, pero cada vez que añado un producto se va directamente a finalizar la compra. Cosa extraña, no? H estado buscando por si hubiera alguna actualización, pero lo que encuentro es la misma que tengo (Block Cart v2.0.6 - por thirty bees). Alguna sugerencia? Gracias!
datakick Posted December 12, 2023 Posted December 12, 2023 Your theme is not php8 compatible. You should downgrade to php7.4, install collectlogs module, and fix all (serious) warnings it detects. Only then it is safe to update your store to php8 1
Oncle Posted December 14, 2023 Author Posted December 14, 2023 On 12/12/2023 at 2:30 PM, datakick said: Your theme is not php8 compatible. You should downgrade to php7.4, install collectlogs module, and fix all (serious) warnings it detects. Only then it is safe to update your store to php8 According to error logs, the only serious errors were related to mailchimp and the blog. Nothing to do with Block Cart. That's why I upgraded. Do you recommend looking for another template? Thanks
datakick Posted December 14, 2023 Posted December 14, 2023 you look not only for errors, but also for serious warnings. These warnings can raise errors on higher versions of PHP. Look at the fix for this issue in niara theme, and adapt it to your theme: https://github.com/thirtybees/niara/commit/1f9629157606620748b3b5e769d621d9ccdfc751
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