Title: WordPress database error Duplicate entry
Last modified: April 28, 2025

---

# WordPress database error Duplicate entry

 *  Resolved [premjitzool](https://wordpress.org/support/users/premjitzool/)
 * (@premjitzool)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-database-error-duplicate-entry-22/)
 * This is to let you know that I’m constantly getting this below error in my error
   log. What is the best way to fix this as it keeps coming up. I think this is 
   happening for my multi language for which im using WPML.
   Is this a know issue.
   How we can fix this? I have attached the below error for your reference. have
   masked the URL for privacy.
 * [28-Apr-2025 00:02:34 UTC] WordPress database error Duplicate entry ‘[https://xxx-ffffff.com/kn-in/library-locations/%e0%…&#8217](https://xxx-ffffff.com/kn-in/library-locations/%e0%…&#8217);
   for key ‘url’ for query INSERT INTO `wp_litespeed_url` SET url=’[https://xxx-ffffff.com/kn-in/library-locations/%e0%b2%85%e0%b2%9c%e0%b3%80%e0%b2%82-%e0%b2%aa%e0%b3%8d%e0%b2%b0%e0%b3%87%e0%b2%ae%e0%b3%8d%e0%b2%9c%e0%b2%bf-%e0%b2%ab%e0%b3%8c%e0%b2%82%e0%b2%a1%e0%b3%87%e0%b2%b6%e0%b2%a8%e0%b3%8d-81/&#8217](https://xxx-ffffff.com/kn-in/library-locations/%e0%b2%85%e0%b2%9c%e0%b3%80%e0%b2%82-%e0%b2%aa%e0%b3%8d%e0%b2%b0%e0%b3%87%e0%b2%ae%e0%b3%8d%e0%b2%9c%e0%b2%bf-%e0%b2%ab%e0%b3%8c%e0%b2%82%e0%b2%a1%e0%b3%87%e0%b2%b6%e0%b2%a8%e0%b3%8d-81/&#8217);
   made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook-
   >apply_filters, wp_ob_end_flush_all, ob_end_flush, LiteSpeed\Core->send_headers_force,
   apply_filters(‘litespeed_buffer_finalize’), WP_Hook->apply_filters, LiteSpeed\
   Optimize->finalize, LiteSpeed\Optimize->_optimize, LiteSpeed\Optimize->_build_hash_url,
   LiteSpeed\Optimizer->serve, LiteSpeed\Data->save_url

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

 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-database-error-duplicate-entry-22/#post-18439731)
 * [@premjitzool](https://wordpress.org/support/users/premjitzool/) please share
   me a report ID: from LSC => Toolbox => Report => click on “Send to Litesped” 
   and I can start debugging the issue. Thank you 🙂
 *  Thread Starter [premjitzool](https://wordpress.org/support/users/premjitzool/)
 * (@premjitzool)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-database-error-duplicate-entry-22/#post-18439769)
 * I have share the report. Please let me know what else you need to check the issue
 * Last Report Number: **PZWOUAGI**
 * Last Report Date: **04/28/2025 14:48:32**
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year ago](https://wordpress.org/support/topic/wordpress-database-error-duplicate-entry-22/#post-18440475)
 * [https://pastebin.ubuntu.com/p/QmzpHDkjr9/](https://pastebin.ubuntu.com/p/QmzpHDkjr9/)
 * please try these 2 queries in phpmyadmin -> this site’s DB
    -  This reply was modified 1 year ago by [qtwrk](https://wordpress.org/support/users/qtwrk/).
 *  Thread Starter [premjitzool](https://wordpress.org/support/users/premjitzool/)
 * (@premjitzool)
 * [11 months ago](https://wordpress.org/support/topic/wordpress-database-error-duplicate-entry-22/#post-18534175)
 * Im still getting the same error even after I run these 2 queries. Also when I
   run the query it returned empty row
 * MySQL returned an empty result set (i.e. zero rows). (Query took 0.1264 seconds.)
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [11 months ago](https://wordpress.org/support/topic/wordpress-database-error-duplicate-entry-22/#post-18534368)
 * please create a ticket by mail to `support at litespeedtech.com` with reference
   link to this topic , we will investigate furhter.

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

The topic ‘WordPress database error Duplicate entry’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

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

 * 5 replies
 * 3 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [11 months ago](https://wordpress.org/support/topic/wordpress-database-error-duplicate-entry-22/#post-18534368)
 * Status: resolved