Title: Typ E_ERROR after import settings
Last modified: May 5, 2023

---

# Typ E_ERROR after import settings

 *  Resolved [cede007](https://wordpress.org/support/users/cede007/)
 * (@cede007)
 * [3 years ago](https://wordpress.org/support/topic/typ-e_error-after-import-settings/)
 * Hello, after trying to import settings from another events manager installation(
   from Version 6.1.3 to Version 6.3), there is a Typ E_ERROR.
 * Now the events manager can’t be activated at all, every time an error message
   comes up. I have already uninstalled the plugin several times, reinstalled, the
   error remains. Even a complete duplicate of the page did not help.
 * The error message:
 *     ```wp-block-code
       Ein Fehler vom Typ E_ERROR wurde in der Zeile 1467 der Datei …/wp-content/plugins/events-manager/em-install.php verursacht. Fehlermeldung: Uncaught TypeError: Cannot access offset of type string on string in …/wp-content/plugins/events-manager/em-install.php:1467
       Stack trace:
       #0 …/wp-content/plugins/events-manager/em-install.php(42): em_upgrade_current_installation()
       #1 …/wp-content/plugins/events-manager/events-manager.php(593): em_install()
       #2 …/wp-includes/class-wp-hook.php(308): em_init()
       #3 …/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
       #4 …/wp-includes/plugin.php(517): WP_Hook->do_action()
       #5 …/wp-settings.php(623): do_action()
       #6 …/wp-config.php(116): require_once('...')
       #7 …/wp-load.php(50): require_once('...')
       #8 …/wp-admin/admin.php(34): require_once('...')
       #9 …/wp-admin/plugins.php(10): require_once('...')
       #10 {main}
        thrown
       ```
   
 * What can I do?

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

 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [3 years ago](https://wordpress.org/support/topic/typ-e_error-after-import-settings/#post-16715040)
 * Try this to re-install Events Manager.
 * Install the [Code Snippets](https://wordpress.org/plugins/code-snippets/) plugin.
   Then in the backend click on Snippets > Add New
 * Then give it a title and add the following code:
 *     ```wp-block-code
       update_option('dbem_version', '');
       ```
   
 * Then underneath select “Only run once” and then click on the “Save Changes and
   Activate” button.
 * Then try installing and activating the Events Manager plugin.
 * This will probably not save any events that you have already created but it may
   allow you to install Events Manager.
 *  Thread Starter [cede007](https://wordpress.org/support/users/cede007/)
 * (@cede007)
 * [3 years ago](https://wordpress.org/support/topic/typ-e_error-after-import-settings/#post-16716524)
 * Thank you for your answer. I have tested it, but unfortunately it does not work,
   the same error occurs. Could I also make a change directly in the database?
 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [3 years ago](https://wordpress.org/support/topic/typ-e_error-after-import-settings/#post-16716635)
 * It’s crashing because it expects dbem_data in the wp_options table to be an array
   but instead it’s a string. Create a new code snippet just like the previous one
   but this time use the following code:
 *     ```wp-block-code
       update_option('dbem_data', array());
       ```
   
 * Alternatively, you could modify the wp_options table. Search for the row with
   an option_name of “dbem_data” and change the option_value to this:
 *     ```wp-block-code
       a:0:{}
       ```
   
 *  Thread Starter [cede007](https://wordpress.org/support/users/cede007/)
 * (@cede007)
 * [3 years ago](https://wordpress.org/support/topic/typ-e_error-after-import-settings/#post-16717728)
 * Great, thank you! This snippet works! Everything seems to be ok!
 * Actually, such an error should not happen, right? I just tried to import the 
   settings from the Events Manager, from an older version (6.1.3). I would have
   expected an error message, but not such a massive error.
 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [3 years ago](https://wordpress.org/support/topic/typ-e_error-after-import-settings/#post-16718030)
 * Yes, I agree this should not happen. But since I don’t own this plugin, there’s
   not much I can do about it.
 *  Thread Starter [cede007](https://wordpress.org/support/users/cede007/)
 * (@cede007)
 * [3 years ago](https://wordpress.org/support/topic/typ-e_error-after-import-settings/#post-16718970)
 * Now, for interest, I also tested the solution with the database entry. Works 
   also!
 * So I thank you again very much!
    -  This reply was modified 3 years ago by [cede007](https://wordpress.org/support/users/cede007/).

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

The topic ‘Typ E_ERROR after import settings’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [cede007](https://wordpress.org/support/users/cede007/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/typ-e_error-after-import-settings/#post-16718970)
 * Status: resolved