Rico92 Posted June 18, 2023 Share Posted June 18, 2023 Hello all, A customer of mine just alerted me that our website creates a error 500 page when a customer tries to go through the register and order process with an incorrect email adress (like xxxx@xxxcom), in my example the . is missing. When this happens, my prestashop does not give a notification that he email is incorrect. It just generates a error 500 when a customers tries to go the next page to pay for their order. The serverlog states the following: [Sun Jun 18 16:10:34.531386 2023] [lsapi:error] [pid 195768:tid 140503135807232] [client 84.29.203.233:54867] [host www.tcgcenter.nl] Backend fatal error: PHP Fatal error: Uncaught InvalidArgumentException: Invalid email format for the passed email: lunalavanloon@gmailcomPlease check the passed email format. in /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_facebook/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php:130\nStack trace:\n#0 /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_facebook/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php(56): FacebookAds\\Object\\ServerSide\\Normalizer::normalizeEmail('lunalavanloon@g...')\n#1 /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_facebook/classes/Handler/PixelHandler.php(153): FacebookAds\\Object\\ServerSide\\Normalizer::normalize('em', 'lunalavanloon@g...')\n#2 /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_facebook/classes/Handler/PixelHandler.php(102): PrestaShop\\Module\\PrestashopFacebook\\Handler\\PixelHandler->getCustomerInformation(Array)\n#3 /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_fac in /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_facebook/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php on line 130\n, referer: https://www.tcgcenter.nl/nl/winkelmandje?action=show Anynone knows how i can fix this and give a normal notification that the email is incorrect? Link to comment Share on other sites More sharing options...
ComGrafPL Posted June 18, 2023 Share Posted June 18, 2023 For a start rename, disable modules/ps_facebook. Clear cache and test it. If error still there, enable debug mode and show error. 1 Link to comment Share on other sites More sharing options...
jmauclair Posted October 18, 2023 Share Posted October 18, 2023 On 6/18/2023 at 4:51 PM, Rico92 said: Hello all, A customer of mine just alerted me that our website creates a error 500 page when a customer tries to go through the register and order process with an incorrect email adress (like xxxx@xxxcom), in my example the . is missing. When this happens, my prestashop does not give a notification that he email is incorrect. It just generates a error 500 when a customers tries to go the next page to pay for their order. The serverlog states the following: [Sun Jun 18 16:10:34.531386 2023] [lsapi:error] [pid 195768:tid 140503135807232] [client 84.29.203.233:54867] [host www.tcgcenter.nl] Backend fatal error: PHP Fatal error: Uncaught InvalidArgumentException: Invalid email format for the passed email: lunalavanloon@gmailcomPlease check the passed email format. in /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_facebook/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php:130\nStack trace:\n#0 /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_facebook/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php(56): FacebookAds\\Object\\ServerSide\\Normalizer::normalizeEmail('lunalavanloon@g...')\n#1 /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_facebook/classes/Handler/PixelHandler.php(153): FacebookAds\\Object\\ServerSide\\Normalizer::normalize('em', 'lunalavanloon@g...')\n#2 /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_facebook/classes/Handler/PixelHandler.php(102): PrestaShop\\Module\\PrestashopFacebook\\Handler\\PixelHandler->getCustomerInformation(Array)\n#3 /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_fac in /home/u96237p117807/domains/tcgcenter.nl/public_html/modules/ps_facebook/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php on line 130\n, referer: https://www.tcgcenter.nl/nl/winkelmandje?action=show Anynone knows how i can fix this and give a normal notification that the email is incorrect? Same issue here : ps_facebook : v1.31.1 Ps : 1.7.7.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