laracrud
laracrud copied to clipboard
Unable to generate controllers
trafficstars
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!