[2] ErrorException in File.php line 246

unlink(/www/wwwroot/website/runtime/cache/2d296e0f8a10f18299a67ea148c4b25c.php): No such file or directory

  1. /**
  2. * 判断文件是否存在后,删除
  3. * @param $path
  4. * @return bool
  5. * @author byron sampson <xiaobo.sun@qq.com>
  6. * @return boolean
  7. */
  8. private function unlink($path)
  9. {
  10. return is_file($path) && unlink($path);
  11. }
  12. }

Call Stack

  1. in File.php line 246
  2. at Error::appError(2, 'unlink(/www/wwwroot/...', '/www/wwwroot/website...', 246, ['path' => '/www/wwwroot/website...'])
  3. at unlink('/www/wwwroot/website...') in File.php line 246
  4. at File->unlink('/www/wwwroot/website...') in File.php line 114
  5. at File->get('63c2017bec4f9b688bbb...', false) in Cache.php line 116
  6. at Cache::get('63c2017bec4f9b688bbb...') in Query.php line 2282
  7. at Query->select() in Base.php line 27
  8. at Base->public_assign() in Base.php line 21
  9. at Base->_initialize() in Controller.php line 70
  10. at Controller->__construct(object(Request))
  11. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 246
  12. at App::invokeClass('app\home\controller\...') in Loader.php line 420
  13. at Loader::controller('Goods', 'controller', false, 'Error') in App.php line 374
  14. at App::module(['Home', 'Goods', 'goodsList'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 133
  15. at App::run() in start.php line 18
  16. at require('/www/wwwroot/website...') in index.php line 33

Exception Datas

Error Context
path /www/wwwroot/website/runtime/cache/2d296e0f8a10f18299a67ea148c4b25c.php