Error parsing JSON when adding CNAME
-
Hi,
I have S3 offloads working correctly. When I add a custom CNAME the URL preview fails because the Ajax response from admin-ajax.php is not valid JSON.The response looks like this:
{"success":"1","url":"https:\/\/dlgzs8prgxxxx.cloudfront.net\/wp‑content\/uploads\/2020\/04\/photo.jpg","seo_friendly":false}Cheatin’ eh?
I can see the ‘Cheatin eh?’ comes from classes/Amazon_S3_And_CloudFront::verify_ajax_request()
I am logged in as an admin user.
WordPress 5.4
WP Offload Media Lite 2.3.2
PHP 7.3
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error parsing JSON when adding CNAME’ is closed to new replies.