gigiscol Posted June 18 Share Posted June 18 (edited) Hola. He actualizado PrestaShop de la versi贸n 8 a la 9. Todo funciona correctamente, el sitio web se ve bien, pero al acceder al administrador (backend) aparece un error. Se ha generado una excepci贸n durante la renderizaci贸n de una plantilla ("PrestaShop\PrestaShop\Core\Context\CurrencyContext::__construct(): El argumento n.掳 9 ($precision) debe ser de tipo int, se proporciona una cadena, se llama en /public_html/src/Core/Context/CurrencyContextBuilder.php en la l铆nea 62"). TypeError PrestaShop\PrestaShop\Core\Context\CurrencyContext::__construct(): El argumento n.掳 9 ($precision) debe ser de tipo int, se proporciona una cadena, se llama en /public_html/src/Core/Context/CurrencyContextBuilder.php en la l铆nea 62 驴Alguien puede ayudarme a encontrar la soluci贸n?聽 Gracias Edited June 18 by gigiscol Foro en espa帽ol y estaba en ingl茅s. (see edit history) Link to comment Share on other sites More sharing options...
deotemplate Posted June 18 Share Posted June 18 I have same error. I use original file download from Prestashop website. Prestashop version 9 very slow and can't install. I spent 2 days but still not install Prestashop 9.0.0 from anywhere (localhost, hosting) Link to comment Share on other sites More sharing options...
theodore08 Posted June 18 Share Posted June 18 An exception has been thrown during the rendering of a template" error when updating from version 8 to 9 sounds like a real headache! 馃槙 It鈥檚 like the system鈥檚 throwing a tantrum mid-upgrade. This kind of error often pops up when a template file or configuration isn鈥檛 playing nice with the new version鈥攃ould be a syntax issue, a missing dependency, or something in the template engine choking on the update. Link to comment Share on other sites More sharing options...
hannes01 Posted June 18 Share Posted June 18 Hi, having the same issue... Prestashop wizzards, please help 馃檪 Thanks. Link to comment Share on other sites More sharing options...
Andrei H Posted June 18 Share Posted June 18 Hola, Parece ser un problema conocido. 驴Puedes revisar esta solicitud de extracci贸n en GitHub y agregar manualmente los cambios al archivo src/Core/Context/CurrencyContextBuilder.php? --- Hello, This seems to be a known issue. Can you have a look at this pull request on GitHub聽and manually add the changes to the聽src/Core/Context/CurrencyContextBuilder.php file? Please note that this is the Spanish section of the forum. 1 2 Link to comment Share on other sites More sharing options...
Nickz Posted June 18 Share Posted June 18 (edited) 7 hours ago, hannes01 said: Hi, having the same issue... 聽 Same theme too?聽 I think the themes are not able to go to 9 Edited June 18 by Nickz missing an "o" (see edit history) Link to comment Share on other sites More sharing options...
gigiscol Posted June 19 Author Share Posted June 19 6 hours ago, Andrei H said: Hola, Parece ser un problema conocido. 驴Puedes revisar esta solicitud de extracci贸n en GitHub y agregar manualmente los cambios al archivo src/Core/Context/CurrencyContextBuilder.php? --- Hello, This seems to be a known issue. Can you have a look at this pull request on GitHub聽and manually add the changes to the聽src/Core/Context/CurrencyContextBuilder.php file? Please note that this is the Spanish section of the forum. Excellent, thank you so much. It worked well. I'd add this change: CountryContextBuilder.php Line 61. callPrefix: $legacyCountry->call_prefix, to聽 Line 61. callPrefix: (int) $legacyCountry->call_prefix, 1 Link to comment Share on other sites More sharing options...
hannes01 Posted June 19 Share Posted June 19 Hi, thank you. I was able to solve this error via GitHub solution but seems that I have other errors by 3rd party modules and its too early for me to upgrade to 9. Hola, gracias. Pude solucionar este error con la soluci贸n de GithHub, pero parece que tengo otros errores de m贸dulos de terceros y es demasiado pronto para actualizar a la versi贸n 9. 1 Link to comment Share on other sites More sharing options...
Eutanasio Posted June 19 Share Posted June 19 Maybe it should be better waiting for a future more stable version and until all module developers are also in line so you don't have compatibility issues: 聽 2 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