Closed FalconNL93 closed 2 years ago
While editing a user with a role, the following error occours
Illuminate \ Database \ QueryException SQLSTATE[HY093]: Invalid parameter number select `name`, `id` from `roles` where `id` in (1)
Removing
src/Resources/UserResource.php: 147 public static function getEloquentQuery(): Builder { return parent::getEloquentQuery()->with('roles'); }
And the edit page of a user works fine.
Versions Laravel Version 9.10.1 Laravel Locale en Laravel Config Cached false App Debug true App Env local Php Version 8.1.5
Thank you. Will look into and release a patched version soon
:tada: This PR is included in version 1.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
While editing a user with a role, the following error occours
Removing
And the edit page of a user works fine.