-
Notifications
You must be signed in to change notification settings - Fork 642
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
[4.8.4]: Calling unknown method: craft\web\Response::getIsRevision() #14635
Comments
Hi, thanks for reporting! I was able to replicate this (though not consistently). I raised a PR for this. For future reference, to replicate this (not consistently), I did the following:
|
Just released Craft 4.8.5 and 5.0.0-beta.11 with the fix for this. Thanks again! |
hey @brandonkelly We're seeing a similar thing when the elements/save-draft action is run, presumably when it tries to autosave? The site is running 4.10.5. I'm not entirely sure how to reproduce it but I imagine it's similar to the convoluted aforementioned steps, as this is a multi site install with many editors.
|
@charliegrinsted That should be fixed now for the next release. To get the fix early, change your "craftcms/cms": "4.x-dev as 4.10.7", and then run |
Craft 4.10.8 is out with that fix. Thanks for reporting, @charliegrinsted! |
@brandonkelly @i-just I've started to see regular occurrences of this error message since updating Craft recently. Here's the stack trace (apologies for the formatting):
I'm running |
@jonleverrier - thanks for the stack trace. I raised a PR for this. |
@jonleverrier Craft 4.12.3 and 5.4.4 are out with that fix. |
What happened?
Description
Error thrown when saving an entry and returning to the entry listing screen (I think).
Steps to reproduce
I didn't notice any errors reported in the control panel, but happened to spot the error in the log a few seconds after editing an entry.
The bug is happening here:
cms/src/controllers/ElementsController.php
Line 1790 in 9d218d9
Response from here:
cms/src/controllers/ElementsController.php
Line 1937 in 9d218d9
So it's missing a check in the controller to see if the response from _element() is a web responses, and if it is, return it directly. (This is according to mattgrayisok)
Craft CMS version
4.8.4
PHP version
8.1
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered: