PDOException: SQLSTATE[HY000]: General error: 145 Table './21ic_www_2020/article_read' is marked as crashed and should be repaired in /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Command.php:1290
Stack trace:
#0 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Command.php(1290): PDOStatement->execute()
#1 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Command.php(1158): yii\db\Command->internalExecute('SELECT * FROM `...')
#2 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Command.php(399): yii\db\Command->queryInternal('fetchAll', NULL)
#3 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Query.php(237): yii\db\Command->queryAll()
#4 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/ActiveQuery.php(133): yii\db\Query->all(NULL)
#5 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/ActiveRelationTrait.php(270): yii\db\ActiveQuery->all()
#6 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/ActiveQueryTrait.php(151): yii\db\ActiveQuery->populateRelation('read', Array)
#7 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/ActiveQuery.php(224): yii\db\ActiveQuery->findWith(Array, Array)
#8 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Query.php(238): yii\db\ActiveQuery->populate(Array)
#9 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/ActiveQuery.php(133): yii\db\Query->all(NULL)
#10 /var/www/www.21ic.com/www/models/ArticleQuery.php(19): yii\db\ActiveQuery->all(NULL)
#11 /var/www/www.21ic.com/www/controllers/ColumnController.php(151): app\models\ArticleQuery->all()
#12 [internal function]: app\controllers\ColumnController->actionView('659', NULL)
#13 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#14 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#15 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('view', Array)
#16 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('column/view', Array)
#17 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#18 /var/www/www.21ic.com/www/web/index.php(18): yii\base\Application->run()
#19 {main}
Next yii\db\Exception: SQLSTATE[HY000]: General error: 145 Table './21ic_www_2020/article_read' is marked as crashed and should be repaired
The SQL being executed was: SELECT * FROM `article_read` WHERE `article_id` IN (888001, 887912, 887709, 887700, 887633, 887554, 887386, 887267, 887068, 886986, 886890, 886739, 886571, 886553, 886523) in /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Schema.php:674
Stack trace:
#0 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Command.php(1295): yii\db\Schema->convertException(Object(PDOException), 'SELECT * FROM `...')
#1 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Command.php(1158): yii\db\Command->internalExecute('SELECT * FROM `...')
#2 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Command.php(399): yii\db\Command->queryInternal('fetchAll', NULL)
#3 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Query.php(237): yii\db\Command->queryAll()
#4 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/ActiveQuery.php(133): yii\db\Query->all(NULL)
#5 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/ActiveRelationTrait.php(270): yii\db\ActiveQuery->all()
#6 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/ActiveQueryTrait.php(151): yii\db\ActiveQuery->populateRelation('read', Array)
#7 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/ActiveQuery.php(224): yii\db\ActiveQuery->findWith(Array, Array)
#8 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/Query.php(238): yii\db\ActiveQuery->populate(Array)
#9 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/db/ActiveQuery.php(133): yii\db\Query->all(NULL)
#10 /var/www/www.21ic.com/www/models/ArticleQuery.php(19): yii\db\ActiveQuery->all(NULL)
#11 /var/www/www.21ic.com/www/controllers/ColumnController.php(151): app\models\ArticleQuery->all()
#12 [internal function]: app\controllers\ColumnController->actionView('659', NULL)
#13 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#14 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#15 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('view', Array)
#16 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('column/view', Array)
#17 /var/www/www.21ic.com/www/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#18 /var/www/www.21ic.com/www/web/index.php(18): yii\base\Application->run()
#19 {main}
Additional Information:
Array
(
[0] => HY000
[1] => 145
[2] => Table './21ic_www_2020/article_read' is marked as crashed and should be repaired
)
Copied!