• Resolved Stephen

    (@lchmorg)


    I’m having an issue with database not updating properly. I’ve disabled our caching and can’t figure out why it’s not working. I’ve checked the donor list and everything seems to be correct as well. I’ve also tried it on a staging site with all other plugins disabled and get the same issue. System report and error logs included below. Thanks for the help.

    System report:

    ### WordPress Environment ###
    
    Home URL: https://www.lchm.org
    Site URL: https://www.lchm.org
    WP Version: 5.7.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    Permalink Structure: /%year%/%category%/%postname%/
    Show on Front: page
    Page on Front: Today at the Lane County History Museum: (#2638)
    Page for Posts: New (#3584)
    Table Prefix Length: wp_s7jnvt_
    Table Prefix Length: 10
    Table Prefix Status: Acceptable
    Admin AJAX: Accessible
    Registered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, cancelled, abandoned, processing, preapproval, tribe-ea-success, tribe-ea-failed, tribe-ea-schedule, tribe-ea-pending, tribe-ea-draft, tribe-ignored
    
    ### Server Environment ###
    
    Hosting Provider: DBH: mysql.lchm.org, SRV: www.lchm.org
    TLS Connection: Connection uses TLS 1.2
    TLS Connection: Probably Okay
    Server Info: Apache
    PHP Version: 7.4.15
    PHP Post Max Size: 512 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 1000
    PHP Max Upload Size: 512 MB
    cURL Version: 7.58.0, OpenSSL/1.1.1
    SUHOSIN Installed: –
    MySQL Version: 5.7.28
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    gzip: ✔
    GD Graphics Library: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### GiveWP Configuration ###
    
    GiveWP Version: 2.10.3
    GiveWP Cache: Enabled
    Database Updates: 2 updates still need to run. (Paused)
    Database Updates: All Database Migrations Completed.
    Database Tables: ✔ wp_s7jnvt_give_customers✔ wp_s7jnvt_give_donormeta✔ wp_s7jnvt_give_comments✔ wp_s7jnvt_give_commentmeta✔ wp_s7jnvt_give_sessions✔ wp_s7jnvt_give_formmeta✔ wp_s7jnvt_give_sequential_ordering✔ wp_s7jnvt_give_donationmeta✔ wp_s7jnvt_give_revenue
    GiveWP Cache: Enabled
    GiveWP Cache: ✔New Donation✔Donation Receipt❌New Offline Donation❌Offline Donation Instructions❌New User Registration❌User Registration Information✔Donation Note❌Email access
    Upgraded From: 2.10.2
    Test Mode: Disabled
    Currency Code: USD
    Currency Position: After
    Decimal Separator: .
    Thousands Separator: ,
    Success Page: https://www.lchm.org/donation-confirmation/
    Failure Page: https://www.lchm.org/donation-failed/
    Donation History Page: https://www.lchm.org/donor-dashboard/
    GiveWP Forms Slug: /donations/
    Enabled Payment Gateways: PayPal Standard
    Default Payment Gateway: PayPal Standard
    PayPal IPN Verification: Enabled
    PayPal IPN Notifications: N/A
    Donor Email Access: Disabled
    Stripe Webhook Notifications: N/A
    
    ### Active GiveWP Add-ons ###
    
    ### Other Active Plugins ###
    
    Contact Form 7: by Takayuki Miyoshi – 5.4
    Event Tickets: by The Events Calendar – 5.1.3
    Formidable Forms: by Strategy11 – 4.10.01
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.17.0
    Really Simple SSL: by Really Simple Plugins – 4.0.14
    The Events Calendar: by The Events Calendar – 5.5.0.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com, DavidAnderson – 1.16.53
    WP Google Maps: by WP Google Maps – 8.1.11
    WP Mail SMTP: by WPForms – 2.7.0
    WP STAGING: by WP-STAGING – 2.8.3
    Yoast SEO: by Team Yoast – 16.1.1
    
    ### Inactive Plugins ###
    
    Autoptimize: by Frank Goossens (futtta) – 2.8.3
    
    ### Active MU Plugins ###
    
    WP STAGING Optimizer: by René Hermenau – 1.4.1
    
    ### Theme ###
    
    Name: Astra
    Version: 3.3.2
    Author URL: https://wpastra.com/about/
    Child Theme: No – If you're modifying GiveWP on a parent theme you didn't build personally, then we recommend using a child theme. See: How to Create a Child Theme

    Error Logs:

    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] => 902661
        [update] => 1
        [heading] => Update 1 of 2
        [percentage] => 0
        [total_percentage] => 0
    )
    post_parent:0
    log_type:update
    file:/home/lchm_2020/lchm.org/wp-content/plugins/give/includes/class-give-background-updater.php
    line:365
    function:add
    class:Give_Logging
    post_title:Update Pause
    post_content:stdClass Object
    (
        [key] => wp_give_db_updater_batch_8758603ff92d44233ac498a19adce808
        [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/lchm_2020/lchm.org/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:360
    function:add
    class:Give_Logging
    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] => 902661
        [update] => 1
        [heading] => Update 1 of 0
        [percentage] => 0
        [total_percentage] => 0
    )
    
    post_parent:0
    log_type:update
    file:/home/lchm_2020/lchm.org/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:574
    function:add
    class:Give_Logging
    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] => 826792
        [update] => 1
        [heading] => Update 1 of 2
        [percentage] => 0
        [total_percentage] => 0
    )
    
    post_parent:0
    log_type:update
    file:/home/lchm_2020/lchm.org/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:574
    function:add
    class:Give_Logging
    post_title:Update Restart
    post_content:stdClass Object
    (
        [key] => wp_give_db_updater_batch_8758603ff92d44233ac498a19adce808
        [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/lchm_2020/lchm.org/wp-content/plugins/give/includes/admin/upgrades/class-give-updates.php
    line:401
    function:add
    class:Give_Logging
Viewing 1 replies (of 1 total)
  • Thread Starter Stephen

    (@lchmorg)

    I was able to fix this issue by completely deleting the plugin, including its data, and then disabling all plugins before re-installling.

Viewing 1 replies (of 1 total)

The topic ‘Unexpected issue during database update’ is closed to new replies.