وردپرس

Fatal error when clicking “Donate” + error logs


Hi guys,

Thanks for your wonderful plugin.

I am getting from the last updates a strange error when donating. So far, it all worked nicely, and I haven’t changed plugins nor theme. I already tried deactivating all plugins and switching to default theme but without success.

The error screen I get is this one (typical Fatal Error WP screen):

This is the error on the WP log error file I get:

[12-Jun-2024 10:59:10 UTC] PHP Fatal error: Uncaught RuntimeException: Unable to claim actions. Database error: Unknown column 'priority' in 'order clause'. in /var/www/www.progua.com/ROOT/wp-content/plugins/give/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:942
Stack trace: 0 /var/www/www.progua.com/ROOT/wp-content/plugins/give/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php(799): ActionScheduler_DBStore->claim_actions() 1 /var/www/www.progua.com/ROOT/wp-content/plugins/give/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(221): ActionScheduler_DBStore->stake_claim() 2 /var/www/www.progua.com/ROOT/wp-content/plugins/give/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(160): ActionScheduler_HybridStore->stake_claim() 3 /var/www/www.progua.com/ROOT/wp-content/plugins/give/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(139): ActionScheduler_QueueRunner->do_batch() 4 /var/www/www.progua.com/ROOT/wp-includes/class-wp-hook.php(324): ActionScheduler_QueueRunner->run() 5 /var/www/www.progua.com/ROOT/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 6 /var/www/www.progua.com/ROOT/wp-includes/plugin.php(565): WP_Hook->do_action() 7 /var/www/www.progua.com/ROOT/wp-cron.php(191): do_action_ref_array() 8 {main}

thrown in /var/www/www.progua.com/ROOT/wp-content/plugins/give/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 942

By its side, on Give own log error system, this is what I got:

Description:
Database Query
Category:
Uncaught database exception
Source:
Núcleo de Give
Date & Time:
2024-06-12 11:03:08
Error details:

{
"Query": "SELECT id, user_id AS userId, email, phone, name, purchase_value AS totalAmountDonated, purchase_count AS totalNumberOfDonations, payment_ids AS paymentIds, date_created AS createdAt, token, verify_key AS verifyKey, verify_throttle AS verifyThrottle, give_donormeta_attach_meta_firstName.meta_value AS firstName, give_donormeta_attach_meta_lastName.meta_value AS lastName, give_donormeta_attach_meta_prefix.meta_value AS prefix FROM wp_give_donors LEFT JOIN wp_give_donormeta give_donormeta_attach_meta_firstName ON ID = give_donormeta_attach_meta_firstName.donor_id AND give_donormeta_attach_meta_firstName.meta_key = '_give_donor_first_name' LEFT JOIN wp_give_donormeta give_donormeta_attach_meta_lastName ON ID = give_donormeta_attach_meta_lastName.donor_id AND give_donormeta_attach_meta_lastName.meta_key = '_give_donor_last_name' LEFT JOIN wp_give_donormeta give_donormeta_attach_meta_prefix ON ID = give_donormeta_attach_meta_prefix.donor_id AND give_donormeta_attach_meta_prefix.meta_key = '_give_donor_title_prefix' WHERE user_id = '1'",
"Query Errors": {
"db_delta_error": [
"Unknown column 'phone' in 'field list'"
]
}
}

It says Database error so I tried to update database tables. It says something about WooCommerce but I don’t have it uploaded.

I went to Tools and updated database tables, all went fine except this one:

I also have problem retrieving Donors on the admin area:

Give error log system tells me this:

Description:
Database Query
Category:
Uncaught database exception
Source:
Give Core
Date & Time:
2024-06-12 10:55:15
Error details:

{
"Query": "SELECT id, user_id AS userId, email, phone, name, purchase_value AS totalAmountDonated, purchase_count AS totalNumberOfDonations, payment_ids AS paymentIds, date_created AS createdAt, token, verify_key AS verifyKey, verify_throttle AS verifyThrottle, give_donormeta_attach_meta_firstName.meta_value AS firstName, give_donormeta_attach_meta_lastName.meta_value AS lastName, give_donormeta_attach_meta_prefix.meta_value AS prefix FROM wp_give_donors LEFT JOIN wp_give_donormeta give_donormeta_attach_meta_firstName ON ID = give_donormeta_attach_meta_firstName.donor_id AND give_donormeta_attach_meta_firstName.meta_key = '_give_donor_first_name' LEFT JOIN wp_give_donormeta give_donormeta_attach_meta_lastName ON ID = give_donormeta_attach_meta_lastName.donor_id AND give_donormeta_attach_meta_lastName.meta_key = '_give_donor_last_name' LEFT JOIN wp_give_donormeta give_donormeta_attach_meta_prefix ON ID = give_donormeta_attach_meta_prefix.donor_id AND give_donormeta_attach_meta_prefix.meta_key = '_give_donor_title_prefix' ORDER BY id DESC LIMIT 30",
"Query Errors": {
"db_delta_error": [
"Unknown column 'phone' in 'field list'"
]
}
}

What should I try next??

I am lost. Thanks.

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا