Title: Problem during import? Potential solution
Last modified: August 22, 2016

---

# Problem during import? Potential solution

 *  Resolved [citepaul](https://wordpress.org/support/users/citepaul/)
 * (@citepaul)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/problem-during-import-potential-solution/)
 * I’ve encountered problems using this plugin when trying to import a feed with
   many events. After a bit of debugging it seems there’s a possible problem when
   importing events with characters such as ampersands in the title.
 * Within Ess_Import.php, line 342:
 *     ```
       foreach( $_POST['event_categories'] as $category_name )
       {
       ```
   
 * Needed changing to:
 *     ```
       foreach( $_POST['event_categories'] as $category_name_unescaped )
       {
               $category_name = htmlentities($category_name_unescaped);
       ```
   
 * This solved the problem for us.
 * [https://wordpress.org/plugins/events-manager-ess/](https://wordpress.org/plugins/events-manager-ess/)

The topic ‘Problem during import? Potential solution’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/events-manager-ess_e0e0e1.svg)
 * [Events Manager ESS](https://wordpress.org/plugins/events-manager-ess/)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager-ess/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager-ess/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager-ess/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager-ess/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [citepaul](https://wordpress.org/support/users/citepaul/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/problem-during-import-potential-solution/)
 * Status: resolved