Title: Autoloaded options &#8211; wp_statistics_tracker_js_errors
Last modified: August 10, 2025

---

# Autoloaded options – wp_statistics_tracker_js_errors

 *  [horgster](https://wordpress.org/support/users/horgster/)
 * (@horgster)
 * [10 months ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/)
 * Hello!
 * I have an critical site health warning in my WordPress site regards to Autoloaded
   Options.
   Noticed that wp_statistics_tracker_js_errors stores over 2,4MB of data
   that is bloating my WP_options table causing severe impact on my site. My service
   hosting provider has warned about this to.
 * I do not understand why WP Statistics allows this autoloaded option to just grow
   and grow in size! Any plugin should not allow this, and there should be set an
   maximum retention size on this.
 * The reason why it is growing is that I have an Theme that uses depricted PHP 
   functions and hence the trackers logs these errors rapidly! This has also been
   reported in previous case [https://wordpress.org/support/topic/constantly-updating-wp_statistics_tracker_js_errors/](https://wordpress.org/support/topic/constantly-updating-wp_statistics_tracker_js_errors/)
 * The next version of WP Statistics should allow us in the settings page to:
   – 
   Set the maximum error size that is logged in the DB– Enable / disable the debugging
   feature directly in the settings page and not need to add it to the functions.
   php which is just an hassle and you lose overview
 * Best Regards
   Horgster

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

 *  Thread Starter [horgster](https://wordpress.org/support/users/horgster/)
 * (@horgster)
 * [10 months ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/#post-18592540)
 * Hi,
   I would also like to address that the “WP Statistics” plugin should at no
   circumstances logs deprecated warnings of other plugins/themes unless you really
   need it into the wp_options table!!There should also be implemented an sensible
   size limit and frequency limit incase you need to debug this. Please set this
   to “disabled” be default, and add these options in the General Settings page 
   of the debugger to enable **these features when needed!!**In complicated WordPress
   installations will always time to time have deprecated functions and logging 
   this is unnecessary unless debugging is really needed.I have added an temporary
   filter
 * add_filter(‘wp_statistics_disable_tracker_debugger_logs’, function () {
 *     return true; // Disables tracker debugger error logging
 * });
 * Please fix this!
 *  [Mehmet](https://wordpress.org/support/users/gandomi/)
 * (@gandomi)
 * [10 months ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/#post-18593526)
 * Hello [@horgster](https://wordpress.org/support/users/horgster/),
 * Thank you for sharing your detailed feedback and concerns regarding the `wp_statistics_tracker_js_errors`
   option.
 * We understand how a large autoloaded option can affect site performance, and 
   we appreciate you taking the time to explain your case and suggestions clearly.
 * I have forwarded your feedback and recommendations to our development team for
   review. We will keep you updated on any progress regarding this matter.
 * In the meantime, if you have any further suggestions or ideas, we’d be happy 
   to hear them via our feedback board here:
   [https://feedback.veronalabs.com/boards/wp-statistics](https://feedback.veronalabs.com/boards/wp-statistics)
 * Thank you again for helping us improve WP Statistics.
 * Best regards,
   Mehmet
 *  [Mehmet](https://wordpress.org/support/users/gandomi/)
 * (@gandomi)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/#post-18604625)
 * Hello [@horgster](https://wordpress.org/support/users/horgster/),
 * Thank you again for your valuable feedback and for pointing out this important
   matter.
 * I’d like to let you know that the concern you mentioned has already been addressed
   in our development version.
   It is not yet included in an official release, but
   you can already access it through our development branch on GitHub.[https://github.com/wp-statistics/wp-statistics/tree/development](https://github.com/wp-statistics/wp-statistics/tree/development)
 * Once the fix is officially released in the next version of WP Statistics, I will
   update you here to let you know.
 * We appreciate your patience and your contribution to improving the plugin.
 * Best regards,
   Mehmet
 *  Thread Starter [horgster](https://wordpress.org/support/users/horgster/)
 * (@horgster)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/#post-18608559)
 * Hi [@gandomi](https://wordpress.org/support/users/gandomi/) 
   Thank you very much
   for taking this issue seriously and for the quick response.Looking forward for
   update when new version is ready.Best RegardsHorgster
 *  [Mehmet](https://wordpress.org/support/users/gandomi/)
 * (@gandomi)
 * [9 months ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/#post-18629114)
 * Hello [@horgster](https://wordpress.org/support/users/horgster/),
 * Thank you again for your patience and support.
 * I’m happy to let you know that this issue has now been resolved in the latest
   official release. Please update your plugin to version **14.15.14** to apply 
   the fix.
 * We really appreciate your help in improving WP Statistics and your continued 
   trust in us.
 * Best regards,
   Mehmet
 *  Thread Starter [horgster](https://wordpress.org/support/users/horgster/)
 * (@horgster)
 * [9 months ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/#post-18629688)
 * Hi [@gandomi](https://wordpress.org/support/users/gandomi/)
 * Thank you very much for this update and quick service!
 * In the release notes; it states “Prevented `wp_statistics_tracker_js_errors` 
   option bloat by limiting stored errors and truncating error messages.”
 * What has been fixed here, as it states “limiting” errors, does that mean that
   we will still posted error messages in the autoloader?
 *  [Mehmet](https://wordpress.org/support/users/gandomi/)
 * (@gandomi)
 * [9 months ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/#post-18631122)
 * Hello [@horgster](https://wordpress.org/support/users/horgster/),
 * Thank you for your follow-up and your attention to detail.
 * Regarding your question about the release note “limiting stored errors and truncating
   error messages”:
    - We updated the code so that, no matter how many entries come in, we only keep**
      10 errors,** removing the oldest ones from the beginning of the list.
    - We also added a **safeguard on error message length**. Very long messages 
      are truncated, and the limit is configurable via a filter.
 * This ensures the autoloaded option will no longer bloat your database, even if
   many errors are generated.
 * Best regards,
   Mehmet
 *  Thread Starter [horgster](https://wordpress.org/support/users/horgster/)
 * (@horgster)
 * [9 months ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/#post-18631810)
 * Hi [@gandomi](https://wordpress.org/support/users/gandomi/)
 * Thank you for quick response and detailed explenation.
 * Assume that these 10 errors also includes following error types; warnings, deprecated
   as well, or will it only keep the Error type?
   Bear in mind that many wordpress
   sites will have lots of “deprecated” error types due to plugins / themes etc 
   that yet is not updated. This will continuously keeping writing unnecessary traffic
   to the the autoloader. Our ISP has requested us to avoid this as much as possible.
 * Being able to debug is important, but I think you should add an option /check
   box to allow the user to enable / disable this feature when needed. This feature
   has more value when you need to debug rather than keeping it logging and writing
   to the autoloader each time a page is loaded.
 * We have often release of ticket sales to our event, causing severe high peak 
   traffic, and such will contribute to avoid unnecessary traffic and reduce the
   load.
 * Allow the customer to decide if they want this feature on or off. Don’t you agree?
   
   Best RegardsHorgster
 *  [Mehmet](https://wordpress.org/support/users/gandomi/)
 * (@gandomi)
 * [9 months ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/#post-18632036)
 * Hello [@horgster](https://wordpress.org/support/users/horgster/),
 * Thank you again for your valuable input.
 * I’ve shared your suggestion with our development team for further review, and
   I’ll follow up with you once I have an update from them. For now, please continue
   using the filter you mentioned to keep the debugger logs disabled, as that will
   prevent unnecessary entries from being stored.
 * I’ll also make sure to explain your concerns to the team so that they can evaluate
   the possibility of adding a toggle option in the settings for enabling or disabling
   this feature.
 * We really appreciate your thoughtful feedback and the time you’ve taken to help
   us improve WP Statistics.
 * Best regards,
   Mehmet

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

The topic ‘Autoloaded options – wp_statistics_tracker_js_errors’ is closed to new
replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Mehmet](https://wordpress.org/support/users/gandomi/)
 * Last activity: [9 months ago](https://wordpress.org/support/topic/autoloaded-options-wp_statistics_tracker_js_errors/#post-18632036)
 * Status: not resolved