Anybody have any idea how to resolve this? I just switched over to VSCode and I started seeing this warning.
Exception has occurred.
Warning: unlink(C:\xampp-x64-7.4.16-0\htdocs\a2hosting\runtime/debug/20161012-032545-7640-6557.data): No such file or directory
The Yii code causing this is in LogTarget.php
protected function removeStaleDataFiles($manifest)
{
$storageTags = array_map(
function ($file) {
return pathinfo($file, PATHINFO_FILENAME);
},
FileHelper::findFiles($this->module->dataPath, ['except' => ['index.data']])
);
$staledTags = array_diff($storageTags, array_keys($manifest));
foreach ($staledTags as $tag) {
@unlink($this->module->dataPath . "/$tag.data");
}
}