wpsnoop: fix WordPress.com Stats plugin conflicts, errors & issues

When the plugin WordPress.com Stats conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.


Discover which shortcodes wp-options PHP functions database tables and files are created by WordPress.com Stats, plus learn which plugins and/or themes could be in conflict with WordPress.com Stats.


Troubleshooting theme and plugin conflicts is easier when you know what WordPress.com Stats leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.

Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for WordPress.com Stats

Get professional support for WordPress.com Stats here

When you need professional help with WordPress: get help here


What does WordPress.com Stats version 1.8.6 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for WordPress.com Stats to perform differently in your installation, previous versions before 1.8.6 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version 1.8.6 of WordPress.com Stats behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for WordPress.com Stats by clicking here.

Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.

Which new files does WordPress.com Stats add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/stats/ 353.05kB No known conflicts with other themes or plugins.
wp-content/plugins/stats/_inc/ 3.09kB No known conflicts with other themes or plugins.
wp-content/plugins/stats/_inc/images/ 517.00B No known conflicts with other themes or plugins.
wp-content/plugins/stats/_inc/images/cloudybox-back.png 517.00B No known conflicts with other themes or plugins.
wp-content/plugins/stats/_inc/jetpack.css 2.59kB No known conflicts with other themes or plugins.
wp-content/plugins/stats/languages/ 6.10kB No known conflicts with other themes or plugins.
wp-content/plugins/stats/languages/stats.pot 6.10kB No known conflicts with other themes or plugins.
wp-content/plugins/stats/open-flash-chart.swf 63.09kB No known conflicts with other themes or plugins.
wp-content/plugins/stats/readme.txt 7.18kB No known conflicts with other themes or plugins.
wp-content/plugins/stats/screenshot-1.png 155.19kB No known conflicts with other themes or plugins.
wp-content/plugins/stats/screenshot-2.png 47.08kB No known conflicts with other themes or plugins.
wp-content/plugins/stats/screenshot-3.png 25.51kB No known conflicts with other themes or plugins.
wp-content/plugins/stats/stats.php 45.83kB No known conflicts with other themes or plugins.

Which new shortcodes does WordPress.com Stats add to WordPress?

Which new database tables are created by the WordPress plugin WordPress.com Stats?

Which new options are added to the wp-options table by WordPress.com Stats?

Option Name   Known Conflicts
stats_options Potential conflict with 1 plugin or theme

During use WordPress.com Stats may or may not create more options depending on how the plugin is configured and depending on which other themes and plugins are active in your specific hosting environment.

What new PHP functions does WordPress.com Stats declare when it is active?

