[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the plugin and it is still present.
WordPress version
6.1.1
Cloudflare-WordPress version
4.11.0
PHP version
8.2.4
Expected result
When I click on WAF to enable the settings in the Wordpress plugin, it enables or provides a reason on why it can't be enabled (or, if it can't be enabled due to a conflicting setting, it is not selectable).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Confirmation
WordPress version
6.1.1
Cloudflare-WordPress version
4.11.0
PHP version
8.2.4
Expected result
When I click on WAF to enable the settings in the Wordpress plugin, it enables or provides a reason on why it can't be enabled (or, if it can't be enabled due to a conflicting setting, it is not selectable).
Actual result
When I enable WAF, I get the error:
PHP message: [Cloudflare] ERROR: [CLIENT API] Array ( [type] => request [path] => https://api.cloudflare.com/client/v4/zones//settings/waf?action=cloudflare_proxy
[timeout] => 30
[method] => PATCH
[headers] => Array
(
[Content-Type] => application/json
[User-Agent] => wordpress/6.1.1; cloudflare-wordpress-plugin/4.11.0
[Authorization] => REDACTED
)
) ; PHP message: [Cloudflare] ERROR: [CLIENT API] Array ( [type] => response [reason] => Bad Request [code] => 400 )
Steps to reproduce
Additional factoids
No response
References
The following seem to have similar error messages. Unsure if same cause: https://github.com/cloudflare/Cloudflare-WordPress/issues/506 https://github.com/cloudflare/Cloudflare-WordPress/issues/481