Koko with Cloudflare?
-
Hello Koko Team,
Today I set up Cloudflare for my site – a reverse proxy with CDN caching plus a Web Application Firewall, and also the new APO functionality to cache my site’s HTML at the edge.
But as soon as I enabled it, Koko stopped counting visitors – and I started getting messages like this on my site console:
[error] 78799#78799: *1401118 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: nv in .../wp-content/plugins/koko-analytics/src/functions.php on line 22 PHP message: PHP Notice: Undefined index: up in .../wp-content/plugins/koko-analytics/src/functions.php on line 23 PHP message: PHP Notice: Undefined index: p in .../wp-content/plugins/koko-analytics/src/functions.php on line 24" while reading response header from upstream, request: "GET /koko-analytics-collect.php HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.4-fpm.sock:"
Any clues? Running on an nginx server.
Wondering if this has to do with the optimized PHP endpoint (
/koko-analytics-collect.php
) in the root directory – maybe I need to set some kind of rule for it with the Cloudflare firewall / proxy?Thanks very much!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Koko with Cloudflare?’ is closed to new replies.