• Resolved Shane

    (@shaneoriordan)


    Hi there,

    I am having an issue with the plugin.
    I get a critical error message in the backend
    There was a problem running the migrations. Please reach out to GiveWP support for assistance:?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}?thrown

    I 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.2
    DB Server version MySQL 5.7.23-23
    Can you advise?

    I have the plugin running on another site with the same setup and it works perfectly.

    Many thanks

    Shane

    PS, the site is in Coming Soon Mode so not accessible to the public yet.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Shane

    (@shaneoriordan)

    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

    (@shaneoriordan)

    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)
  • You must be logged in to reply to this topic.