-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
[5.2] Properly support PDO::FETCH_CLASS in cursor() #14052
Conversation
I have refined the code:
ping @jdpanderson as this might interest you. |
Slightly adjusted Because
With |
Hey @vlakoff, since this has been merged into the v5.2.40 release, I and others (https://laracasts.com/discuss/channels/forge/sqlstatehy000-general-error-user-supplied-class-does-not-have-a-constructor) have been seeing intermittent SQL errors, and this commit seems to be what is causing them. For some select queries, I'm getting: To be perfectly honest, I'm not exactly sure what is happening here, but I hadn't had any issues before this was merged. Any idea on what could be happening here? |
Sigh. What needs to happen to fix this @vlakoff |
Fixed by #14429. |
Hey guys, I'm still having problem on my DO server deployed by Forge. On my local machine there are no problems. Locally I'm using mysql and on forge I selected Maria and HHVM (though I don't know anything about HHVM I just Googled it when I was deploying the server and it seemed as something that I should investigate and use in the future).
I'm sending an email to the App and checking if there is a user with this email in it (using softdeletes). |
That's in the above linked PR. I had fixed I had submitted a PR less than two hours after the bug report. It has been merged, but we still need a new Laravel 5.2 release to be tagged. For now you have to hold on Laravel 5.2.39. |
Hey guys, I'm still getting this the same error on 5.2.42 |
In your composer.json replace "laravelcollective/html": "5.2.*", with "laravelcollective/html": "5.2.39", This will force your app to use the .39 version where the bug doesn't exist. |
Laravel 5.2.42 just released :) |
Fixes the issue I have pointed in these comments.