-
Notifications
You must be signed in to change notification settings - Fork 11k
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 5.3 migrate:rollback issue #15081
Comments
|
yes, i did. The issue is |
because working for me |
Can you provide any extra information, such as a stack trace ( |
Yes, $migrations is an array, but the Laravel source code is using it as an object I ran the command in the controller to print the stack trace here's stack trace
|
|
Have you set the PDO return mode to |
Thank you, I have it as FETCH_ASSOC. It works after changing to FETCH_CLASS. This should still be fixed or documented in upgrade guide by Laravel team. This will break up a lot of raw queries that are used in this project that need to be updated. Thank you. |
Running into a problem in Laravel 5.3
$migrations is an array instead of object, which throws non object error
Trying to get property of non-object
File Migrator.php needs to be updated Line 207 and 210 from
to
The text was updated successfully, but these errors were encountered: