An error occured: Empty JSON document (410 Gone HTTP Response)
-
I used the plugin successfully yesterday, however today on the exact same WP site I keep getting the following error message:
An error occured: Empty JSON document at https://realfavicongenerator.net/files/{REDACTED}/json_result.json
I can download the json file by going to the link, but doing a wp_remote_get() on the URL gives the following response:
[http_response] => WP_HTTP_Requests_Response Object
(
[data] =>
[headers] =>
[status] =>
[response:protected] => WpOrg\Requests\Response Object
(
[body] =>
[raw] => HTTP/1.1 410 Gone
Age: 0
Cache-Control: public, max-age=0, must-revalidate
Content-Length: 0
Date: Sat, 05 Oct 2024 17:38:44 GMT
Server: Vercel
Strict-Transport-Security: max-age=63072000
Vary: RSC, Next-Router-State-Tree, Next-Router-Prefetch
X-Matched-Path: /files/[key]/[fileName]
X-Vercel-Cache: MISS
X-Vercel-Id: iad1::fra1::pnvs7-1728149924133-598bdbf1e01a
Connection: close
[headers] => WpOrg\Requests\Response\Headers Object
(
[data:protected] => Array
(
[age] => Array
(
[0] => 0
)
[cache-control] => Array
(
[0] => public, max-age=0, must-revalidate
)
[content-length] => Array
(
[0] => 0
)
[date] => Array
(
[0] => Sat, 05 Oct 2024 17:38:44 GMT
)
[server] => Array
(
[0] => Vercel
)
[strict-transport-security] => Array
(
[0] => max-age=63072000
)
[vary] => Array
(
[0] => RSC, Next-Router-State-Tree, Next-Router-Prefetch
)
[x-matched-path] => Array
(
[0] => /files/[key]/[fileName]
)
[x-vercel-cache] => Array
(
[0] => MISS
)
[x-vercel-id] => Array
(
[0] => iad1::fra1::pnvs7-1728149924133-598bdbf1e01a
)
)
)
[status_code] => 410
[protocol_version] => 1.1
[success] =>
[redirects] => 0
[url] => https://realfavicongenerator.net/files/3ef29436ba5b89a43193e40e34225b8c691b5bcc/json_result.json
[history] => Array
(
)
[cookies] => WpOrg\Requests\Cookie\Jar Object
(
[cookies:protected] => Array
(
)
)
)
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.