Title: Problem running the migrations
Last modified: July 24, 2024

---

# Problem running the migrations

 *  Resolved [Shane](https://wordpress.org/support/users/shaneoriordan/)
 * (@shaneoriordan)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/problem-running-the-migrations/)
 * Hi there,
   I am having an issue with the plugin.I get a critical error message
   in the backendThere was a problem running the migrations. Please reach out to
   GiveWP support for assistance: [https://givewp.com/support](https://givewp.com/support/)
 * The email sent reports the following.
   Error Details
 * =============
 * An error of type E_ERROR was caused in line 247 of the file /Path/to/mydomain/
   wp-content/plugins/give/src/Framework/Database/DB.php.
   Error message: Uncaught
   Give\Framework\Database\Exceptions\DatabaseQueryException: Database Query in /
   Path/to/mydomain/wp-content/plugins/give/src/Framework/Database/DB.php:247
 * Stack trace: 
   0 /Path/to/mydomain/wp-content/plugins/give/src/Framework/Database/
   DB.php(86): Give\Framework\Database\DB::runQueryWithErrorChecking(Object(Closure))
   1 /Path/to/mydomain/wp-content/plugins/give/src/FormMigration/functions.php(23):
   Give\Framework\Database\DB::__callStatic(‘get_var’, Array) 2 /Path/to/mydomain/
   wp-content/plugins/give/includes/shortcodes.php(178): _give_redirect_form_id(
   600, ‘600’) 3 /Path/to/mydomain/wp-content/plugins/give/src/Onboarding/Wizard/
   templates/form-preview.php(34): give_form_shortcode(Array) 4 /Path/to/mydomain/
   wp-content/plugins/give/src/Onboarding/Wizard/FormPreview.php(72): include_once(‘/
   Path/to/mydomai…’) 5 /Path/to/mydomain/wp-content/plugins/give/src/Onboarding/
   Wizard/FormPreview.php(57): Give\Onboarding\Wizard\FormPreview->render_page()
   6 [internal function]: Give\Onboarding\Wizard\FormPreview->setup_form_preview(”)
   7 /Path/to/mydomain/wp-content/plugins/give/src/Helpers/Hooks.php(43): call_user_func_array(
   Array, Array) 8 /Path/to/mydomain/wp-includes/class-wp-hook.php(324): Give\Helpers\
   Hooks::Give\Helpers{closure}(”) 9 /Path/to/mydomain/wp-includes/class-wp-hook.
   php(348): WP_Hook->apply_filters(NULL, Array) 10 /Path/to/mydomain/wp-includes/
   plugin.php(517): WP_Hook->do_action(Array) 11 /Path/to/mydomain/wp-admin/admin.
   php(175): do_action(‘admin_init’) 12 /Path/to/mydomain/wp-admin/index.php(10):
   require_once(‘/Path/to/mydomai…’) 13 {main} thrownI have deleted the plugin, 
   removed the database tables and then reinstalled, however I keep getting the 
   same issue.I am running the most recent version WordPress,PHP 8.2DB Server version
   MySQL 5.7.23-23Can you advise?I have the plugin running on another site with 
   the same setup and it works perfectly.Many thanksShanePS, the site is in Coming
   Soon Mode so not accessible to the public yet.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-running-the-migrations%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Shane](https://wordpress.org/support/users/shaneoriordan/)
 * (@shaneoriordan)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/problem-running-the-migrations/#post-17909970)
 * In the system info section, all is green except the following Database Tables
   were not created.:
    -  wp_give_donors
    -  wp_give_donormeta
    -  wp_give_comments
    -  wp_give_commentmeta
    -  wp_give_sessions
    -  wp_give_formmeta
    -  wp_give_sequential_ordering
    -  wp_give_donationmeta
 * If I manually create these would it work?
 *  Thread Starter [Shane](https://wordpress.org/support/users/shaneoriordan/)
 * (@shaneoriordan)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/problem-running-the-migrations/#post-17910154)
 * UPDATE
   I exported the tables from my other site (Structure Only) and imported
   into my new site.There were still 2 tables missing so I manually created these,
   then re ran the updates in the Tools / Data section.
 * All seems to work now but am still curious why the issue existed in the first
   place.

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

The topic ‘Problem running the migrations’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [Shane](https://wordpress.org/support/users/shaneoriordan/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/problem-running-the-migrations/#post-17910154)
 * Status: resolved