Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

雷竞技app下载苹果-雷竞技-雷竞技app最新版

Class 'myerm\zsb\mobile\controllers\InvalidRouteException' not found

  • 1. in /www/wwwroot/jcw/apps/zsb/mobile/controllers/Controller.php at line 34
    25262728293031323334353637383940414243
                                }
     
            return true;
        }
        public function runAction($id, $params = [])
        {
            /*路由特殊处理*/
            $action = $this->createAction($id);
            if ($action === null) {
                throw new InvalidRouteException('Unable to resolve the request: ' . $this->getUniqueId() . '/' . $id);
            }
     
            Yii::debug('Route to run: ' . $action->getUniqueId(), __METHOD__);
     
            if (Yii::$app->requestedAction === null) {
                Yii::$app->requestedAction = $action;
            }
     
            $oldAction = $this->action;
                    
  • 2. in /www/wwwroot/jcw/vendor/yiisoft/yii2/base/Module.php at line 529 – myerm\zsb\mobile\controllers\Controller::runAction('Detail403660.shtml', [])
    523524525526527528529530531532533534535
                         
            if (is_array($parts)) {
                /* @var $controller Controller */
                list($controller, $actionID) = $parts;
                $oldController = Yii::$app->controller;
                Yii::$app->controller = $controller;
                $result = $controller->runAction($actionID, $params);
                if ($oldController !== null) {
                    Yii::$app->controller = $oldController;
                }
     
                return $result;
            }
                    
  • 3. in /www/wwwroot/jcw/apps/zsb/mobile/web/Application.php at line 965 yii\base\Module::runAction('news/Detail403660.shtml', [])
    959960961962963964965966967968969970971
                                    $params = $this->catchAll;
                unset($params[0]);
            }
            try {
                Yii::debug("Route requested: '$route'", __METHOD__);
                $this->requestedRoute = $route;
                $result = $this->runAction($route, $params);
                if ($result instanceof Response) {
                    return $result;
                }
     
                $response = $this->getResponse();
                if ($result !== null) {
                    
  • 4. in /www/wwwroot/jcw/vendor/yiisoft/yii2/base/Application.php at line 389 – Application::handleRequest(myerm\zsb\common\components\Request)
    383384385386387388389390391392393394395
                            {
            try {
                $this->state = self::STATE_BEFORE_REQUEST;
                $this->trigger(self::EVENT_BEFORE_REQUEST);
     
                $this->state = self::STATE_HANDLING_REQUEST;
                $response = $this->handleRequest($this->getRequest());
     
                $this->state = self::STATE_AFTER_REQUEST;
                $this->trigger(self::EVENT_AFTER_REQUEST);
     
                $this->state = self::STATE_SENDING_RESPONSE;
                $response->send();
                    
  • 5. in /www/wwwroot/jcw/apps/zsb/mobile/web/index.php at line 38 yii\base\Application::run()
    32333435363738
                        //register_shutdown_function(function () {
    //    if ($trans = \Yii::$app->db->getTransaction()) {
    //        $trans->rollBack();
    //    }
    //});
     
    $app->run();                
  •