URI Normalization issue? (PHP Warning: undefined array key)
-
Hi Koko support,
I just wanted to report a PHP Warning I noticed while reviewing our debug log. The undefined array key warning appears to concern a page that has a normalized permalink slug. (The normalized URL <https://opensiddur.org/about-this-project/policies/%d7%97%d7%9c%d7%a7-%d7%9e%d7%94%d7%96%d7%9b%d7%95%d7%99%d7%95%d7%aa-%d7%a9%d7%9e%d7%95%d7%a8%d7%95%d7%aa/>, or <https://opensiddur.org/about-this-project/policies/חלק-מהזכויות-שמורות>.)
[03-Aug-2026 16:10:02 UTC] PHP Warning: Undefined array key "/about-this-project/policies/%D7%97%D7%9C%D7%A7-%D7%9E%D7%94%D7%96%D7%9B%D7%95%D7%99%D7%95%D7%AA-%D7%A9%D7%9E%D7%95%D7%A8%D7%95%D7%AA/" in /home/░░░/░░░/░░░/wp-content/plugins/koko-analytics/src/Pageview_Aggregator.php on line 112 Warning: Undefined array key "/about-this-project/policies/%D7%97%D7%9C%D7%A7-%D7%9E%D7%94%D7%96%D7%9B%D7%95%D7%99%D7%95%D7%AA-%D7%A9%D7%9E%D7%95%D7%A8%D7%95%D7%AA/" in /home/░░░/░░░/░░░/wp-content/plugins/koko-analytics/src/Pageview_Aggregator.php on line 112Sharing this edge case message with you in case it may be helpful in your development/support of RTL pages.
Our environment is
WordPress 7.02andPHP 8.4.23. We found this PHP Warning while usingKoko Analytics version 2.5.1. (We’ve since updated to version 2.5.2.)
You must be logged in to reply to this topic.