Error

PHP Notice千赢国际qy006-qy8千亿国际娱乐-千赢国际qy88

Undefined index: broad

  • 1. in /data/www/www.senpuwang.com/frontend/views/layouts/base.php at line 27
    18192021222324252627282930313233343536
        	<meta name="keywords" content="<?= $seo['seo_keywords']?>">
            <?= Html::csrfMetaTags() ?>
            <link  rel="stylesheet" href="/statics/default/css/reset.css"  />
        	<link  rel="stylesheet" href="/statics/default/css/web/default.css"  />
        	<link rel="stylesheet" href="/statics/default/css/page.css">
            <?=$this->blocks['indexHead']?>
        </head>
        <body>
        <?php $this->beginBody() ?>
        <?=$this->blocks['broad']?>
        <!--header-->
        <div class="guide_nav">
            <div class="w120">
     
                <div class="fl guide_userInfo">你好,欢迎来到<?= $webConfig['site_name']?>!
                	<?php
                    if($this->params['users']['isLogin']){
                        $isVipHtml = ($this->params['users']['isVip'] == 1) ? '<i>vip</i>' : '';
                        $userStatus = '<a class="link_green link_login" href="&rvpu;'." CommonTools::getMembersRouteResolutionToUrl('membersCenter').'">【'.$this->params['users']['nickname'].'】'.$isVipHtml.'</a><a style="display: inline-block" href="&rvpu;'."CommonTools::getRouteResolutionToUrl('loginOut',[],'loginOut.html').'">退出</a>';
    
  • 2. in /data/www/www.senpuwang.com/frontend/views/layouts/base.php at line 27 yii\base\ErrorHandler::handleError(8, 'Undefined index: broad', '/data/www/www.senpuwang.com/fron...', 27, ...)
    21222324252627282930313233
        	<link  rel="stylesheet" href="/statics/default/css/web/default.css"  />
        	<link rel="stylesheet" href="/statics/default/css/page.css">
            <?=$this->blocks['indexHead']?>
        </head>
        <body>
        <?php $this->beginBody() ?>
        <?=$this->blocks['broad']?>
        <!--header-->
        <div class="guide_nav">
            <div class="w120">
     
                <div class="fl guide_userInfo">你好,欢迎来到<?= $webConfig['site_name']?>!
                	<?php
    
  • 3. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/View.php at line 325 – require('/data/www/www.senpuwang.com/fron...')
    319320321322323324325326327328329330331
         */
        public function renderPhpFile($_file_, $_params_ = [])
        {
            ob_start();
            ob_implicit_flush(false);
            extract($_params_, EXTR_OVERWRITE);
            require($_file_);
     
            return ob_get_clean();
        }
     
        /**
         * Renders dynamic content returned by the given PHP statements.
    
  • 4. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/View.php at line 247 yii\base\View::renderPhpFile('/data/www/www.senpuwang.com/fron...', ['content' => '<!--content--> <div class="cont...'])
    241242243244245246247248249250251252253
                        $this->renderers[$ext] = Yii::createObject($this->renderers[$ext]);
                    }
                    /* @var $renderer ViewRenderer */
                    $renderer = $this->renderers[$ext];
                    $output = $renderer->render($this, $viewFile, $params);
                } else {
                    $output = $this->renderPhpFile($viewFile, $params);
                }
                $this->afterRender($viewFile, $params, $output);
            }
     
            array_pop($this->_viewFiles);
            $this->context = $oldContext;
    
  • 5. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/Controller.php at line 393 yii\base\View::renderFile('/data/www/www.senpuwang.com/fron...', ['content' => '<!--content--> <div class="cont...'], senpu\controllers\SupplyDemandController)
    387388389390391392393394395396397398399
         * @since 2.0.1
         */
        public function renderContent($content)
        {
            $layoutFile = $this->findLayoutFile($this->getView());
            if ($layoutFile !== false) {
                return $this->getView()->renderFile($layoutFile, ['content' => $content], $this);
            } else {
                return $content;
            }
        }
     
        /**
    
  • 6. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/Controller.php at line 379 yii\base\Controller::renderContent('<!--content--> <div class="cont...')
    373374375376377378379380381382383384385
         * @return string the rendering result.
         * @throws InvalidParamException if the view file or the layout file does not exist.
         */
        public function render($view, $params = [])
        {
            $content = $this->getView()->render($view, $params, $this);
            return $this->renderContent($content);
        }
     
        /**
         * Renders a static string by applying a layout.
         * @param string $content the static string being rendered
         * @return string the rendering result of the layout with the given static string as the `$content` variable.
    
  • 7. in /data/www/www.senpuwang.com/frontend/controllers/SupplyDemandController.php at line 119 yii\base\Controller::render('index', ['lists' => ['rows' => [['supplyDemandId' => '12322', 'companyId' => '2', 'type' => '1', 'image' => 'http://images.senpuwang.com/webs...', ...], ['supplyDemandId' => '9469', 'companyId' => '1', 'type' => '1', 'image' => 'http://images.senpuwang.com/webs...', ...], ['supplyDemandId' => '9466', 'companyId' => '1', 'type' => '1', 'image' => 'http://images.senpuwang.com/webs...', ...], ['supplyDemandId' => '9470', 'companyId' => '1', 'type' => '1', 'image' => 'http://images.senpuwang.com/webs...', ...], ...], 'pages' => yii\data\Pagination, 'totalCount' => '13'], 'dataMap' => ['category' => [2 => '原木', 1 => '锯材', 6 => '人造板', 3 => '直拼板', ...], 'class' => [5 => '阔叶材', 4 => '针叶材', 6 => '名贵材'], 'name' => [80 => '樟子松', 79 => '辐射松', 84 => '白松', 82 => '铁杉', ...], 'level' => [114 => '刨切材', 115 => '无节材', 116 => '一等材/A', 117 => '二等材/B', ...]], 'paramMap' => ['categoryId' => '2', 'classId' => '4', 'nameId' => '456', 'levelId' => '', ...]])
    113114115116117118119120121122
            ];
     
            return $this->render('index', [
                'lists' => $supplyDemandList,
                'dataMap' => $dataMap,
                'paramMap' => $webParam
            ]);
        }
     
    }
  • 8. senpu\controllers\SupplyDemandController::actionIndex()
  • 9. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/InlineAction.php at line 55 – call_user_func_array([senpu\controllers\SupplyDemandController, 'actionIndex'], [])
    495051525354555657
            $args = $this->controller->bindActionParams($this, $params);
            Yii::trace('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__);
            if (Yii::$app->requestedParams === null) {
                Yii::$app->requestedParams = $args;
            }
     
            return call_user_func_array([$this->controller, $this->actionMethod], $args);
        }
    }
    
  • 10. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/Controller.php at line 154 yii\base\InlineAction::runWithParams(['r' => 'supply-demand/index', 'categoryId' => '2', 'classId' => '4', 'nameId' => '456'])
    148149150151152153154155156157158159160
            }
     
            $result = null;
     
            if ($runAction && $this->beforeAction($action)) {
                // run the action
                $result = $action->runWithParams($params);
     
                $result = $this->afterAction($action, $result);
     
                // call afterAction on modules
                foreach ($modules as $module) {
                    /* @var $module Module */
    
  • 11. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/Module.php at line 454 yii\base\Controller::runAction('index', ['r' => 'supply-demand/index', 'categoryId' => '2', 'classId' => '4', 'nameId' => '456'])
    448449450451452453454455456457458459460
            $parts = $this->createController($route);
            if (is_array($parts)) {
                /* @var $controller Controller */
                list($controller, $actionID) = $parts;
                $oldController = Yii::$app->controller;
                Yii::$app->controller = $controller;
                $result = $controller->runAction($actionID, $params);
                Yii::$app->controller = $oldController;
     
                return $result;
            } else {
                $id = $this->getUniqueId();
                throw new InvalidRouteException('Unable to resolve the request "' . ($id === '' ? $route : $id . '/' . $route) . '".');
    
  • 12. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/web/Application.php at line 84 yii\base\Module::runAction('supply-demand/index', ['r' => 'supply-demand/index', 'categoryId' => '2', 'classId' => '4', 'nameId' => '456'])
    78798081828384858687888990
                $params = $this->catchAll;
                unset($params[0]);
            }
            try {
                Yii::trace("Route requested: '$route'", __METHOD__);
                $this->requestedRoute = $route;
                $result = $this->runAction($route, $params);
                if ($result instanceof Response) {
                    return $result;
                } else {
                    $response = $this->getResponse();
                    if ($result !== null) {
                        $response->data = $result;
    
  • 13. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/Application.php at line 375 yii\web\Application::handleRequest(yii\web\Request)
    369370371372373374375376377378379380381
            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();
    
  • 14. in /data/www/www.senpuwang.com/frontend/web/index.php at line 86 yii\base\Application::run()
    80818283848586
    );
     
    //(new yii\web\Application($config))->run();
    $application = new yii\web\Application($config);
    $application->language='zh-CN';
    $application->defaultRoute='home';
    $application->run();
  • $_GET = [
        'r' => 'supply-demand/index',
        'categoryId' => '2',
        'classId' => '4',
        'nameId' => '456',
    ];
    
    $_SESSION = [
        '__flash' => [],
    ];