( ! ) 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.

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

Hi,

PhpMyAdmin, select table, Verify then repair.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

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.

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

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Sorry, only registered users may post in this forum.