[0] HttpException in Url.php line 64

controller not exists:hypergear-usb-c-qc-2-0-power-bank-high-capacity-12000mah-portable-battery-and-charger-up-to-3a-charging-speed-compatible-with-usb-type-c-devices-macbook-chromebook-pixel-14151

  1. if ($this->param['auto_search']) {
  2. $controller = $this->autoFindController($module, $path);
  3. } else {
  4. // 解析控制器
  5. $controller = !empty($path) ? array_shift($path) : null;
  6. }
  7. if ($controller && !preg_match('/^[A-Za-z][\w|\.]*$/', $controller)) {
  8. throw new HttpException(404, 'controller not exists:' . $controller);
  9. }
  10. // 解析操作
  11. $action = !empty($path) ? array_shift($path) : null;
  12. // 解析额外参数
  13. if ($path) {
  14. if ($this->rule->getConfig('url_param_type')) {
  15. $var += $path;

Call Stack

  1. in Url.php line 64
  2. at Url->parseUrl('products|hypergear-u...') in Url.php line 23
  3. at Url->init() in App.php line 402
  4. at App->run() in index.php line 25