Title: Bad update Version 2
Last modified: September 2, 2016

---

# Bad update Version 2

 *  [Alec_SPB](https://wordpress.org/support/users/alec_spb/)
 * (@alec_spb)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bad-update-version-2/)
 * Plugin after the update is not working. All the settings from the previous version
   deleted. Author for soap!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bad-update-version-2/#post-7874008)
 * All of your modals are still there. We just changed how we store them. Once they
   have been imported successfully they will be flagged as done, but we havent added
   functionality to delete them permanantly yet just for this reason.
 * The following function should force re import of existing modals.
 * Add this to your themes functions.php
 *     ```
       add_action('plugin_init', 'fix_my_modals');
       function fix_my_modals()
       {
       	if(!emodal_get_option(EMCORE_SLUG.'_manual_migration'))
       	{
       		emodal_delete_option('easy-modal_migration_approval');
       		if(emodal_get_option('EasyModal_Version') && !emodal_get_option(EMCORE_SLUG.'_migration_approval'))
       		{
       			new EModal_Migrate_Pre_V2;
       		}
       		emodal_update_option(EMCORE_SLUG.'_manual_migration', true);
       	}
       }
       ```
   
 * Thanks for the high review even still. Just know we tried to prevent issues like
   this through weeks of testing. But it seems the gremlins are still showing themselves.
 * Be sure to check out all the new functionality.

Viewing 1 replies (of 1 total)

The topic ‘Bad update Version 2’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/bad-update-version-2/#post-7874008)