DEBUG: set debugmode active via template, level: 10
DEBUG: version of plugin: 3.8.5
DEBUG: selected parser: twig332adj
DEBUG: load from template , urlparam4twig and use: aa
DEBUG: set method via template , method: curlget
DEBUG: set template via template : {% set pageprop = wp_get_page_properties() %}{% set pageid = pageprop.get_post.ID %}{% set cpfjson = pageprop.cpf %}
<hr>
aa: {{urlparam.aa.0 | stripslashes | e }}<hr>
<form action=.>
<input type=text name=aa[] value="{{urlparam.aa.0 | stripslashes | e }}">
<input type=submit>
</form>
DEBUG: set url via template : {% set pageprop = wp_get_page_properties() %}{% set pageid = pageprop.get_post.ID %}{% set cpfjson = pageprop.cpf %}
http://api.json-content-importer.com/extra/json/1.json?a={{cpfjson.acf2.0}}
DEBUG: active method: curlget
DEBUG: dynamic url NOT allowed, therefore ignore pathparam / fileext. Switch on: See plugin-options
DEBUG: read urlparam4twig : aa
DEBUG: { or % in url: exexcute twig-parser on it with urlparam-data: {% set pageprop = wp_get_page_properties() %}{% set pageid = pageprop.get_post.ID %}{% set cpfjson = pageprop.cpf %}
http://api.json-content-importer.com/extra/json/1.json?a={{cpfjson.acf2.0}}
DEBUG: execute twig-code in url-parameter: twig-template: {% set pageprop = wp_get_page_properties() %}{% set pageid = pageprop.get_post.ID %}{% set cpfjson = pageprop.cpf %}
http://api.json-content-importer.com/extra/json/1.json?a={{cpfjson.acf2.0}}
twig-JSON: Array
(
[urlparam] => Array
(
[aa] =>
)
)
DEBUG: JSON-url: http://api.json-content-importer.com/extra/json/1.json?a=thisisanflied
DEBUG: curloptions really used:
DEBUG: Caching-Foldercheck: Cachefolders ok and available
DEBUG: use this cachefile: /www/htdocs/w01dd2db/test.json-content-importer.com/wp-content/cache/jsoncontentimporterpro/c8035c06311d552c1122f0964418b380-cod41d8cd98f00b204e9800998ecf8427e.cgi
DEBUG: Caching is NOT enabled
DEBUG: postbody IGNORED, this is used only if WP-POST is selected as method:
DEBUG: curlGET: curl_setopt CURLOPT_RETURNTRANSFER (19913) with value 1
DEBUG: curlGET: curl_setopt CURLOPT_FOLLOWLOCATION (52) with value 1
DEBUG: curlGET: invalid curl-authmethod, check plugin-options: AUTH-TOKöEN:IPcdTpaqa4tkzC35mDuJxOVYitCt8qzY5I35p4gtZiU
DEBUG: curlGET: curl-timeout: 5
DEBUG: curlGET: curl_setopt CURLOPT_TIMEOUT (13) with value 5
DEBUG: curlGET: no curloptions defined
DEBUG: api-answer:
If it’s JSON: Copypaste (click in box, Strg-A marks all, then insert into clipboard) the JSON from the following box to https://jsoneditoronline.org):
DEBUG: urlparam in JSON, call by 'urlparam.KEY': Array
(
[aa] =>
)
DEBUG: twig: wpautop not used
DEBUG: twig-template:
DEBUG: twig: available urlparam (adress via 'urlparam.NAME_OF_KEY') : {"aa":""}
DEBUG: JSON used for twig-template:
Inspect JSON: Copypaste (click in box, Strg-A marks all, then insert into clipboard) the JSON from the following box to https://jsoneditoronline.org):
DEBUG: twig: eval shortcode in template AFTER inserting JSON
DEBUG: Twig-result:
aa:
Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /www/htdocs/w01dd2db/test.json-content-importer.com/wp-content/plugins/jsoncontentimporterpro3/lib/twig.php on line 1282