Simon Lee Posted July 10, 2020 Share Posted July 10, 2020 Hi, I am using Prestashop 1.7.6.5. In the Backend, I created a new customer group and tried to assign a customer to this new group. When I clicked "Commit", it showed the following error: An unexpected error occurred. [PrestaShop\PrestaShop\Core\Domain\Customer\Exception\CustomerException code 0] How can I fix this? Please advise. Thanks. Regards, Simon Lee Link to comment Share on other sites More sharing options...
Simon Lee Posted July 10, 2020 Author Share Posted July 10, 2020 I found the solution in the forum: For anyone having problems with the "[PrestaShop\PrestaShop\Core\Domain\Customer\Exception\CustomerException code 0]" error, I've just been experiencing that whilst trying to change customer details, passwords etc on PS 1.7.6.2 This was due to an upgrade from an older version and the "date_upd" column in the ps_customer table was set to "0000-00-00 00:00:00" for some customers, and that was causing the issue. As a quick fix, for any customers with a blank date_upd column, I copied the value of the date_add column with an SQL query: UPDATE ps_customer SET date_upd = date_add WHERE date_upd = '0000-00-00 00:00:00' 4 3 1 Link to comment Share on other sites More sharing options...
fazilnlend Posted May 30, 2021 Share Posted May 30, 2021 On 7/10/2020 at 11:42 AM, Simon Lee said: I found the solution in the forum: For anyone having problems with the "[PrestaShop\PrestaShop\Core\Domain\Customer\Exception\CustomerException code 0]" error, I've just been experiencing that whilst trying to change customer details, passwords etc on PS 1.7.6.2 This was due to an upgrade from an older version and the "date_upd" column in the ps_customer table was set to "0000-00-00 00:00:00" for some customers, and that was causing the issue. As a quick fix, for any customers with a blank date_upd column, I copied the value of the date_add column with an SQL query: UPDATE ps_customer SET date_upd = date_add WHERE date_upd = '0000-00-00 00:00:00' right or below for all customers into DB if the query give error when filtering only customers with a blank date_upd column UPDATE psiw_customer SET date_upd = sysdate() 2 Link to comment Share on other sites More sharing options...
rastalan Posted September 6, 2022 Share Posted September 6, 2022 I got the same error trying to delete a language entry but I have no user with date on 0. Link to comment Share on other sites More sharing options...
ZHSoft Posted December 18, 2023 Share Posted December 18, 2023 When I executed this command, the problem was solved. sudo chmod -R 777 .htaccess Link to comment Share on other sites More sharing options...
ccristian Posted March 8 Share Posted March 8 On 12/18/2023 at 11:00 AM, ZHSoft said: When I executed this command, the problem was solved. sudo chmod -R 777 .htaccess And if we run the shop in a local envoirement like Xampp for Windows, how do we do that? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted March 10 Share Posted March 10 On 3/8/2025 at 12:50 PM, ccristian said: And if we run the shop in a local envoirement like Xampp for Windows, how do we do that? In Windows, It's not required. Files have permission by default in the windows. Link to comment Share on other sites More sharing options...
ccristian Posted March 10 Share Posted March 10 9 hours ago, Knowband Plugins said: In Windows, It's not required. Files have permission by default in the windows. I didn t know that. Thank you! I thought ZHSoft solution will work for me too but it seems like I have bad luck 1 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