aşağıdaki resimdeki gibi hata çıktı ve bir kaç saat sonra düzeldi. düzeldiğinde ise günlük hit sayacı çalışmıyordu sıfır olarak gösteriyor

log dosyasında verilen hata ise aşağıdaki gibidir.
[04-Feb-2023 18:47:38 Europe/Istanbul] PHP Warning: PDOStatement::execute(): SQLSTATE[HY000]: General error: 1194 Table 'wma_logs' is marked as crashed and should be repaired in /home/guzelsoz/public_html/app/classes/dbpdo.class.php on line 714
dbpdo.class.php içerisinde bulunan kod
public function query($sql, $data = array(), $queryType = NULL) {
$this->benchmark();
$query = $this->dbPdo->prepare($sql);
$query->execute($data);
$this->reset();
$this->count++;
if ( $queryType === 'allSelect' ) {
$rows = $query->fetchAll(PDO::FETCH_OBJ);
} elseif ( $queryType === 'select' ) {
$rows = $query->fetch(PDO::FETCH_OBJ);
} elseif ( $queryType === 'insert' ) {
$this->lastId = $this->dbPdo->lastInsertId();
}
$this->benchmark();
if ( isset($rows) ) {
return $rows;
} else {
$rowCount = $query->rowCount();
return !empty($rowCount);
}
}


