diff --git a/classes/class-admin.php b/classes/class-admin.php index 947c47af5..2a17d05c2 100644 --- a/classes/class-admin.php +++ b/classes/class-admin.php @@ -673,6 +673,9 @@ public function wp_ajax_reset() { esc_html__( "You don't have sufficient privileges to do this action.", 'stream' ) ); } + + // Create and update the database tables if they do not exist. + $this->plugin->install->check(); $this->erase_stream_records();