Title: Database Error after Elementor Pro update
Last modified: May 17, 2022

---

# Database Error after Elementor Pro update

 *  Resolved [Nico Marcuz](https://wordpress.org/support/users/nick7766/)
 * (@nick7766)
 * [4 years ago](https://wordpress.org/support/topic/database-error-after-elementor-pro-update/)
 * Hi Shea!
 * After updating Code Snippets Elementor Pro Update version 3.6.2 => 3.7.1 throws
   the following database error in our php errorlog:
 * =====
 *     ```
       #7 {main}
         thrown in /kunden/customer_id/webseiten/testseite.hello-world.net/wp-content/plugins/code-snippets/php/snippet-ops.php(508) : eval()'d code on line 2
       [17-May-2022 09:10:46 UTC] WordPress-Datenbank-Fehler Duplicate key name 'route_url_index' für Abfrage ALTER TABLE <code>wp_2_e_notes</code> ADD INDEX <code>route_url_index</code> (<code>route_url</code> (191)), ADD INDEX <code>post_id_index</code> (<code>post_id</code>), ADD INDEX <code>element_id_index</code> (<code>element_id</code>), ADD INDEX <code>parent_id_index</code> (<code>parent_id</code>), ADD INDEX <code>author_id_index</code> (<code>author_id</code>), ADD INDEX <code>status_index</code> (<code>status</code>), ADD INDEX <code>is_resolved_index</code> (<code>is_resolved</code>), ADD INDEX <code>is_public_index</code> (<code>is_public</code>), ADD INDEX <code>created_at_index</code> (<code>created_at</code>), ADD INDEX <code>updated_at_index</code> (<code>updated_at</code>), ADD INDEX <code>last_activity_at_index</code> (<code>last_activity_at</code>); von do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ElementorPro\Core\Database\Base_Database_Updater->ElementorPro\Core\Database\{closure}, ElementorPro\Core\Database\Base_Database_Updater->up, Elementor\Core\Utils\Collection->map, array_map, ElementorPro\Core\Database\Base_Database_Updater->ElementorPro\Core\Database\{closure}, ElementorPro\Modules\Notes\Database\Migrations\Initial->up, ElementorPro\Core\Database\Base_Migration->create_indexes
       [17-May-2022 09:10:46 UTC] WordPress-Datenbank-Fehler Duplicate key name 'type_index' für Abfrage ALTER TABLE <code>wp_2_e_notes_users_relations</code> ADD INDEX <code>type_index</code> (<code>type</code>), ADD INDEX <code>note_id_index</code> (<code>note_id</code>), ADD INDEX <code>user_id_index</code> (<code>user_id</code>); von do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ElementorPro\Core\Database\Base_Database_Updater->ElementorPro\Core\Database\{closure}, ElementorPro\Core\Database\Base_Database_Updater->up, Elementor\Core\Utils\Collection->map, array_map, ElementorPro\Core\Database\Base_Database_Updater->ElementorPro\Core\Database\{closure}, ElementorPro\Modules\Notes\Database\Migrations\Initial->up, ElementorPro\Core\Database\Base_Migration->create_indexes
       [17-May-2022 09:10:46 UTC] WordPress-Datenbank-Fehler Duplicate column name 'author_display_name' für Abfrage ALTER TABLE <code>wp_2_e_notes</code> ADD COLUMN <code>author_display_name</code> varchar(250) null comment "Save the author name when the author was deleted." AFTER <code>author_id</code>; von do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ElementorPro\Core\Database\Base_Database_Updater->ElementorPro\Core\Database\{closure}, ElementorPro\Core\Database\Base_Database_Updater->up, Elementor\Core\Utils\Collection->map, array_map, ElementorPro\Core\Database\Base_Database_Updater->ElementorPro\Core\Database\{closure}, ElementorPro\Modules\Notes\Database\Migrations\Add_Author_Display_Name->up, ElementorPro\Core\Database\Base_Migration->add_columns
       [17-May-2022 09:10:46 UTC] WordPress-Datenbank-Fehler Duplicate column name 'route_post_id' für Abfrage ALTER TABLE <code>wp_2_e_notes</code> ADD COLUMN <code>route_post_id</code> bigint(20) unsigned null comment "The post id of the route that the note was created on." AFTER <code>route_title</code>; von do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ElementorPro\Core\Database\Base_Database_Updater->ElementorPro\Core\Database\{closure}, ElementorPro\Core\Database\Base_Database_Updater->up, Elementor\Core\Utils\Collection->map, array_map, ElementorPro\Core\Database\Base_Database_Updater->ElementorPro\Core\Database\{closure}, ElementorPro\Modules\Notes\Database\Migrations\Add_Route_Post_Id->up, ElementorPro\Core\Database\Base_Migration->add_columns
       [17-May-2022 09:10:46 UTC] WordPress-Datenbank-Fehler Duplicate column name 'position' für Abfrage ALTER TABLE <code>wp_2_e_notes</code> ADD COLUMN <code>position</code> text null comment "A JSON string that represents the position of the note inside the element in percentages. e.g. {x:10, y:15}" AFTER <code>status</code>; von do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, ElementorPro\Core\Database\Base_Database_Updater->ElementorPro\Core\Database\{closure}, ElementorPro\Core\Database\Base_Database_Updater->up, Elementor\Core\Utils\Collection->map, array_map, ElementorPro\Core\Database\Base_Database_Updater->ElementorPro\Core\Database\{closure}, ElementorPro\Modules\Notes\Database\Migrations\Add_Note_Position->up, ElementorPro\Core\Database\Base_Migration->add_columns
       ```
   
 * ===
 * thnx for helping in advance
    Nico
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-error-after-elementor-pro-update%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [4 years ago](https://wordpress.org/support/topic/database-error-after-elementor-pro-update/#post-15667020)
 * This is an error coming from one of your snippets. It looks like you’re trying
   to run some database alterations that have already been applied.
 *  Thread Starter [Nico Marcuz](https://wordpress.org/support/users/nick7766/)
 * (@nick7766)
 * [4 years ago](https://wordpress.org/support/topic/database-error-after-elementor-pro-update/#post-15667052)
 * Shea you are right. we have solved the problem. sorry for the trouble.
 * best regards
    Nico
 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [4 years ago](https://wordpress.org/support/topic/database-error-after-elementor-pro-update/#post-15667056)
 * Glad to hear it!

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

The topic ‘Database Error after Elementor Pro update’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/database-error-after-elementor-pro-update/#post-15667056)
 * Status: resolved