My hosting company (Dreamhost) upgraded their VPS accounts from Ubuntu 14 (also known as Trusty) to Debian 10 (aka Buster). Since they have done that, I can no longer upload photos through the PW admin. Most of my templates use the Images field and when I go to upload an image - no matter the size, I just see spinning over the image icon. I checked my console and get the following errors:
[Error] Failed to load resource: the server responded with a status of 418 () (edit, line 0)
[Error] SyntaxError: JSON Parse error: Unrecognized token '<'
parse (JqueryCore.js:2:13595)
parseJSON (JqueryCore.js:2:13595)
(anonymous function) (InputfieldImage.min.js:1:35271)
I have multiple sites hosted by Dreamhost and this is now happening on all sites. I am using Processwire 3.0.165. PHP 7.4.
I don't know what other info is helpful so please let me know if you have any ideas. I have filed a ticket and suspect this is a result of the upgrade as all these sites worked previously. And the sites still work - just can't upload and save to the images field.