Hi every one,
i’m using WP 5.4.1 and it seems that it doesn’t work with cloudflare.

when i press any button to change the configuration (example devloppement mode, or Automatic Cache Management ) i have this error in the Consol :

ReactModal2.getApplicationElement` needs to be set for accessibility reasons
t.getApplicationElement @ compiled.js?ver=3.4.1:35
/wp-admin/admin-ajax.php?action=cloudflare_proxy:1 Failed to load resource: the server responded with a status of 403 ()
/wp-admin/options-general.php?page=cloudflare#/home:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Object.callback (compiled.js?ver=3.4.1:6)
at compiled.js?ver=3.4.1:35
at d.callback (compiled.js?ver=3.4.1:35)
at d. (compiled.js?ver=3.4.1:35)
at d.r.emit (compiled.js?ver=3.4.1:35)
at XMLHttpRequest.n.onreadystatechange (compiled.js?ver=3.4.1:35)

Of course i deleted the plugin, re-install it, de-activated re-activate , install it manually, but still doesn’t work.

When i update cloudflare from the website (cloudflare), the changes are shown in the wordpress plugin.

thank you for any help.

It most certainly does work.

But your admin-ajax is throwing a 403, so something has blocked it. Check the Cloudflare Firwall Events Log fo this event. There’s also a chance your server blocked this for some reason. You’ll have to look around a bit to see why that request got blocked.

Thanks for the reply,
i checked the logs and nothing to notice except this (error logs) :

[Sat May 16 17:37:03 2020] [error] [client] [host] AH01630: client denied by server configuration: /homez.786/xxx/www/wp-admin/admin-ajax.php, referer:

and the network this (when i clic for purge cache for example) :

any help :confused:

This topic was automatically closed after 31 days. New replies are no longer allowed.