-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
Laravel 11 | Warning 1265 Data truncated for 'user_id' #1431
Comments
Just create a new migration public function up(): void |
+1 this breaks on new installs |
Have u tried my solution? #1431 (comment) |
yep but it likely needs to be addressed in the package itself |
The solution: Worked for me |
Is there an existing issue for this?
Current Behavior
When I access the login page I get error 500 below.
https://www.example.com/canvas/login
Note: 'sessions.user_id' is a bigint (20)
SQLSTATE[01000]: Warning: 1265 Data truncated for column 'user_id' at row 1 (Connection: mysql, SQL: update
sessionsset
payload= YTo0OntzOjY6Il90b2tlbiI7czo0MDoiZmtGMWs3RUdsVEJVY3VESmRXTzRLUDVYMlliM3dIeGJ1Q0Z5NGxNeiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzI6Imh0dHBzOi8vd3d3LmtsYXlyaXZlci5jb20vY2FudmFzIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo1MzoibG9naW5fY2FudmFzXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO3M6MzY6IjkwOGIzNGIxLTZkYWEtNGYxMC1iYWI5LWE1NWI4NjM0NTNlYyI7fQ==,
last_activity= 1718115707,
user_id= 908b34b1-6daa-4f10-bab9-a55b863453ec,
ip_address= 84.71.26.63,
user_agent= Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 OPR/110.0.0.0 where
id= b46ZFoRfsccM5IIvvGJhHBQOK3DYpHWDIhTxAyqm)
Expected Behavior
I expected the home page to load.
Steps To Reproduce
I've installed laravel 11 on my live server (no jetstream), then:
Environment
Anything else?
Please help, thanks.
#1094
#851
The text was updated successfully, but these errors were encountered: