Error

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

Undefined index:

  • 1. in /data/www/www.senpuwang.com/frontend/service/web/impl/SupplyDemandServiceImpl.php at line 222
    213214215216217218219220221222223224225226227228229230231
            $goodsArray['title'] = $goodsInfo['title'];
            $goodsArray['genre'] = ($goodsInfo['genre'] == 3) ? '现货' : '期货';
            $goodsArray['num'] = floatval($goodsInfo['stock_num']).$this->_getNumCom($goodsInfo['num_com']);
            $goodsArray['createTime'] = CommonTools::timeFormat($goodsInfo['create_time'], 'Y-m-d');
            $goodsArray['price'] = (self::DEFAULT_INT >= $goodsInfo['price']) ? '面议' : $this->_getCurrencyStr($goodsInfo['currency']).floatval($goodsInfo['price']);
            $goodsArray['maturityTime'] = CommonTools::timeFormat($goodsInfo['maturity_time'], 'Y-m-d');
            $goodsArray['categoryName'] = $data['categoryMap'][$goodsInfo['categoryId']];
            $goodsArray['className'] = $data['classMap'][$goodsInfo['classId']];
            $goodsArray['name'] = $data['nameMap'][$goodsInfo['nameId']];
            $goodsArray['levelName'] = $data['levelMap'][$goodsInfo['levelId']];
            $goodsArray['format'] = $this->_getFormatInfo($goodsInfo);
            $goodsArray['content'] = $goodsInfo['content'];
            $goodsArray['contact'] = (empty($checkIsExistBuyContactInfo) && ($goodsInfo['members_id'] != $data['membersId'])) ? '*****' : $goodsInfo['contact'];
            $goodsArray['contactName'] = (empty($checkIsExistBuyContactInfo) && ($goodsInfo['members_id'] != $data['membersId'])) ? '*****' : $goodsInfo['contact_name'];
            $goodsArray['cityName'] = empty($data['countryMap'][$goodsInfo['goods_city_id']]) ? '' : $data['countryMap'][$goodsInfo['goods_city_id']];
            $goodsArray['goodsParam'] = empty($goodsInfo['goods_param']) ? [] : unserialize($goodsInfo['goods_param']);
            $goodsArray['isExistBuy'] = (empty($checkIsExistBuyContactInfo) && ($goodsInfo['members_id'] != $data['membersId'])) ? 0 : 1;
     
            return $goodsArray;
    
  • 2. in /data/www/www.senpuwang.com/frontend/service/web/impl/SupplyDemandServiceImpl.php at line 222 yii\base\ErrorHandler::handleError(8, 'Undefined index: ', '/data/www/www.senpuwang.com/fron...', 222, ...)
    216217218219220221222223224225226227228
            $goodsArray['createTime'] = CommonTools::timeFormat($goodsInfo['create_time'], 'Y-m-d');
            $goodsArray['price'] = (self::DEFAULT_INT >= $goodsInfo['price']) ? '面议' : $this->_getCurrencyStr($goodsInfo['currency']).floatval($goodsInfo['price']);
            $goodsArray['maturityTime'] = CommonTools::timeFormat($goodsInfo['maturity_time'], 'Y-m-d');
            $goodsArray['categoryName'] = $data['categoryMap'][$goodsInfo['categoryId']];
            $goodsArray['className'] = $data['classMap'][$goodsInfo['classId']];
            $goodsArray['name'] = $data['nameMap'][$goodsInfo['nameId']];
            $goodsArray['levelName'] = $data['levelMap'][$goodsInfo['levelId']];
            $goodsArray['format'] = $this->_getFormatInfo($goodsInfo);
            $goodsArray['content'] = $goodsInfo['content'];
            $goodsArray['contact'] = (empty($checkIsExistBuyContactInfo) && ($goodsInfo['members_id'] != $data['membersId'])) ? '*****' : $goodsInfo['contact'];
            $goodsArray['contactName'] = (empty($checkIsExistBuyContactInfo) && ($goodsInfo['members_id'] != $data['membersId'])) ? '*****' : $goodsInfo['contact_name'];
            $goodsArray['cityName'] = empty($data['countryMap'][$goodsInfo['goods_city_id']]) ? '' : $data['countryMap'][$goodsInfo['goods_city_id']];
            $goodsArray['goodsParam'] = empty($goodsInfo['goods_param']) ? [] : unserialize($goodsInfo['goods_param']);
    
  • 3. in /data/www/www.senpuwang.com/frontend/controllers/GoodsController.php at line 106 – senpu\service\web\impl\SupplyDemandServiceImpl::getBuyerDetailsInfo(42404, ['categoryMap' => [2 => '原木', 1 => '锯材', 6 => '人造板', 3 => '直拼板', ...], 'classMap' => [58 => '针叶材', 28 => '层板胶合木', 31 => '人工防腐', 33 => '表面碳化', ...], 'nameMap' => [100 => '柞木', 210 => '黑檀', 211 => '紫檀', 212 => '花梨', ...], 'countryMap' => [1 => '亚洲\大洋洲', 2 => '北美洲', 3 => '南美洲', 4 => '欧洲', ...], ...])
    100101102103104105106107108109110111112
            $data['classMap'] = $this->classService->getAllClassMap();
            $data['nameMap'] = $this->nameService->getAllNameMap();
            $data['countryMap'] = $this->_getCountryMapLists();
            $data['levelMap'] = $this->levelService->getAllLevelMap();
            $data['membersId'] = $membersId;
     
            $goodsDetailsInfo = $this->supplyDemandService->getBuyerDetailsInfo($goodsId, $data);
            return $this->render('buyer', ['goodsInfo' => $goodsDetailsInfo, 'membersId' => $membersId, 'membersIsVip' => $membersIsVip, 'csrf' => $csrf]);
        }
     
        /**
         * 供应商品详情页
         * $Author 杨建华
    
  • 4. senpu\controllers\GoodsController::actionBuyerDetails()
  • 5. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/InlineAction.php at line 55 – call_user_func_array([senpu\controllers\GoodsController, 'actionBuyerDetails'], [])
    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);
        }
    }
    
  • 6. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/Controller.php at line 154 yii\base\InlineAction::runWithParams(['r' => 'goods/buyer-details', 'goodsId' => '42404'])
    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 */
    
  • 7. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/base/Module.php at line 454 yii\base\Controller::runAction('buyer-details', ['r' => 'goods/buyer-details', 'goodsId' => '42404'])
    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) . '".');
    
  • 8. in /data/www/www.senpuwang.com/vendor/yiisoft/yii2/web/Application.php at line 84 yii\base\Module::runAction('goods/buyer-details', ['r' => 'goods/buyer-details', 'goodsId' => '42404'])
    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;
    
  • 9. 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();
    
  • 10. 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' => 'goods/buyer-details',
        'goodsId' => '42404',
    ];
    
    $_SESSION = [
        '__flash' => [],
    ];