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 with inserting by Notifications. #11

Open
simonproud opened this issue Aug 29, 2018 · 1 comment
Open

Error with inserting by Notifications. #11

simonproud opened this issue Aug 29, 2018 · 1 comment

Comments

@simonproud
Copy link

If put Model or Class into quotes, then all normal.
Illuminate \ Database \ QueryException (08P01) SQLSTATE[08P01]: <<Unknown error>>: 7 ERROR: error in argument for $1: strconv.ParseInt: parsing "29f8bead-9693-4a94-9f6d-a56b472f4d37": invalid syntax (SQL: insert into "notifications" ("id", "type", "data", "read_at", "notifiable_id", "notifiable_type", "updated_at", "created_at") values (29f8bead-9693-4a94-9f6d-a56b472f4d37, App\Notifications\UserCreated, [], , 378345546439589889, App\User, 2018-08-29 16:11:35, 2018-08-29 16:11:35))

@nbj
Copy link
Owner

nbj commented Sep 8, 2018

Could you provide me with a code example?

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

2 participants