What’s your URL? www.ubmc.co.uk
What version of Ghost are you using? Latest ghost version and CLI version as of this morning
How was Ghost installed and configured? Has been working perfectly for around 12 months on a digital ocean droplet. We have a custom theme running which can be found here: https://github.com/tomhmoses/UBMC-Casper
What Node version, database, OS & browser are you using? node version 10.19.0. Issue occurs on any OS on any browser.
What errors or information do you see in the console? When running ghost log from the terminal we normally see no errors occuring even though the issue will be happening on our screens (only the normal info messages show). After a while of testing we will start getting errors in the terminal saying multiple people are editing this post, but the same 500 error screen in the browser for the blogger. In the chrome console we see this error:
Uncaught TypeError: Cannot read property 'targetName' of undefined at error (vendor.min-b50d677c001301c7dceff8443c6f1dd5.js:formatted:15847) at e.A (vendor.min-b50d677c001301c7dceff8443c6f1dd5.js:formatted:15899) at s.triggerEvent (vendor.min-b50d677c001301c7dceff8443c6f1dd5.js:formatted:15431) at s.trigger (vendor.min-b50d677c001301c7dceff8443c6f1dd5.js:formatted:31672) at e.send (vendor.min-b50d677c001301c7dceff8443c6f1dd5.js:formatted:15596) at e.send (vendor.min-b50d677c001301c7dceff8443c6f1dd5.js:formatted:16663) at e.save (task) (ghost.min-dff68da9a8ffbb4fff7171f51eba3bb8.js:980) at Generator.throw (<anonymous>) at e._resumeGenerator (vendor.min-b50d677c001301c7dceff8443c6f1dd5.js:formatted:72487) at e._handleResolvedContinueValue (vendor.min-b50d677c001301c7dceff8443c6f1dd5.js:formatted:72548)
What steps could someone else take to reproduce the issue you’re having?
When logged in to www.ubmc.co.uk/ghost making most changes results in being redirected to the 500 error ‘cactus’ screen. This includes making any changes to a blog post, when the draft is automatically saved you are redirected (but changes are saved). Same for publishing, unpublishing. When deleting a blog post you are given error:
There was a problem on the server, please try again., but the post is actually deleted.
We are unable to change the theme too, so not sure if that could be the culprit. Is there any way to change back to the default theme from the console?
Feel free to ask any more questions as I have some time to help debug this.