[2] ErrorException in File.php line 246

unlink(/www/wwwroot/website/runtime/cache/9b110cc9ff8bcbc50eb46463d3c63996.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('868af58d49ab6ae9a606...', false) in Cache.php line 116
  6. at Cache::get('868af58d49ab6ae9a606...') in Query.php line 2282
  7. at Query->select() in common.php line 1221
  8. at get_goods_category_tree() in Base.php line 35
  9. at Base->public_assign() in Base.php line 21
  10. at Base->_initialize() in Controller.php line 70
  11. at Controller->__construct(object(Request))
  12. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 246
  13. at App::invokeClass('app\home\controller\...') in Loader.php line 420
  14. at Loader::controller('Goods', 'controller', false, 'Error') in App.php line 374
  15. at App::module(['Home', 'Goods', 'search'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 133
  16. at App::run() in start.php line 18
  17. at require('/www/wwwroot/website...') in index.php line 39

Exception Datas

Error Context
path /www/wwwroot/website/runtime/cache/9b110cc9ff8bcbc50eb46463d3c63996.php