[2] ErrorException in File.php line 246

unlink(/www/wwwroot/website/runtime/cache/a21af60c3f670816509da6719957da8e.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('sql_661c68f3edc45496...', false) in Cache.php line 116
  6. at Cache::get('sql_661c68f3edc45496...') in helper.php line 665
  7. at S('sql_661c68f3edc45496...') in 9a0714d27e065a0d62572bda28daf571.php line 45
  8. at include('/www/wwwroot/website...') in File.php line 50
  9. at File->read('/www/wwwroot/website...', ['action' => 'goodsList', 'goods_category_tree' => [['id' => 4, 'name' => '办公设备', 'mobile_name' => '办公设备', ...], ['id' => 1, 'name' => '办公万博manbetx官网地址', 'mobile_name' => '办公万博manbetx官网地址', ...], ['id' => 6, 'name' => '办公用品', 'mobile_name' => '办公用品', ...], ...], 'brand_list' => [['id' => 5, 'name' => '得印', 'parent_cat_id' => 1, ...], ['id' => 7, 'name' => 'OEM (befon中性)', 'parent_cat_id' => 1, ...], ['id' => 8, 'name' => 'OEM (裸鼓)', 'parent_cat_id' => 1, ...], ...], ...]) in Template.php line 175
  10. at Template->fetch('./template/pc/goods/...', ['action' => 'goodsList', 'goods_category_tree' => [['id' => 4, 'name' => '办公设备', 'mobile_name' => '办公设备', ...], ['id' => 1, 'name' => '办公万博manbetx官网地址', 'mobile_name' => '办公万博manbetx官网地址', ...], ['id' => 6, 'name' => '办公用品', 'mobile_name' => '办公用品', ...], ...], 'brand_list' => [['id' => 5, 'name' => '得印', 'parent_cat_id' => 1, ...], ['id' => 7, 'name' => 'OEM (befon中性)', 'parent_cat_id' => 1, ...], ['id' => 8, 'name' => 'OEM (裸鼓)', 'parent_cat_id' => 1, ...], ...], ...], []) in Think.php line 71
  11. at Think->fetch('./template/pc/goods/...', ['action' => 'goodsList', 'goods_category_tree' => [['id' => 4, 'name' => '办公设备', 'mobile_name' => '办公设备', ...], ['id' => 1, 'name' => '办公万博manbetx官网地址', 'mobile_name' => '办公万博manbetx官网地址', ...], ['id' => 6, 'name' => '办公用品', 'mobile_name' => '办公用品', ...], ...], 'brand_list' => [['id' => 5, 'name' => '得印', 'parent_cat_id' => 1, ...], ['id' => 7, 'name' => 'OEM (befon中性)', 'parent_cat_id' => 1, ...], ['id' => 8, 'name' => 'OEM (裸鼓)', 'parent_cat_id' => 1, ...], ...], ...], []) in View.php line 158
  12. at View->fetch('', ['action' => 'goodsList', 'goods_category_tree' => [['id' => 4, 'name' => '办公设备', 'mobile_name' => '办公设备', ...], ['id' => 1, 'name' => '办公万博manbetx官网地址', 'mobile_name' => '办公万博manbetx官网地址', ...], ['id' => 6, 'name' => '办公用品', 'mobile_name' => '办公用品', ...], ...], 'brand_list' => [['id' => 5, 'name' => '得印', 'parent_cat_id' => 1, ...], ['id' => 7, 'name' => 'OEM (befon中性)', 'parent_cat_id' => 1, ...], ['id' => 8, 'name' => 'OEM (裸鼓)', 'parent_cat_id' => 1, ...], ...], ...], [], []) in Controller.php line 125
  13. at Controller->fetch() in Goods.php line 157
  14. at Goods->goodsList()
  15. at ReflectionMethod->invokeArgs(object(Goods), []) in App.php line 227
  16. at App::invokeMethod([object(Goods), 'goodsList'], []) in App.php line 396
  17. at App::module(['Home', 'Goods', 'goodsList'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 133
  18. at App::run() in start.php line 18
  19. at require('/www/wwwroot/website...') in index.php line 33

Exception Datas

Error Context
path
/www/wwwroot/website/runtime/cache/a21af60c3f670816509da6719957da8e.php