Function   Conflicts Common Errors
stats_activate 1 conflict Fatal error: Cannot redeclare stats_activate()
stats_admin_menu 1 conflict Fatal error: Cannot redeclare stats_admin_menu()
stats_activity 0 conflicts Fatal error: Cannot redeclare stats_activity()
stats_add_call 0 conflicts Fatal error: Cannot redeclare stats_add_call()
stats_add_dashboard_widget 0 conflicts Fatal error: Cannot redeclare stats_add_dashboard_widget()
stats_admin_bar_head 0 conflicts Fatal error: Cannot redeclare stats_admin_bar_head()
stats_admin_bar_menu 0 conflicts Fatal error: Cannot redeclare stats_admin_bar_menu()
stats_admin_head 0 conflicts Fatal error: Cannot redeclare stats_admin_head()
stats_admin_load 0 conflicts Fatal error: Cannot redeclare stats_admin_load()
stats_admin_notices 0 conflicts Fatal error: Cannot redeclare stats_admin_notices()
stats_admin_page 0 conflicts Fatal error: Cannot redeclare stats_admin_page()
stats_admin_parent 0 conflicts Fatal error: Cannot redeclare stats_admin_parent()
stats_admin_path 0 conflicts Fatal error: Cannot redeclare stats_admin_path()
stats_admin_styles 0 conflicts Fatal error: Cannot redeclare stats_admin_styles()
stats_array 0 conflicts Fatal error: Cannot redeclare stats_array()
stats_check_key 0 conflicts Fatal error: Cannot redeclare stats_check_key()
stats_client 0 conflicts Fatal error: Cannot redeclare stats_client()
stats_convert_chart_urls 0 conflicts Fatal error: Cannot redeclare stats_convert_chart_urls()
stats_convert_image_urls 0 conflicts Fatal error: Cannot redeclare stats_convert_image_urls()
stats_convert_post_title 0 conflicts Fatal error: Cannot redeclare stats_convert_post_title()
stats_convert_post_titles 0 conflicts Fatal error: Cannot redeclare stats_convert_post_titles()
stats_convert_swf_urls 0 conflicts Fatal error: Cannot redeclare stats_convert_swf_urls()
stats_dashboard_head 0 conflicts Fatal error: Cannot redeclare stats_dashboard_head()
stats_dashboard_widget_content 0 conflicts Fatal error: Cannot redeclare stats_dashboard_widget_content()
stats_dashboard_widget_options 0 conflicts Fatal error: Cannot redeclare stats_dashboard_widget_options()
stats_display_jetpack_nag 0 conflicts Fatal error: Cannot redeclare stats_display_jetpack_nag()
stats_display_nag_on_plugin_page 0 conflicts Fatal error: Cannot redeclare stats_display_nag_on_plugin_page()
stats_flush_posts 0 conflicts Fatal error: Cannot redeclare stats_flush_posts()
stats_footer 0 conflicts Fatal error: Cannot redeclare stats_footer()
stats_get_api_key 0 conflicts Fatal error: Cannot redeclare stats_get_api_key()
stats_get_blog 0 conflicts Fatal error: Cannot redeclare stats_get_blog()
stats_get_blog_id 0 conflicts Fatal error: Cannot redeclare stats_get_blog_id()
stats_get_csv 0 conflicts Fatal error: Cannot redeclare stats_get_csv()
stats_get_option 0 conflicts Fatal error: Cannot redeclare stats_get_option()
stats_get_options 0 conflicts Fatal error: Cannot redeclare stats_get_options()
stats_get_post 0 conflicts Fatal error: Cannot redeclare stats_get_post()
stats_get_posts 0 conflicts Fatal error: Cannot redeclare stats_get_posts()
stats_get_remote_csv 0 conflicts Fatal error: Cannot redeclare stats_get_remote_csv()
stats_is_plugin_available 0 conflicts Fatal error: Cannot redeclare stats_is_plugin_available()
stats_link_plugin_meta 0 conflicts Fatal error: Cannot redeclare stats_link_plugin_meta()
stats_load_translations 0 conflicts Fatal error: Cannot redeclare stats_load_translations()
stats_multicall_query 0 conflicts Fatal error: Cannot redeclare stats_multicall_query()
stats_notice_blog_id 0 conflicts Fatal error: Cannot redeclare stats_notice_blog_id()
stats_notice_footer 0 conflicts Fatal error: Cannot redeclare stats_notice_footer()
stats_register_dashboard_widget 0 conflicts Fatal error: Cannot redeclare stats_register_dashboard_widget()
stats_register_dashboard_widget_control 0 conflicts Fatal error: Cannot redeclare stats_register_dashboard_widget_control()
stats_reports_head 0 conflicts Fatal error: Cannot redeclare stats_reports_head()
stats_reports_load 0 conflicts Fatal error: Cannot redeclare stats_reports_load()
stats_reports_page 0 conflicts Fatal error: Cannot redeclare stats_reports_page()
stats_set_api_key 0 conflicts Fatal error: Cannot redeclare stats_set_api_key()
stats_set_option 0 conflicts Fatal error: Cannot redeclare stats_set_option()
stats_set_options 0 conflicts Fatal error: Cannot redeclare stats_set_options()
stats_str_getcsv 0 conflicts Fatal error: Cannot redeclare stats_str_getcsv()
stats_uninstall 0 conflicts Fatal error: Cannot redeclare stats_uninstall()
stats_update_bloginfo 0 conflicts Fatal error: Cannot redeclare stats_update_bloginfo()
stats_update_post 0 conflicts Fatal error: Cannot redeclare stats_update_post()
stats_upgrade_options 0 conflicts Fatal error: Cannot redeclare stats_upgrade_options()
stats_xmlrpc_methods 0 conflicts Fatal error: Cannot redeclare stats_xmlrpc_methods()
wpme_dec2sixtwo 0 conflicts Fatal error: Cannot redeclare wpme_dec2sixtwo()
wpme_get_shortlink 0 conflicts Fatal error: Cannot redeclare wpme_get_shortlink()
wpme_get_shortlink_handler 0 conflicts Fatal error: Cannot redeclare wpme_get_shortlink_handler()
wpme_get_shortlink_html 0 conflicts Fatal error: Cannot redeclare wpme_get_shortlink_html()
wpme_shortlink_header 0 conflicts Fatal error: Cannot redeclare wpme_shortlink_header()
wpme_shortlink_wp_head 0 conflicts Fatal error: Cannot redeclare wpme_shortlink_wp_head()

Using WordPress.com Stats from the command line with WP-CLI

The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.


How to install WordPress.com Stats from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install stats


How to activate WordPress.com Stats from the command line with WP-CLI

To immediately activate WordPress.com Stats after WP-CLI downloads the latest version you can use the following command:

wp plugin install stats --activate


How to reinstall WordPress.com Stats from the command line with WP-CLI

To force a reinstallation of WordPress.com Stats which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install stats --force


How to update WordPress.com Stats to the latest version from the command line with WP-CLI

wp plugin update stats


How to delete WordPress.com Stats from the command line with WP-CLI

wp plugin delete stats

Where can you download earlier versions of WordPress.com Stats?

Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of WordPress.com Stats from the WordPress repository by visiting this link.

Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in WordPress.com Stats

About our testing enviroment

Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9

It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with WordPress.com Stats. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.