rubincabalida Posted January 5, 2021 Share Posted January 5, 2021 >Type error: idn_to_utf8() expects parameter 3 to be integer, string given</p> <p class="mb-0">[Symfony\Component\Debug\Exception\FatalThrowableError 0]</p> </div> when i tried to check the Network above is the error: PHP Version 7.3.25 PrestaShop: 1.7.7.0 I need help please, somebody encountered this error? Link to comment Share on other sites More sharing options...
JBW Posted January 6, 2021 Share Posted January 6, 2021 Check your ICU version and update if lower than 4.6. https://github.com/PrestaShop/PrestaShop/issues/22300 Link to comment Share on other sites More sharing options...
rubincabalida Posted January 7, 2021 Author Share Posted January 7, 2021 okay I've change the ICU but I have to upgrade my PHP Version to 7.4 Link to comment Share on other sites More sharing options...
hank22 Posted February 10, 2021 Share Posted February 10, 2021 @rubincabalidadid you ever find a fix? having same issue. thanks Link to comment Share on other sites More sharing options...
JBW Posted February 10, 2021 Share Posted February 10, 2021 4 hours ago, hank22 said: you ever find a fix? having same issue. thanks I have posted the fix above, it's related to your server ICU settings:https://github.com/PrestaShop/PrestaShop/issues/22300 Link to comment Share on other sites More sharing options...
hank22 Posted February 10, 2021 Share Posted February 10, 2021 @JBW thanks for the info. How would I update ICU version? I currently have 4.2.1. Thank you for the help. Link to comment Share on other sites More sharing options...
JBW Posted February 11, 2021 Share Posted February 11, 2021 You have to ask your webhosting. Usually it is higher if you switch to PHP 7.3 Link to comment Share on other sites More sharing options...
hank22 Posted February 11, 2021 Share Posted February 11, 2021 yea webhost told me they will not update it and I would need to do it myself. Current PHP is 7.3 and ICU 4.2.1. Does anyone know what is needed to update the ICU, I don't know how to do this... Thank You Link to comment Share on other sites More sharing options...
JBW Posted February 12, 2021 Share Posted February 12, 2021 19 hours ago, hank22 said: yea webhost told me they will not update it and I would need to do it myself. You can only do this if you have your own server where you can change ICU / PHP yourself. If you are on a shared webhosting you are depending on your host. Many people here in the forum reported that they switched to PHP 7.4. - this is officially not compatible to Prestashop, seems to work but could cause side effects. If you dare to change core files (you might need to repeat it after each upgrade), you could do the modification described here: 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