-
Notifications
You must be signed in to change notification settings - Fork 154
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
Exception when resetting password #294
Comments
Not a clue. We'd need to see the full stack trace to have any hope of helping you with that. |
Unfortunatly, I've no more informations. Everything is in AJAX and I just get an error 500 on the request. How can I help you to help me? |
Check your event logs in the backend and see if you can find it. It should have logged the stack trace. |
Here is the stack trace I get: Stack trace:
I forgot to tell the reset of the password is working. I got this error as an alert and any redirection is launch. |
@alexCollienne please post stack traces inside of code blocks to prevent creating unnecessary references to early issues. |
Ok, sorry. |
Hmm, this is odd. What build of October are you using and what plugins and versions of those plugins are you using? |
The October version is 419. Here you can find all the plugin I use in the project.
Thanks for helping. Let me know if you need more information. |
@alexCollienne are you able to update to the latest build and let me know if the issue is still present? |
Closing as it has been over a month since any activity on this occurred and we are trying to figure out what issues are still relevant. If this is still something that you would like to see through to fruition please respond and we can get the ball rolling. |
This improves on the opaque exception of "The Response content must be a string or object implementing __toString(), “boolean” given." that occurs whenever a call to $response->setContent($varThatFailsJsonEncoding) is made. It is difficult to debug the original exception, because to the developer they are not providing a boolean anywhere in their code, they are passing an array or an object to setContent() and expecting it to work; not knowing that Laravel internally tries to json_encode() that value before passing it along to Symfony, which only understands string values as response contents. Refs: - https://stackoverflow.com/a/38772790/6652884 - https://octobercms.com/forum/post/error-on-reset-password - https://octobercms.com/plugin/support/pixel-shop/bug-and-italian-translation - https://laravelquestions.com/2017/08/16/the-response-content-must-be-a-string-or-object-implementing-__tostring-boolean-given/ - rainlab/user-plugin#294
Hello,
When I try to reset the password, everything is ok until the last action. When I have the right code and I set my new password, on the validation, I get this error message : ""The Response content must be a string or object implementing __toString(), "boolean" given." on line 399 of /home/normbelcaw/www/protected/vendor/symfony/http-foundation/Response.php".
Any idea where I can fix this please?
Thanks.
The text was updated successfully, but these errors were encountered: