( ! ) Fatal error issue
Posted by: mycdnprince (---.lb.shawcable.net)
Date: July 10, 2020 12:23AM

Back again with another one. Can't get into the backend of my localhost site because of these error messages. I'm guessing, I need to create the missing table and fill it with what I don't know? Help here would be appreciated. Thanks.

( ! ) Fatal error: Uncaught RuntimeException: Error saving action: Table 'jprincedb.wpmrsport_actionscheduler_actions' doesn't exist in C:\wamp64\www\mr-sport\wp-content\plugins\woocommerce\packages\action-scheduler\classes\data-stores\ActionScheduler_DBStore.php on line 75
( ! ) RuntimeException: Error saving action: Table 'jprincedb.wpmrsport_actionscheduler_actions' doesn't exist in C:\wamp64\www\mr-sport\wp-content\plugins\woocommerce\packages\action-scheduler\classes\data-stores\ActionScheduler_DBStore.php on line 75

line 75 has this....
throw new \RuntimeException( sprintf( __( 'Error saving action: %s', 'woocommerce' ), $e->getMessage() ), 0 );

Here's the whole....
return $action_id;
} catch ( \Exception $e ) {
/* translators: %s: error message */
throw new \RuntimeException( sprintf( __( 'Error saving action: %s', 'woocommerce' ), $e->getMessage() ), 0 );



Edited 1 time(s). Last edit at 07/10/2020 12:26AM by mycdnprince.

Options: ReplyQuote
Re: ( ! ) Fatal error issue
Posted by: Otomatic (Moderator)
Date: July 10, 2020 09:42AM

Hi,

PhpMyAdmin, select table, Verify then repair.

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.3 32 bit - Apache 2.4.46 - PHP 7.4.9…5.6.40 - MySQL 5.7.31 - MariaDB 10.5.4
Wampserver 3.2.3 64 bit - Apache 2.4.46 - PHP 7.4.9…5.6.40 - MySQL 5.7.31/8.0.21 - MariaDB 10.5.4
PhPMyadmin 5.0.2 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: ( ! ) Fatal error issue
Posted by: mycdnprince (---.lb.shawcable.net)
Date: July 10, 2020 04:34PM

Can't verify and repair when the table isn't there? There is no actionscheduler_actions table.

Options: ReplyQuote
Re: ( ! ) Fatal error issue
Posted by: Otomatic (Moderator)
Date: July 10, 2020 04:50PM

There is no procedure for restoring a missing table unless you have made a backup of your databases beforehand.
You haven't seen what RiggsFolly keeps repeating in his signature:
Backup your MySQL databases regularly. dont regret it later! Yes even when developing

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.3 32 bit - Apache 2.4.46 - PHP 7.4.9…5.6.40 - MySQL 5.7.31 - MariaDB 10.5.4
Wampserver 3.2.3 64 bit - Apache 2.4.46 - PHP 7.4.9…5.6.40 - MySQL 5.7.31/8.0.21 - MariaDB 10.5.4
PhPMyadmin 5.0.2 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.