Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: null value in column "id" #24

Open
nflorentin opened this issue Mar 16, 2020 · 0 comments
Open

ERROR: null value in column "id" #24

nflorentin opened this issue Mar 16, 2020 · 0 comments

Comments

@nflorentin
Copy link

Hi,

I'm having the following error when accessing a page after turning on the cache:
SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "id" violates not-null constraint DETAIL: Failing row contains (null, 3, notre-equipe, 2020-03-16 10:05:06, 2020-03-16 10:05:06, 81009d37-9e21-453a-9c35-8b7a6b155a3f).

After digging into the code, I found in the file HtmlCache.php at line 153 that the primary key id is explicitly set to "null". So the error is normal as a primary key cannot be null.

Any help would be appreciated!

Thanks you
Nicolas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant