-
Notifications
You must be signed in to change notification settings - Fork 391
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
QueryException: Syntax error or access violation #215
Comments
Small update, whenever I add: |
Hi @Cannonb4ll, Apparently, the default You'll have to change your <?php
return [
// ...
'connections' => [
// ...
'mysql' => [
// ...
'strict' => false,
// ...
],
// ...
],
]; If you search for Laravel MySQL strict mode, you'll find similar issues. This however, led me to a subtle bug in the |
Thank you, I will be awaiting the new version and for now I will set set strict to false then :) |
Apparently the same error occurs in version |
@kamihouse, have you set the |
Thanks @quetzyg. Not really, is it a requirement? |
Yes, it is in this case. |
How can I be sure when I change Some elaboration on |
strict mode has been active by default since Laravel 5.2. Do a search and you'll find numerous issues about it. |
Just added the contract and trait to my 'Company' model, sometimes now I get a weird error:
(There are no customizations applied to anything else, just a clean model)
The text was updated successfully, but these errors were encountered: