Hi guys! Meet the new one
So the problem is
I have caching part inside my logic and recently i noticed this message in my logs:
filemtime(): stat failed for /var/www/html/console/runtime/cache/e8/e8c57efd78d573551d5fda69694a8d73.bin in file /var/www/html/vendor/yiisoft/yii2/caching/FileCache.php on line 111
Logging inside my code looks like:
if (!empty($result = Yii::$app->cache->get('total_earnings'.Yii::$app->user->id))) {
return round($result, 2);
}
//some logic
Yii::$app->cache->set('total_earnings'.Yii::$app->user->id, $result, 3600);
Any suggestions?