- 0
Katamaze: PDOException: SQLSTATE[HY000]: General error: 1525 Incorrect DATE value: '0000-00-00'
-
Recently Browsing 0 members
- No registered users viewing this page.
By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated
Question
DeboraT.
I have the Katamaze add-on for electronic invoicing. Previously I used a dedicated server on serverplan, now I have moved everything to Siteground. Since then I have a problem "PDOException: SQLSTATE[HY000]: General error: 1525 Incorrect DATE value: '0000-00-00'" I contacted my server and they said: "The error you are getting is due to SQL Server operating in strict mode, which does not allow '0000-00-00' to be used as a valid date. Instead of disabling strict mode, which is generally not recommended to maintain database integrity, you can resolve this issue by addressing the root cause in your code or database schema." I should therefore insert instead of '0000-00-00', the value NULL or a valid default date. I wrote to support but they do not respond. What can I do?
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.