• Resolved TKouch

    (@tkouch)


    Please help. It appears that you try to follow up on support tickets within 2 business days, but I am not getting any assistance. I am trying to implement the GiveWP plugin and it keeps failing on the updater. I submitted my error logs 5 days ago to post #14377312 (a weekend fell within there), but have heard NO response! I added my comments to a similar post, so maybe I need to create my own ticket here.

    I have tried running the updater on both 2.10.2 and 2.10.3 versions. I see you now have a 2.10.4 version and didn’t know if I should try that version. I am on GoDaddy hosting (can’t find any caching to disable). I have run the updater multiple times, reloading my database backup between, trying various things. I deactivated most of the plugins and it still fails. I am in a staging environment.

    Details
    ——-

    URL: http://new.ncaonline.net/staging/
    WP Version: 5.7.1
    Theme: Churhius
    Version: 2.5
    Author: monkeysan
    Child Theme: not yet
    
    Active Plugins
    --------------
    All-in-One WP Migration version 7.4.1 by ServMask 
    All-in-One WP Migration Unlimited Extension version 2.39 by ServMask 
    Churhius Theme – Functionality version 1.0.8 by monkeysan 
    Contact Form 7 version 5.4 by Takayki Miyoshi 
    Easy Tables (vc) version 2.0.1 by WPBakery 
    Give - Donation Plugin Version 2.10.3 & 2.10.4
    Latest Tweets Widget version 1.1.4 by Tim Whitlock 
    Redux version 4.1.24 by Redux.io + Dovy Paukstys 
    Sermon Manager for WordPress version 2.16.7 by WP for Church 
    Slider Revolution version 6.3.3 by ThemePunch
    The Events Calendar version 5.5.0.1 by The Events Calendar 
    WPBakery Page Builder version 6.6.0 by Michael M - WPBakery.com
    
    Inactive Plugins (inactivated to try to get this to work ... many will be active in production)
    ----------------
    Easy Google Fonts version 1.4.4 by Titanium Themes
    Envato Market version 2.0.6 by Envato 
    EventON version 2.3.23 by AshanJay
    EventOn - Events List version 0.7 by AshanJay
    Go Daddy Quick Setup version 1.04 by GoDaddy.com
    Google Analytics Dashboard for WP (GADWP) version 6.7.0 by ExactMetrics
    Gravity Forms version 1.9.17.8 by rocketgenius
    Gravity Forms version 2.4.24 by rocketgenius
    Gravity Forms CSS Ready Class Selector version 1.1 by Brad Vincent
    Gravity Forms Mailchimp Add-On version 4.8 by Gravity Forms
    Gravity Forms PayPal Standard Add-On version 3.4 by Gravity Forms
    Hello Dolly version 1.7.2 by Matt Mulleweg
    Limit Login Attempts version 1.7.1 by Johan Eenfeldt
    Limit Login Attempts Reloaded version 2.21.0 by Limit Login Attempts Reloaded
    MailPoet version 2.14 by MailPoet
    MailPoet version 3.60.9 by MailPoet
    McAfee SECURE version 1.9.1 by TrustedSite
    Post Grid by PickPlugins version 2.1.3 by PickPlugins
    Qube+ Elements version 1.1 by Qube+
    Qube+ Once Click Import version 3.1 by Qube+
    Really SImple SSL version 4.0.13 by Really Simple Plugins
    Search & Replace version 3.2.1 by Inpsyde GmbH
    Series Engine version 2.8.4 by Eric Murrell (Volacious)
    Sermon Browser version 0.45.22 by Mark Barnes
    Sermon Podcast for Church Theme Content version 1.0.6 by Churchly
    Simple CSS version 1.1.1 by Tom Osborne
    SlickNav Mobile Menu version 1.9.1 by Neil Gee
    Smash Balloon Instagram Feed version 2.9 by Smash Balloon 
    UpdraftPlus - Backup/Restore version 1.16.53 by UpdraftPlus.com
    Woocommerce version 5.2.2 by Automattic 
    WordPress Importer version 0.7 by wordpressdotorg 
    Yoast Duplicate Post version 4.1.2 by Enrico Battocchi & Team Yoast
    Yoast SEO version 16.1.1 by Team Yoast

    The first error (Update error) log gives the following message:
    —————————————————————

    post_title:Update Error
    post_content:Update Task
    Total update count: 0
    Update IDs: Array
    (
    )
    Update: Array
    (
        [update_info] => Array
            (
                [id] => migrate_existing_logs
                [version] => 2.10.0
                [callback] => Array
                    (
                        [0] => Give\Log\Migrations\MigrateExistingLogs Object
                            (
                                [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
                                    (
                                    )
    
                                [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
                                    (
                                    )
    
                            )
    
                        [1] => run
                    )
    
                [type] => database
            )
    
        [step] => 643721
        [update] => 29
        [heading] => Update 29 of 30
        [percentage] => 0
        [total_percentage] => 93
    )
    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/class-give-background-updater.php
    line:365
    function:add
    class:Give_Logging

    And the second error (Update pause) log gives the following message:
    ——————————————————————–

    post_title:Update Pause
    post_content:stdClass Object
    (
        [key] => wp_give_db_updater_batch_932d9258387bb8eb59976bc779f0b6d5
        [data] => Array
            (
                [14] => Array
                    (
                        [id] => v20_rename_donor_tables
                        [version] => 2.0.0
                        [callback] => give_v20_rename_donor_tables_callback
                        [depend] => Array
                            (
                                [0] => v20_move_metadata_into_new_table
                                [1] => v20_logs_upgrades
                                [2] => v20_upgrades_form_metadata
                                [3] => v20_upgrades_payment_metadata
                                [4] => v20_upgrades_user_address
                                [5] => v20_upgrades_donor_name
                            )
    
                        [type] => database
                    )
    
                [29] => Array
                    (
                        [id] => migrate_existing_logs
                        [version] => 2.10.0
                        [callback] => Array
                            (
                                [0] => Give\Log\Migrations\MigrateExistingLogs Object
                                    (
                                        [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
                                            (
                                            )
    
                                        [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
                                            (
                                            )
    
                                    )
    
                                [1] => run
                            )
    
                        [type] => database
                    )
    
            )
    
    )
    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:360
    function:add
    class:Give_Logging

    and the third error (update health check) log gives the following:
    —————————————————————–

    post_title:Update Health Check
    post_content:Array
    (
        [id] => migrate_existing_logs
        [version] => 2.10.0
        [callback] => Array
            (
                [0] => Give\Log\Migrations\MigrateExistingLogs Object
                    (
                        [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
                            (
                            )
    
                        [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
                            (
                            )
    
                    )
    
                [1] => run
            )
    
        [type] => database
    )
    
    Updated doing update:
    Array
    (
        [update_info] => Array
            (
                [id] => migrate_existing_logs
                [version] => 2.10.0
                [callback] => Array
                    (
                        [0] => Give\Log\Migrations\MigrateExistingLogs Object
                            (
                                [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
                                    (
                                    )
    
                                [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
                                    (
                                    )
    
                            )
    
                        [1] => run
                    )
    
                [type] => database
            )
    
        [step] => 643721
        [update] => 1
        [heading] => Update 1 of 0
        [percentage] => 0
        [total_percentage] => 0
    )
    
    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:574
    function:add
    class:Give_Logging

    I’m sure this is an easy fix, as we have no data yet. Any assistance you can provide would be appreciated. My site development is on hold in case I need to restore from my backup, so I would appreciate a response either here or on ticket #14377312.
    THANK YOU IN ADVANCE,
    Terri

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hey,

    This is not an official response to your question, but I saw your post and I’m wondering if you tried manually replacing the plugin files via FTP to satisfy the update.

    Plugin Support Rick Alday

    (@mrdaro)

    Hi @tkouch,

    What’s going on here is a result of a missing table on the site. Here’s a long-winded explanation:

    We overhauled the logging system in GiveWP in version 2.10.x to make it much easier to manage logs in the application. A part of that overhaul was taking the existing logs (in a table named wp_give_logs) and moving them to a new table that was structured in a way that is more performant. The new table is named wp_give_log (no s on the end). The order of events was the following:

    1. create the new log table. (this happens silently upon update to 2.10.x)
    2. migrate the logs from the old logs table to the new log table (this happens as a result of clicking the button to run the updates)
    3. delete the old and no longer needed logs table. (this happens at the end of step 2, automatically)

    I suspect that somehow on your site the logs table was deleted before the migration in step 2 happened, and GiveWP doesn’t know how to fix that, so it just fails with a logged failure.

    You can add the missing _give_logs table with the following SQL command:
    (Do NOT try this on your live site. Do it in a staging site first and be sure to backup first!)

    https://gist.github.com/rickalday/24fc18ef298d5604e4c4f7f6ea658bc5

    Please note that the table prefix wp_ may be different on your database so edit the command accordingly.

    Your host might be able to help you implement the table in the database if you’re not comfortable with code.

    Once that is done you can proceed with the database update (it may require pausing and restarting the update routine a couple of times, and refreshing the page).

    Let me know if that resolves things, or if you need further assistance. Thanks for using GiveWP! Have a great day.`

    • This reply was modified 4 years, 11 months ago by Rick Alday.
    Thread Starter TKouch

    (@tkouch)

    Thanks for your help. I did exactly as your instructions said. Afterwards, the wp_give_log table was empty and the wp_give_logs table had 1 row in it.

    I then re-installed the Give-Donation plugin (version 2.4.10) and tried to run the updater. It gave me this error almost immediately:
    An unexpected issue occurred during the database update which caused it to stop automatically. Please contact support for assistance.

    There are 3 error logs created from running the updater:

    (1) `Description: Update Error
    Category: Migration
    Source: Give Core
    Date & Time: 2021-05-07 18:04:53`
    Error details:

    post_title:Update Error
    post_content:Update Task
    Array
    (
        [update_info] => Array
            (
                [id] => migrate_existing_logs
                [version] => 2.10.0
                [callback] => Array
                    (
                        [0] => Give\Log\Migrations\MigrateExistingLogs Object
                            (
                                [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
                                    (
                                    )
    
                                [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
                                    (
                                    )
    
                            )
    
                        [1] => run
                    )
    
                [type] => database
            )
    
        [step] => 1
        [update] => 29
        [heading] => Update 29 of 30
        [percentage] => 0
        [total_percentage] => 90
    )
    
    Error
     Query failed in database
    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/class-give-background-updater.php
    line:394
    function:add
    class:Give_Logging

    ================================

    Description: Update Pause
    Category: Migration
    Source: Give Core
    Date & Time: 2021-05-07 18:04:53
    Error details:
    

    post_title:Update Pause
    post_content:stdClass Object
    (
    [key] => wp_give_db_updater_batch_1bdaa3e068beaebc540c9164ac503d67
    [data] => Array
    (
    [10] => Array
    (
    [id] => v20_upgrades_user_address
    [version] => 2.0.0
    [callback] => give_v20_upgrades_user_address
    [type] => database
    )

    [11] => Array
    (
    [id] => v20_upgrades_payment_metadata
    [version] => 2.0.0
    [callback] => give_v20_upgrades_payment_metadata_callback
    [type] => database
    )

    [12] => Array
    (
    [id] => v20_upgrades_donor_name
    [version] => 2.0.0
    [callback] => give_v20_upgrades_donor_name
    [type] => database
    )

    [13] => Array
    (
    [id] => v20_move_metadata_into_new_table
    [version] => 2.0.0
    [callback] => give_v20_move_metadata_into_new_table_callback
    [depend] => Array
    (
    [0] => v20_upgrades_payment_metadata
    [1] => v20_upgrades_form_metadata
    )

    [type] => database
    )

    [14] => Array
    (
    [id] => v20_rename_donor_tables
    [version] => 2.0.0
    [callback] => give_v20_rename_donor_tables_callback
    [depend] => Array
    (
    [0] => v20_move_metadata_into_new_table
    [1] => v20_logs_upgrades
    [2] => v20_upgrades_form_metadata
    [3] => v20_upgrades_payment_metadata
    [4] => v20_upgrades_user_address
    [5] => v20_upgrades_donor_name
    )

    [type] => database
    )

    [15] => Array
    (
    [id] => v201_upgrades_payment_metadata
    [version] => 2.0.1
    [callback] => give_v201_upgrades_payment_metadata_callback
    [type] => database
    )

    [16] => Array
    (
    [id] => v201_add_missing_donors
    [version] => 2.0.1
    [callback] => give_v201_add_missing_donors_callback
    [type] => database
    )

    [17] => Array
    (
    [id] => v201_move_metadata_into_new_table
    [version] => 2.0.1
    [callback] => give_v201_move_metadata_into_new_table_callback
    [depend] => Array
    (
    [0] => v201_upgrades_payment_metadata
    [1] => v201_add_missing_donors
    )

    [type] => database
    )

    [18] => Array
    (
    [id] => v210_verify_form_status_upgrades
    [version] => 2.1.0
    [callback] => give_v210_verify_form_status_upgrades_callback
    [type] => database
    )

    [19] => Array
    (
    [id] => v213_delete_donation_meta
    [version] => 2.1.3
    [callback] => give_v213_delete_donation_meta_callback
    [depends] => Array
    (
    [0] => v201_move_metadata_into_new_table
    )

    [type] => database
    )

    [20] => Array
    (
    [id] => v215_update_donor_user_roles
    [version] => 2.1.5
    [callback] => give_v215_update_donor_user_roles_callback
    [type] => database
    )

    [21] => Array
    (
    [id] => v224_update_donor_meta
    [version] => 2.2.4
    [callback] => give_v224_update_donor_meta_callback
    [type] => database
    )

    [22] => Array
    (
    [id] => v224_update_donor_meta_forms_id
    [version] => 2.2.4
    [callback] => give_v224_update_donor_meta_forms_id_callback
    [depend] => Array
    (
    [0] => v224_update_donor_meta
    )

    [type] => database
    )

    [23] => Array
    (
    [id] => v230_move_donor_note
    [version] => 2.3.0
    [callback] => give_v230_move_donor_note_callback
    [type] => database
    )

    [24] => Array
    (
    [id] => v230_move_donation_note
    [version] => 2.3.0
    [callback] => give_v230_move_donation_note_callback
    [type] => database
    )

    [25] => Array
    (
    [id] => v230_delete_donor_wall_related_donor_data
    [version] => 2.3.0
    [callback] => give_v230_delete_dw_related_donor_data_callback
    [depend] => Array
    (
    [0] => v224_update_donor_meta
    [1] => v224_update_donor_meta_forms_id
    [2] => v230_move_donor_note
    [3] => v230_move_donation_note
    )

    [type] => database
    )

    [26] => Array
    (
    [id] => v230_delete_donor_wall_related_comment_data
    [version] => 2.3.0
    [callback] => give_v230_delete_dw_related_comment_data_callback
    [depend] => Array
    (
    [0] => v230_move_donor_note
    [1] => v230_move_donation_note
    )

    [type] => database
    )

    [27] => Array
    (
    [id] => v240_update_form_goal_progress
    [version] => 2.4.0
    [callback] => give_v240_update_form_goal_progress_callback
    [type] => database
    )

    [28] => Array
    (
    [id] => add-past-donation-data-to-revenue-table
    [version] => 2.9.0
    [callback] => Array
    (
    [0] => Give\Revenue\Migrations\AddPastDonationsToRevenueTable Object
    (
    )

    [1] => run
    )

    [type] => database
    )

    [29] => Array
    (
    [id] => migrate_existing_logs
    [version] => 2.10.0
    [callback] => Array
    (
    [0] => Give\Log\Migrations\MigrateExistingLogs Object
    (
    [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
    (
    )

    [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
    (
    )

    )

    [1] => run
    )

    [type] => database
    )

    )

    )
    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:360
    function:add
    class:Give_Logging`

    ================================

    Description: Update Health Check
    Category: Migration
    Source: Give Core
    Date & Time: 2021-05-07 18:04:53
    Error details:
    

    post_title:Update Health Check
    post_content:Array
    (
    [id] => migrate_existing_logs
    [version] => 2.10.0
    [callback] => Array
    (
    [0] => Give\Log\Migrations\MigrateExistingLogs Object
    (
    [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
    (
    )

    [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
    (
    )

    )

    [1] => run
    )

    [type] => database
    )

    Updated doing update:
    Array
    (
    [update_info] => Array
    (
    [id] => upgrade_give_payment_customer_id
    [version] => 1.3.2
    [callback] => give_v132_upgrade_give_payment_customer_id
    [type] => database
    )

    [step] => 1
    [update] => 1
    [heading] => Update 1 of 2
    [percentage] => 0
    [total_percentage] => 0
    )

    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:574
    function:add
    class:Give_Logging`

    ================================

    We have NO donation data as I am trying to get this working for the first time. My guess is that the issue came from trying to import demo data from the new theme into our WP environment.

    Can I just DELETE the plugin and all the wp_give_ tables from the database and just start over? I just want to get it working.

    Thank you so much for your assistance. Terri

    Thread Starter TKouch

    (@tkouch)

    Hello,
    After getting those errors, I tried manually running the database updates/migrations (per your instruction on https://givewp.com/documentation/core/frequent-troubleshooting-issues/handling-database-update-issues/
    Result: each of the 6 database updates ran successfully
    Then I tried re-running the database updates, and it failed again. There are now 5 error logs. I will include them here:

    update error
    ————

    post_title:Update Error
    post_content:Update Task
    Total update count: 33
    Update IDs: Array
    (
        [0] => upgrade_give_payment_customer_id
        [1] => upgrade_give_offline_status
        [2] => v18_upgrades_form_metadata
        [3] => v189_upgrades_levels_post_meta
        [4] => v1812_update_amount_values
        [5] => v1812_update_donor_purchase_values
        [6] => v1813_update_donor_user_roles
        [7] => v1817_update_donation_iranian_currency_code
        [8] => v1817_cleanup_user_roles
        [9] => v1818_assign_custom_amount_set_donation
        [10] => v1818_give_worker_role_cleanup
        [11] => v20_upgrades_form_metadata
        [12] => v20_upgrades_user_address
        [13] => v20_upgrades_payment_metadata
        [14] => v20_upgrades_donor_name
        [15] => v20_move_metadata_into_new_table
        [16] => v20_rename_donor_tables
        [17] => v201_upgrades_payment_metadata
        [18] => v201_add_missing_donors
        [19] => v201_move_metadata_into_new_table
        [20] => v210_verify_form_status_upgrades
        [21] => v213_delete_donation_meta
        [22] => v215_update_donor_user_roles
        [23] => v224_update_donor_meta
        [24] => v224_update_donor_meta_forms_id
        [25] => v230_move_donor_note
        [26] => v230_move_donation_note
        [27] => v230_delete_donor_wall_related_donor_data
        [28] => v230_delete_donor_wall_related_comment_data
        [29] => v240_update_form_goal_progress
        [30] => v270_store_stripe_account_for_donation
        [31] => add-past-donation-data-to-revenue-table
        [32] => migrate_existing_logs
    )
    Update: Array
    (
        [update_info] => Array
            (
                [id] => v201_add_missing_donors
                [version] => 2.0.1
                [callback] => give_v201_add_missing_donors_callback
                [type] => database
            )
    
        [step] => 1
        [update] => 5
        [heading] => Update 5 of 2
        [percentage] => 0
        [total_percentage] => 150
    )
    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/class-give-background-updater.php
    line:365
    function:add
    class:Give_Logging

    update pause
    ————

    post_title:Update Pause
    post_content:stdClass Object
    (
        [key] => wp_give_db_updater_batch_1bdaa3e068beaebc540c9164ac503d67
        [data] => Array
            (
                [10] => Array
                    (
                        [id] => v20_upgrades_user_address
                        [version] => 2.0.0
                        [callback] => give_v20_upgrades_user_address
                        [type] => database
                    )
    
                [11] => Array
                    (
                        [id] => v20_upgrades_payment_metadata
                        [version] => 2.0.0
                        [callback] => give_v20_upgrades_payment_metadata_callback
                        [type] => database
                    )
    
                [12] => Array
                    (
                        [id] => v20_upgrades_donor_name
                        [version] => 2.0.0
                        [callback] => give_v20_upgrades_donor_name
                        [type] => database
                    )
    
                [13] => Array
                    (
                        [id] => v20_move_metadata_into_new_table
                        [version] => 2.0.0
                        [callback] => give_v20_move_metadata_into_new_table_callback
                        [depend] => Array
                            (
                                [0] => v20_upgrades_payment_metadata
                                [1] => v20_upgrades_form_metadata
                            )
    
                        [type] => database
                    )
    
                [14] => Array
                    (
                        [id] => v20_rename_donor_tables
                        [version] => 2.0.0
                        [callback] => give_v20_rename_donor_tables_callback
                        [depend] => Array
                            (
                                [0] => v20_move_metadata_into_new_table
                                [1] => v20_logs_upgrades
                                [2] => v20_upgrades_form_metadata
                                [3] => v20_upgrades_payment_metadata
                                [4] => v20_upgrades_user_address
                                [5] => v20_upgrades_donor_name
                            )
    
                        [type] => database
                    )
    
                [15] => Array
                    (
                        [id] => v201_upgrades_payment_metadata
                        [version] => 2.0.1
                        [callback] => give_v201_upgrades_payment_metadata_callback
                        [type] => database
                    )
    
                [16] => Array
                    (
                        [id] => v201_add_missing_donors
                        [version] => 2.0.1
                        [callback] => give_v201_add_missing_donors_callback
                        [type] => database
                    )
    
                [17] => Array
                    (
                        [id] => v201_move_metadata_into_new_table
                        [version] => 2.0.1
                        [callback] => give_v201_move_metadata_into_new_table_callback
                        [depend] => Array
                            (
                                [0] => v201_upgrades_payment_metadata
                                [1] => v201_add_missing_donors
                            )
    
                        [type] => database
                    )
    
                [18] => Array
                    (
                        [id] => v210_verify_form_status_upgrades
                        [version] => 2.1.0
                        [callback] => give_v210_verify_form_status_upgrades_callback
                        [type] => database
                    )
    
                [19] => Array
                    (
                        [id] => v213_delete_donation_meta
                        [version] => 2.1.3
                        [callback] => give_v213_delete_donation_meta_callback
                        [depends] => Array
                            (
                                [0] => v201_move_metadata_into_new_table
                            )
    
                        [type] => database
                    )
    
                [20] => Array
                    (
                        [id] => v215_update_donor_user_roles
                        [version] => 2.1.5
                        [callback] => give_v215_update_donor_user_roles_callback
                        [type] => database
                    )
    
                [21] => Array
                    (
                        [id] => v224_update_donor_meta
                        [version] => 2.2.4
                        [callback] => give_v224_update_donor_meta_callback
                        [type] => database
                    )
    
                [22] => Array
                    (
                        [id] => v224_update_donor_meta_forms_id
                        [version] => 2.2.4
                        [callback] => give_v224_update_donor_meta_forms_id_callback
                        [depend] => Array
                            (
                                [0] => v224_update_donor_meta
                            )
    
                        [type] => database
                    )
    
                [23] => Array
                    (
                        [id] => v230_move_donor_note
                        [version] => 2.3.0
                        [callback] => give_v230_move_donor_note_callback
                        [type] => database
                    )
    
                [24] => Array
                    (
                        [id] => v230_move_donation_note
                        [version] => 2.3.0
                        [callback] => give_v230_move_donation_note_callback
                        [type] => database
                    )
    
                [25] => Array
                    (
                        [id] => v230_delete_donor_wall_related_donor_data
                        [version] => 2.3.0
                        [callback] => give_v230_delete_dw_related_donor_data_callback
                        [depend] => Array
                            (
                                [0] => v224_update_donor_meta
                                [1] => v224_update_donor_meta_forms_id
                                [2] => v230_move_donor_note
                                [3] => v230_move_donation_note
                            )
    
                        [type] => database
                    )
    
                [26] => Array
                    (
                        [id] => v230_delete_donor_wall_related_comment_data
                        [version] => 2.3.0
                        [callback] => give_v230_delete_dw_related_comment_data_callback
                        [depend] => Array
                            (
                                [0] => v230_move_donor_note
                                [1] => v230_move_donation_note
                            )
    
                        [type] => database
                    )
    
                [27] => Array
                    (
                        [id] => v240_update_form_goal_progress
                        [version] => 2.4.0
                        [callback] => give_v240_update_form_goal_progress_callback
                        [type] => database
                    )
    
                [28] => Array
                    (
                        [id] => add-past-donation-data-to-revenue-table
                        [version] => 2.9.0
                        [callback] => Array
                            (
                                [0] => Give\Revenue\Migrations\AddPastDonationsToRevenueTable Object
                                    (
                                    )
    
                                [1] => run
                            )
    
                        [type] => database
                    )
    
                [29] => Array
                    (
                        [id] => migrate_existing_logs
                        [version] => 2.10.0
                        [callback] => Array
                            (
                                [0] => Give\Log\Migrations\MigrateExistingLogs Object
                                    (
                                        [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
                                            (
                                            )
    
                                        [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
                                            (
                                            )
    
                                    )
    
                                [1] => run
                            )
    
                        [type] => database
                    )
    
            )
    
    )
    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:360
    function:add
    class:Give_Logging

    update health check
    ——————-

    post_title:Update Health Check
    post_content:Array
    (
        [id] => migrate_existing_logs
        [version] => 2.10.0
        [callback] => Array
            (
                [0] => Give\Log\Migrations\MigrateExistingLogs Object
                    (
                        [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
                            (
                            )
    
                        [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
                            (
                            )
    
                    )
    
                [1] => run
            )
    
        [type] => database
    )
    
    Updated doing update:
    Array
    (
        [update_info] => Array
            (
                [id] => upgrade_give_payment_customer_id
                [version] => 1.3.2
                [callback] => give_v132_upgrade_give_payment_customer_id
                [type] => database
            )
    
        [step] => 1
        [update] => 1
        [heading] => Update 1 of 2
        [percentage] => 0
        [total_percentage] => 0
    )
    
    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:574
    function:add
    class:Give_Logging

    a second update health check error
    ———————————-

    post_title:Update Health Check
    post_content:Array
    (
        [id] => migrate_existing_logs
        [version] => 2.10.0
        [callback] => Array
            (
                [0] => Give\Log\Migrations\MigrateExistingLogs Object
                    (
                        [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
                            (
                            )
    
                        [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
                            (
                            )
    
                    )
    
                [1] => run
            )
    
        [type] => database
    )
    
    Updated doing update:
    Array
    (
        [update_info] => Array
            (
                [id] => upgrade_give_payment_customer_id
                [version] => 1.3.2
                [callback] => give_v132_upgrade_give_payment_customer_id
                [type] => database
            )
    
        [step] => 1
        [update] => 1
        [heading] => Update 1 of 2
        [percentage] => 0
        [total_percentage] => 0
    )
    
    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:574
    function:add
    class:Give_Logging

    update restart
    ————–

    post_title:Update Restart
    post_content:stdClass Object
    (
        [key] => wp_give_db_updater_batch_1bdaa3e068beaebc540c9164ac503d67
        [data] => Array
            (
                [10] => Array
                    (
                        [id] => v20_upgrades_user_address
                        [version] => 2.0.0
                        [callback] => give_v20_upgrades_user_address
                        [type] => database
                    )
    
                [11] => Array
                    (
                        [id] => v20_upgrades_payment_metadata
                        [version] => 2.0.0
                        [callback] => give_v20_upgrades_payment_metadata_callback
                        [type] => database
                    )
    
                [12] => Array
                    (
                        [id] => v20_upgrades_donor_name
                        [version] => 2.0.0
                        [callback] => give_v20_upgrades_donor_name
                        [type] => database
                    )
    
                [13] => Array
                    (
                        [id] => v20_move_metadata_into_new_table
                        [version] => 2.0.0
                        [callback] => give_v20_move_metadata_into_new_table_callback
                        [depend] => Array
                            (
                                [0] => v20_upgrades_payment_metadata
                                [1] => v20_upgrades_form_metadata
                            )
    
                        [type] => database
                    )
    
                [14] => Array
                    (
                        [id] => v20_rename_donor_tables
                        [version] => 2.0.0
                        [callback] => give_v20_rename_donor_tables_callback
                        [depend] => Array
                            (
                                [0] => v20_move_metadata_into_new_table
                                [1] => v20_logs_upgrades
                                [2] => v20_upgrades_form_metadata
                                [3] => v20_upgrades_payment_metadata
                                [4] => v20_upgrades_user_address
                                [5] => v20_upgrades_donor_name
                            )
    
                        [type] => database
                    )
    
                [15] => Array
                    (
                        [id] => v201_upgrades_payment_metadata
                        [version] => 2.0.1
                        [callback] => give_v201_upgrades_payment_metadata_callback
                        [type] => database
                    )
    
                [16] => Array
                    (
                        [id] => v201_add_missing_donors
                        [version] => 2.0.1
                        [callback] => give_v201_add_missing_donors_callback
                        [type] => database
                    )
    
                [17] => Array
                    (
                        [id] => v201_move_metadata_into_new_table
                        [version] => 2.0.1
                        [callback] => give_v201_move_metadata_into_new_table_callback
                        [depend] => Array
                            (
                                [0] => v201_upgrades_payment_metadata
                                [1] => v201_add_missing_donors
                            )
    
                        [type] => database
                    )
    
                [18] => Array
                    (
                        [id] => v210_verify_form_status_upgrades
                        [version] => 2.1.0
                        [callback] => give_v210_verify_form_status_upgrades_callback
                        [type] => database
                    )
    
                [19] => Array
                    (
                        [id] => v213_delete_donation_meta
                        [version] => 2.1.3
                        [callback] => give_v213_delete_donation_meta_callback
                        [depends] => Array
                            (
                                [0] => v201_move_metadata_into_new_table
                            )
    
                        [type] => database
                    )
    
                [20] => Array
                    (
                        [id] => v215_update_donor_user_roles
                        [version] => 2.1.5
                        [callback] => give_v215_update_donor_user_roles_callback
                        [type] => database
                    )
    
                [21] => Array
                    (
                        [id] => v224_update_donor_meta
                        [version] => 2.2.4
                        [callback] => give_v224_update_donor_meta_callback
                        [type] => database
                    )
    
                [22] => Array
                    (
                        [id] => v224_update_donor_meta_forms_id
                        [version] => 2.2.4
                        [callback] => give_v224_update_donor_meta_forms_id_callback
                        [depend] => Array
                            (
                                [0] => v224_update_donor_meta
                            )
    
                        [type] => database
                    )
    
                [23] => Array
                    (
                        [id] => v230_move_donor_note
                        [version] => 2.3.0
                        [callback] => give_v230_move_donor_note_callback
                        [type] => database
                    )
    
                [24] => Array
                    (
                        [id] => v230_move_donation_note
                        [version] => 2.3.0
                        [callback] => give_v230_move_donation_note_callback
                        [type] => database
                    )
    
                [25] => Array
                    (
                        [id] => v230_delete_donor_wall_related_donor_data
                        [version] => 2.3.0
                        [callback] => give_v230_delete_dw_related_donor_data_callback
                        [depend] => Array
                            (
                                [0] => v224_update_donor_meta
                                [1] => v224_update_donor_meta_forms_id
                                [2] => v230_move_donor_note
                                [3] => v230_move_donation_note
                            )
    
                        [type] => database
                    )
    
                [26] => Array
                    (
                        [id] => v230_delete_donor_wall_related_comment_data
                        [version] => 2.3.0
                        [callback] => give_v230_delete_dw_related_comment_data_callback
                        [depend] => Array
                            (
                                [0] => v230_move_donor_note
                                [1] => v230_move_donation_note
                            )
    
                        [type] => database
                    )
    
                [27] => Array
                    (
                        [id] => v240_update_form_goal_progress
                        [version] => 2.4.0
                        [callback] => give_v240_update_form_goal_progress_callback
                        [type] => database
                    )
    
                [28] => Array
                    (
                        [id] => add-past-donation-data-to-revenue-table
                        [version] => 2.9.0
                        [callback] => Array
                            (
                                [0] => Give\Revenue\Migrations\AddPastDonationsToRevenueTable Object
                                    (
                                    )
    
                                [1] => run
                            )
    
                        [type] => database
                    )
    
                [29] => Array
                    (
                        [id] => migrate_existing_logs
                        [version] => 2.10.0
                        [callback] => Array
                            (
                                [0] => Give\Log\Migrations\MigrateExistingLogs Object
                                    (
                                        [logTypeHelper:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LogTypeHelper Object
                                            (
                                            )
    
                                        [legacyLogsTable:Give\Log\Migrations\MigrateExistingLogs:private] => Give\Log\Helpers\LegacyLogsTable Object
                                            (
                                            )
    
                                    )
    
                                [1] => run
                            )
    
                        [type] => database
                    )
    
            )
    
    )
    post_parent:0
    log_type:update
    file:/home/hx1zw7zvwkay/public_html/staging/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:401
    function:add
    class:Give_Logging

    THANKS FOR YOU ASSISTANCE!!
    Terri

    Plugin Support Rick Alday

    (@mrdaro)

    We’ve seen this happen with another user just today, and for them it came down to a missing database table.

    Here’s a long-winded explanation:

    We overhauled the logging system in GiveWP in version 2.10.x to make it much easier to manage logs in the application. A part of that overhaul was taking the existing logs (in a table named wp_give_logs) and moving them to a new table that was structured in a way that is more performant. The new table is named wp_give_log (no s on the end). The order of events was the following:

    1. create the new log table. (this happens silently upon update to 2.10.x)
    2. migrate the logs from the old logs table to the new log table (this happens as a result of clicking the button to run the updates)
    3. delete the old an no longer needed logs table. (this happens at the end of step 2, automatically)

    Somehow on their site the logs table was deleted before the migration in step 2 happened, and GiveWP doesn’t know how to fix that, so it just kinda fails with a logged failure.

    Manually adding back in the logs table and then running the migration fixes the problem.

    I’ve linked to a SQL file here with that dummy log in it, for you to attempt the same on your side: https://drive.google.com/file/d/16GSitC3f1XacGTxk_YM1WOfU0U4WIZ-N/view?usp=sharing Your host should be able to help with manually adding in that missing table from this SQL file:

    Let me know if that resolves things, or if you need further assistance. Thanks for using GiveWP! Have a great day.

    Thread Starter TKouch

    (@tkouch)

    You gave me the exact same instructions that you gave me already – I did the steps to add the wp_give_logs table last week and it did NOT fix the problem.

    We have NO donation data as I am trying to get this working for the first time. Can I just DELETE the plugin and all the wp_give tables from the database and start over? I just want to get it working.

    Please advise! Thanks, Terri

    Plugin Support Rick Alday

    (@mrdaro)

    My bad, in that case, go to Donations -> Settings -> Advanced -> Remove Data on Uninstall, select Yes, Remove all data. Next to go Plugins -> All plugins, deactivate and delete GiveWP.

    After this process, you can go ahead and reinstall GiveWP.

    Thread Starter TKouch

    (@tkouch)

    Thank you Rick.
    Just to confirm … my database still has these 4 tables after I deactivated (removing all data) and deleted the plugin:
    a. wp_give_log
    b. wp_give_logs
    c. wp_give_migrations
    d. wp_give_revenue

    Is that correct or should I delete these tables before I reinstall GiveWP?

    Thanks so much, Terri

    Plugin Support Rick Alday

    (@mrdaro)

    Go ahead and delete those tables as well.

    Plugin Support Matheus Martins

    (@matheusfd)

    Hey @tkouch,

    Do you still need assistance here? Feel free to reopen this ticket if you need further assistance and we’ll happily help you.

    Thanks for using GiveWP! Have a great day.

    Thread Starter TKouch

    (@tkouch)

    Thank You for your assistance. The plugin is now working!!!!

    Plugin Support Matheus Martins

    (@matheusfd)

    Hye @tkouch

    High five!!

    We’d love to get a public review about what you think of GiveWP both from a product standpoint as well as how it is to deal with our team. Here are some options:

    WordPress: https://wordpress.org/support/view/plugin-reviews/give
    Google: https://g.page/givewp/review?rc
    Facebook: https://www.facebook.com/pg/wpgive/reviews/

    The reviews help others to decide if it’s worth doing business with us!

    Have a great day!

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

The topic ‘GiveWP’ is closed to new replies.