DEBUG: wp_safe_remote_get to http://api.krisinformation.se/v1/feed?format=json
DEBUG: arguments: {"timeout":5,"user-agent":"JCI WordPress-Plugin – free Version"}
DEBUG: success getting URL
DEBUG: use fallback2cache: 3
DEBUG: fallback2cache failed: no cached JSON found
API-Server does answer, but with an error-message:
404 Not Found – Check API-URL!
If you want to use the WP-Shortcode: CopyPaste this Shortcode in the Shortcode-Block or the WordPress-TEXT-editor!
API answer:
Inspect JSON: Copypaste (click in box, Strg-A marks all, then insert into clipboard) the JSON from the following box to https://jsoneditoronline.org
Server Error in ’/’ Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.Requested URL: /v1/feed
template:
{Title}
{Summary}{subloop-array:CapArea:-1} {CapAreaDesc}{/subloop-array:CapArea}
result:
Plugin-Settings (see Plugin options):
Cache: disabled
oauth Bearer Accesskey:
http-Header default Useragent: 1
The merged JSON and template:
We have a Problem with JSON here:
Either we got no JSON from the API. Or the basenode-parameter is not ok.
Switch on the Debugmode of the Plugin!