I can't upload any product image although everything was working fine. The upload results in a Unexpected token < in JSON at position 0 error
I've disabled third party modules and overrides but anything changes.
This only affects products. Image and thumbnail categories are working fine.
I've search similar issues but none of them applies.
Is there anything else I can do to solve this error?