CCORP Posted March 9, 2023 Share Posted March 9, 2023 (edited) Hello there, I need some help please, if a customer registers and he doesn't add an address manually when he tries to add something to the cart and then navigate on other page the web crashes. It shows a blank page with Fatal Error and nothing can be done. After a lot of testing i find the error occurs if there's no address in his account. If i add it manually in the back end everything goes to normal. How can i solve this? I'm in prestashop 1.7.8.7 (I attach images of the errors that appear when I have the debug mode activated). Edited March 9, 2023 by CCORP Rearrange images (see edit history) Link to comment Share on other sites More sharing options...
endriu107 Posted March 9, 2023 Share Posted March 9, 2023 At first try disable a2hosting module, it may cause this issue. 1 Link to comment Share on other sites More sharing options...
CCORP Posted March 9, 2023 Author Share Posted March 9, 2023 On 3/9/2023 at 7:30 PM, endriu107 said: At first try disable a2hosting module, it may cause this issue. Expand It seems that module was the one causing the problem. Thank you very much! ^^ Link to comment Share on other sites More sharing options...
dan.angeli.995 Posted May 15, 2024 Share Posted May 15, 2024 Hi! I'm in the same situation, but for me "Prestashop Maximum product quantity" module was the reason. It's true, disable this module fixes the error, the big exception; but in this way the purpose for which the module was intended is also lost. In my case, MQC module was was in charge of the check, server-side, of purchasable maximum quantity of certain products. So, enabling it, the exception is generated in the moment when user addes a product and MQC check is triggered. Just like for @CCORP, also for me the problem is created by hookCartActionSave() called by module (a2hosting for him, mqc for me), only when logged customer is without address. Have you discovered any solution for this? Thanks for all greetings, Daniel 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