Title: PHP Error
Last modified: October 3, 2023

---

# PHP Error

 *  Resolved [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/)
 * Your new version throwing a PHP error ….
 *     ```wp-block-code
       Warning: Undefined array key "monthly" in /wp-content/plugins/koko-analytics/src/class-rest.php on line 144
       ```
   
    - WP Version: 6.3.1
    - PHP Version: 8.2.10
 * Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Thread Starter [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17097492)
 * I forgot, the graph chart on the dashboard is gone. Only thing in the Koko Analytics
   box is “Showing site visits over last 14 days — View all statistics” that’s it.
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17098262)
 * Hello Seath,
 * Thank you for the bug report. Can you please confirm that you are on version 
   1.1.2 of the plugin and have emptied your browser caches?
 *  Thread Starter [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17099305)
 * Hello Danny,
 * Yes the version is 1.1.2 and I did clear my browser cache.
 * It seems that the error is triggered every time someone visits the site.
 * Hope that helps.
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17099367)
 * Hello [@seath](https://wordpress.org/support/users/seath/),
 * Do you see any error messages in your browser console? If so, could you please
   share them here? That would help us pinpoint the issue real quick.
 * If you go to the (full) Koko Analytics dashboard, do you see anything there or
   is it stuck at the message “Your Koko Analytics dashboard is booting up…”? Any
   error messages in your browser console on that page?
 *  Thread Starter [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17099404)
 * Actually I was wrong the error is triggered only in admin area not in the public
   site. I was just testing that.
 * This is what I get in Koko Analytics dashboard. The Koko Analytics dashboard 
   works perfectly. The graph all info is there.
 *     ```wp-block-code
       This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. index.php
       JQMIGRATE: Migrate is installed, version 3.4.1 jquery-migrate.min.js:2:981
       Post SMTP localize loaded. localize.js:2:13
       SyntaxError: Document.querySelectorAll: 'video:not(.js-parse-{2dd74396-fb49-49db-9d79-c16e578d6d88})' is not a valid selector content.js:2
           M moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           e moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           init moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           getVideoList moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           parse moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           onChangeBody moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           <anonymous> moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           49112 moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           __webpack_require__ moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           <anonymous> moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           <anonymous> moz-extension://83adde65-7288-4f12-9f10-fe11c58bda08/js/content.js:2
           inject resource://gre/modules/ExtensionContent.sys.mjs:581
           AsyncFunctionNext self-hosted:852
       ```
   
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17099509)
 * Hello [@seath](https://wordpress.org/support/users/seath/),
 * Thanks for the additional info! I am afraid that the issue is not caused by Koko
   Analytics itself but by one of your browser extensions. It’s hard to tell for
   me which one just looking at the error message, but it looks to be related to
   videos due to the naming of things.
 * You can disable your browser extensions one by one until the issue disappears
   to see which one is the culprit.
 * It is breaking the Koko Analytics dashboard widget because the error occurs before
   our JavaScript gets a chance to run, thus stopping any further processing.
 * I hope that helps you find the culprit. Let me know if you do please.
 *  Thread Starter [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17100276)
 * You are absolutely right. I found an old plugin in my browser I have not used
   in years for downloading videos and that was the problem.
 * Everything is working as it should now.
 * Thank you for your help!
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17100305)
 * That’s awesome, happy to hear it [@seath](https://wordpress.org/support/users/seath/)!
   Glad that’s resolved (and that your browser is a tiny bit faster now).
   PS. I 
   hate to ask but in case you’re liking the plugin and have a quick minute, [a plugin review would be very much appreciated](https://wordpress.org/support/plugin/koko-analytics/reviews/#new-post).
 *  Thread Starter [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17100319)
 * Done! You deserve it [@dvankooten](https://wordpress.org/support/users/dvankooten/)
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17101554)
 * Thanks [@seath](https://wordpress.org/support/users/seath/)!!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/koko-analytics/assets/icon.svg?rev=2980600)
 * [Koko Analytics - Privacy-Friendly WordPress Analytics](https://wordpress.org/plugins/koko-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/koko-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/koko-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/koko-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/koko-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/koko-analytics/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/php-error-607/#post-17101554)
 * Status: resolved