perfectad
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Error establishing a database connectionThanks Steven. It worked.
Really apreciated.
Just to let you know that I could have find a solution by following https://support.rankmath.com/ticket/multiple-database-errors-every-30-seconds-about-unknown-column/
just added a field on to the the data base as their advice
The field should be called?
priority
?and it should be set to a?tinyint
?with a length of 3 on it. It should also be set to?unsigned
?in the settings and should not accept null values.And here are some of server info
Apache version: Apache/2.4.57
PHP version: 8.0.0
MySQL version: 10.4.31-MariaDBThank you for the reply. I followed all the advice provided. Unfortunately, they didn’t help to get the issues off. The system report can be found here https://pastebin.com/HZqb08dX
Here is the error report received through the email for more clarity
Error Details
=============
An error of type E_ERROR was caused in line 938 of the file /****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php. Error message: Uncaught RuntimeException: Unable to claim actions. Database error. in /****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:938
Stack trace:
#0 /****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php(799): ActionScheduler_DBStore->claim_actions()
#1 /****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(157): ActionScheduler_DBStore->stake_claim()
#2 /****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch()
#3 /****/****/public_html/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run()
#4 /****/****/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /****/****/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#6 /****/****/public_html/wp-cron.php(188): do_action_ref_array()
#7 {main}
? thrownAlso, here is the error displays when changing to define( ‘WP_DEBUG’, true );
Warning: Undefined property: stdClass::$priority in?/****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php?on line?379
Warning: Undefined property: stdClass::$priority in?/****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php?on line?379
Warning: Undefined property: stdClass::$priority in?/****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php?on line?379
Warning: Undefined property: stdClass::$priority in?/****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php?on line?379
Warning: Undefined property: stdClass::$priority in?/****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php?on line?379
Warning: Undefined property: stdClass::$priority in?/****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php?on line?379
Warning: Undefined property: stdClass::$priority in?/****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php?on line?379
Warning: Undefined property: stdClass::$priority in?/****/****/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php?on line?379
Just to let you know about your concern, This website is hosted on a VPS running with Centos Web Panel. I have another 3 websites hosted on this server running Woocommerce. Two of them are working fine without any issues so far and yesterday I found that one of them having the same issue. It was working well before. I am building another new website hosted on the same server. I just tried installing Woocommerce on here too unfortunately, I got the same issue.
Yout support will be greatly appriciated to get the issues sorted.
Thanks for your reply.
When I change the theme to storefront error has gone. Now I know the error has generated from my theme. Is there a way to add a code to function.php?
Thanks for your time