Title: Fatal error while activating all plugins
Last modified: July 22, 2023

---

# Fatal error while activating all plugins

 *  [hollenberg0752](https://wordpress.org/support/users/hollenberg0752/)
 * (@hollenberg0752)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-all-plugins/)
 * Hello, as I did not find any answer in the forum, can anybody help on fatal errors
   with statistics plugins? I had WP Statistics on my blog, but then deactivated
   it, because I wanted to try another one. Anyway, when I re-installed it, I received
   a fatal arror message. Then I deactivated it and tried to install three other
   statistics plugins such as, but every time I received the same message: Fatal
   error. My internet provider said that PHP and WordPress – from their perspective–
   are working all right. Then I tried the error logfiles and found huge lists. 
   They pointed out that the error messages come from calling a file, which is …/
   plugins/wp-excel-cms/public/wp-excel-cms.php. They said I should delete this 
   WP excel plugin, which I did. But still I am receiving fatal errors on all statistics
   plugins I try to install. The error message in WordPress is:
 * Fatal error: Uncaught mysqli_sql_exception: Duplicate entry ‘2014-10-19’ for 
   key ‘unique_date’ in /mnt/web006/a3/88/51314188/htdocs/WordPress_01/wp-includes/
   wp-db.php:2056 Stack trace: #0 /mnt/web006/a3/88/51314188/htdocs/WordPress_01/
   wp-includes/wp-db.php(2056): mysqli_query() #1 /mnt/web006/a3/88/51314188/htdocs/
   WordPress_01/wp-includes/wp-db.php(1945): wpdb->_do_query() #2 /mnt/web006/a3/
   88/51314188/htdocs/WordPress_01/wp-admin/includes/upgrade.php(3032): wpdb->query()#
   3 /mnt/web006/a3/88/51314188/htdocs/WordPress_01/wp-content/plugins/wp-statistics/
   includes/class-wp-statistics-install.php(109): dbDelta() #4 /mnt/web006/a3/88/
   51314188/htdocs/WordPress_01/wp-content/plugins/wp-statistics/includes/class-
   wp-statistics-install.php(63): WP_STATISTICS\Install::table_sql() #5 /mnt/web006/
   a3/88/51314188/htdocs/WordPress_01/wp-content/plugins/wp-statistics/includes/
   class-wp-statistics-install.php(35): WP_STATISTICS\Install::create_table() #6/
   mnt/web006/a3/88/51314188/htdocs/WordPress_01/wp-content/plugins/wp-statistics/
   includes/class-wp-statistics.php(332): WP_STATISTICS\Install->install() #7 /mnt/
   web006/a3/88/51314188/htdocs/WordPress_01/wp-includes/class-wp-hook.php(303):
   WP_Statistics::install() #8 /mnt/web006/a3/88/51314188/htdocs/WordPress_01/wp-
   includes/class-wp-hook.php(327): WP_Hook->apply_filters() #9 /mnt/web006/a3/88/
   51314188/htdocs/WordPress_01/wp-includes/plugin.php(470): WP_Hook->do_action()#
   10 /mnt/web006/a3/88/51314188/htdocs/WordPress_01/wp-admin/plugins.php(193): 
   do_action() #11 {main} thrown in /mnt/web006/a3/88/51314188/htdocs/WordPress_01/
   wp-includes/wp-db.php on line 2056
 * Can anybody help?
 * Best regards

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

 *  Plugin Author [Mostafa Soufi](https://wordpress.org/support/users/mostafas1990/)
 * (@mostafas1990)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-all-plugins/#post-16914332)
 * Hello,
 * Thank you for reporting the issue, can you please double-check that you are using
   the latest version of WP Statistics? The latest version is 14.1.3.1
 *  Thread Starter [hollenberg0752](https://wordpress.org/support/users/hollenberg0752/)
 * (@hollenberg0752)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-all-plugins/#post-16916159)
 * Hello,
 * thank you for your reply. As I had the plugin de-installed and re-installed, 
   I must have used the newest version, yes. Interestingly, this did not only happen
   with WP Statistics, but for the first time I tried other statistics plugins, 
   and all of them told me: Fatal error.
 * Does this error code makes sense to you?
 *  Thread Starter [hollenberg0752](https://wordpress.org/support/users/hollenberg0752/)
 * (@hollenberg0752)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-all-plugins/#post-16929689)
 * Hello Mostafa,
 * were you able to identify the problem?
 * Best regards

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

The topic ‘Fatal error while activating all plugins’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [hollenberg0752](https://wordpress.org/support/users/hollenberg0752/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-all-plugins/#post-16929689)
 * Status: not resolved