Title: Duplicate Event Error
Last modified: September 18, 2020

---

# Duplicate Event Error

 *  Resolved [smartly](https://wordpress.org/support/users/smartly/)
 * (@smartly)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/duplicate-event-error/)
 * Hello,
 * it seems there might be some sort of problem with input sanitization when adding
   strings to database after firing Duplicate post link in the admin Events tab.
   Because it reports database error. Though it duplicates the event, all fields
   that came after the erroneous field remain empty in the duplicated event.
    The
   problem seems to happen when there is an apostrophe (‘) in the title or text 
   content of the event.
 * I am adding screenshot of the error here:
    [https://ibb.co/sm6Hb9z](https://ibb.co/sm6Hb9z)
 * It is tested on the newest version of WP, newest plugin version (5.9.8.1), and
   PHP version 5.6.*.
    -  This topic was modified 5 years, 8 months ago by [smartly](https://wordpress.org/support/users/smartly/).

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

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/duplicate-event-error/#post-13467119)
 * Hi,
 * can you try to install and activate WP Safe Mode to narrow down the problem and
   see if there’s any possible conflict with your other plugins or themes?
 * [https://wordpress.org/plugins/wp-safe-mode/](https://wordpress.org/plugins/wp-safe-mode/)
 *  Thread Starter [smartly](https://wordpress.org/support/users/smartly/)
 * (@smartly)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/duplicate-event-error/#post-13478052)
 * The plugin is unable to load the install files since it doesn’t accept a self-
   signed certificate. Nevertheless, I deactivated all plugins manually and the 
   problem seemed to disappear. So now I am going to narrow down the responsible
   plugin. I will let you know when I find the culprit.
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/duplicate-event-error/#post-13506591)
 * Okay, I’m going to mark this as resolved for now and re-open anytime if needed.

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

The topic ‘Duplicate Event Error’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)
 * [Duplicate Event](https://wordpress.org/support/topic-tag/duplicate-event/)

 * 3 replies
 * 2 participants
 * Last reply from: [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/duplicate-event-error/#post-13506591)
 * Status: resolved