Title: Duplicate entry database errors
Last modified: July 21, 2018

---

# Duplicate entry database errors

 *  [Bogdan](https://wordpress.org/support/users/bogdanguenther/)
 * (@bogdanguenther)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/duplicate-entry-database-errors/)
 * Dear WP Statistics Team,
 * on a highly frequented site I am getting many of these database errors in my 
   PHP error log:
 * `[21-Jul-2018 10:34:38 Europe/Berlin] WordPress database error: Duplicate entry'
   2018-07-21-/?pid=google_3a8&gclid=CjwKCAjws8vaBRBFEiwAQfhs-FXSEf' for key 'date_2'
   for query INSERT INTO'wp_4_statistics_pages'('uri','date','count','id') VALUES('/?
   pid=google_3a8&gclid=CjwKCAjws8vaBRBFEiwAQfhs-FXSEffnsdMHnoGudPaNp86nyGxpE72OxP_oSefABLmFtjW9LCkv-
   RoCMgkQAvD_BwE', '2018-07-21', 1, '2') by require('wp-blog-header.php'), wp, 
   WP->main, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WP_Statistics_Frontend::
   init, WP_Statistics_Hits->Pages`
 * Can you please advise?
 * Thank you,
    Bogdan
    -  This topic was modified 7 years, 10 months ago by [Bogdan](https://wordpress.org/support/users/bogdanguenther/).
    -  This topic was modified 7 years, 10 months ago by [Bogdan](https://wordpress.org/support/users/bogdanguenther/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fduplicate-entry-database-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/)
 * (@johanna2patricia)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/duplicate-entry-database-errors/#post-10624987)
 * Yes I get that too. Is there somebody from WP statistics that can look into this?
   
   Thanks.
 * Johanna
    -  This reply was modified 7 years, 9 months ago by [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/).

Viewing 1 replies (of 1 total)

The topic ‘Duplicate entry database 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/)

## Tags

 * [Duplicate Entry](https://wordpress.org/support/topic-tag/duplicate-entry/)

 * 1 reply
 * 2 participants
 * Last reply from: [johanna2patricia](https://wordpress.org/support/users/johanna2patricia/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/duplicate-entry-database-errors/#post-10624987)
 * Status: not resolved