Confirmed problem with 20+ CF domains
-
I see this in the Purge Log:
ERROR: Zone domain not found [mydomain.com]But that domain is definitely added to Cloudflare and in use.
I looked at your code and the ccfw_getZoneID function has no per_page or pagination details, so it only loads the first 18 domains in the account.
I edited line 75 to:
$result = wp_remote_get("https://api.cloudflare.com/client/v4/zones?per_page=200",
And it now gets my domain zone id correctly.
Can you adjust your plugin to either load more results or handle pagination? Or even a manual zone id entry would be fine. Thanks!
- The topic ‘Confirmed problem with 20+ CF domains’ is closed to new replies.