Plugin Support
qtwrk
(@qtwrk)
Hi,
this sounds like typical nonce issue
please check that ajax request, see if it shows any nonce name/value in it
and also please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”
best regards,
Thread Starter
noxerr
(@noxerr)
In ESI nonces I have added: forminator_nonce
also, the “admin-ajax.php”, the non working gives the answer:
{“success”:false,”data”:[{“code”:”invalid_code”,”message”:””}]}
and the working:
{“success”:true,”data”:{“html”:”<div class=\”forminator-ui forminator-custom-form forminator-custom-form-5641 forminator-design–material forminator_ajax\” data-forminator-render=\”0\” data-form=\”forminator-module-5641\”><br\/><\/div><form\n\t\t\t\tid=\”forminator-module-5641\”\n\t\t\t\tclass=\”forminator-ui…………………. (about 6kb data stored in my pc)`. The response of the valid one includes 32 matches with the word nonce but lots of code.. “find(‘input[name=\”forminator_nonce\”]’).val(),n=…………”
How should I share the .har file (php of admin ajax response)?
Thread Starter
noxerr
(@noxerr)
also part of the response:
"postData": {
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8",
"text": "action=forminator_load_form&type=forminator_forms&id=5641&render_id=0&is_preview=false&preview_data=%5B%5D&extra%5B_wp_http_referer%5D=%2Fpush-ups%2F&extra%5Bpage_id%5D=5616&extra%5Breferer_url%5D=&nonce=1a93b2b24b",
"params": [
{
"name": "action",
"value": "forminator_load_form"
},
{
"name": "type",
"value": "forminator_forms"
},
{
"name": "id",
"value": "5641"
},
{
"name": "render_id",
"value": "0"
},
{
"name": "is_preview",
"value": "false"
},
{
"name": "preview_data",
"value": "%5B%5D"
},
{
"name": "extra%5B_wp_http_referer%5D",
"value": "%2Fpush-ups%2F"
},
{
"name": "extra%5Bpage_id%5D",
"value": "5616"
},
{
"name": "extra%5Breferer_url%5D",
"value": ""
},
{
"name": "nonce",
"value": "1a93b2b24b"
}
]
Thread Starter
noxerr
(@noxerr)
Also, since it’s somewhat related to admin-ajax (which is in domain.com/wp-admin/admin-ajax, is there a chance it has any relation to the options under Cache->object->Cache wp-admin? It’s on in my case
Plugin Support
qtwrk
(@qtwrk)
no , that has nothing to do with object cache
in your posted code , this part
{
"name": "nonce",
"value": "1a93b2b24b"
}
you need to back search to find the code that generates , it will show the nonce name
Thread Starter
noxerr
(@noxerr)
As said i have added forminator_nonce and it doesn’t fix it
Regarding back search, how should I do it to find out who generated that codE?
Thanks
Plugin Support
qtwrk
(@qtwrk)
it seems you have 2 topics for same issue
I will close this one then.