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

Unable to generate controllers #40

Open
skills-up opened this issue Mar 23, 2023 · 0 comments
Open

Unable to generate controllers #40

skills-up opened this issue Mar 23, 2023 · 0 comments

Comments

@skills-up
Copy link

Hello,

I've generated models from the tables using the steps that were outlined. However, when it comes to generating the controller, I'm getting the below error:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where `id` is null' at line 1 (Connection: mysql, SQL: update `users` set  where `id` is null) on line 760 in /vendor/laravel/framework/src/Illuminate/Database/Connection.php

I cannot fathom the source of this issue. Clearly the value between set and where is missing. But, I don't know where or why a query is being executed.

Any help will be appreciated.

Thanks!

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