table Table name.
*
* @return string The full name of the table, including the
* table prefix for the current blog
*/
protected function get_full_table_name( $table ) {
return $GLOBALS['wpdb']->prefix . $table;
}
/**
* Confirms that all of the tables registered by this schema class have been created.
*
* @return bool
*/
public function tables_exist() {
global $wpdb;
$tables_exist = true;
foreach ( $this->tables as $table_name ) {
$table_name = $wpdb->prefix . $table_name;
$pattern = str_replace( '_', '\\_', $table_name );
$existing_table = $wpdb->get_var( $wpdb->prepare( 'SHOW TABLES LIKE %s', $pattern ) );
if ( $existing_table !== $table_name ) {
$tables_exist = false;
break;
}
}
return $tables_exist;
}
}
Fatal error: Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in /home/htzanetatos/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php:10
Stack trace:
#0 /home/htzanetatos/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler.php(164): include()
#1 [internal function]: ActionScheduler::autoload('ActionScheduler...')
#2 /home/htzanetatos/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php(53): spl_autoload_call('ActionScheduler...')
#3 /home/htzanetatos/public_html/wp-includes/class-wp-hook.php(322): ActionScheduler_DBStore->init()
#4 /home/htzanetatos/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /home/htzanetatos/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home/htzanetatos/public_html/wp-settings.php(727): do_action('init')
#7 /home/htzanetatos/public_html/wp-con in /home/htzanetatos/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/schema/ActionScheduler_StoreSchema.php on line 10