商品詳細ページ
カスタマイズ中
この商品について
セット内容
PHP notice
Trying to get property of non-object
/var/www/vhosts/hanamary.jp/hana_mary/src/ec_theme/default/item_pages/index.php(358)
346 <?php endif; ?> 347 348 <h3 class="detail onlyInit">この商品について</h3> 349 <div class="container onlyInit"> 350 <div class="itemDetail slide-up"> 351 <div class="itemDetail_header"> 352 <h4 class="itemDetail_title">セット内容</h4> 353 </div> 354 <div class="row selected_itemList content-txt"> 355 <?php foreach ($skus as $sku) : ?> 356 <div class="col-xs-12 col-sm-6 col-md-4 matchHeight flower-list"> 357 <div class="col-xs-2 vertical-center"> 358 <img src="<?php echo Yii::app()->request->baseUrl . $sku->product_sku_images[0]->image; ?>" class="img-responsive"> 359 </div> 360 <div class="col-xs-10"> 361 <p class="flower-memo"><?php echo $sku->getComment(); ?></p> 362 </div> 363 </div> 364 <?php endforeach; ?> 365 </div> 366 <div class="open-btn onlyInit"> 367 <p class="open-action">もっと見る</p> 368 </div> 369 </div> 370 </div>
Stack Trace
#0 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/CBaseController.php(130): require("/var/www/vhosts/hanamary.jp/hana_mary/src/ec_theme/default/item_...") 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } 132 133 /** 134 * Creates a widget and initializes it. 135 * This method first creates the specified widget instance. |
#1 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/vhosts/hanamary.jp/hana_mary/src/ec_theme/default/item_...", array("template_path" => "https://hanamary.jp/ec_theme/default/", "item" => ItemModel, "is_fav" => "0", "skus" => array(ProductSkuModel, ProductSkuModel, ProductSkuModel, null), ...), false) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#2 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/protected/components/Controller.php(72): CBaseController->renderFile("/var/www/vhosts/hanamary.jp/hana_mary/src/ec_theme/default/item_...", array("template_path" => "https://hanamary.jp/ec_theme/default/", "item" => ItemModel, "is_fav" => "0", "skus" => array(ProductSkuModel, ProductSkuModel, ProductSkuModel, null), ...), false) 67 } 68 } 69 } 70 71 $this->viewData = $data; 72 return parent::renderFile($viewFile, $data, $return); 73 } 74 75 /** 76 * サブビューを読み込んで表示する 77 */ |
#3 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/protected/controllers/EcpagesController.php(1001): Controller->renderFile("/var/www/vhosts/hanamary.jp/hana_mary/src/ec_theme/default/item_...", array("template_path" => "https://hanamary.jp/ec_theme/default/", "item" => ItemModel, "is_fav" => "0", "skus" => array(ProductSkuModel, ProductSkuModel, ProductSkuModel, null), ...)) 0996 { 0997 $this->currentTemplate = $this->themeDirInside.'item_pages/index'; 0998 } 0999 1000 //ビューの表示 1001 $this->renderFile( $this->currentTemplate, $data ); 1002 } 1003 1004 // ---------------------------------------------------- 1005 /** 1006 * お気に入り |
#4 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/protected/controllers/EcpagesController.php(254): EcpagesController->item_pages("user_13848") 249 $itemUrl = null; 250 if (count($this->segment) > 1) { 251 $itemUrl = $this->segment[1]; 252 $itemUrl = preg_replace( '/\.php/', '', $itemUrl ); 253 } 254 $this->item_pages($itemUrl); 255 return; 256 } 257 //通常のHTMLページ 258 elseif(preg_match( '/\.php$/', $this->segment[count($this->segment)-1])) 259 { |
#5 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/actions/CInlineAction.php(49): EcpagesController->actionIndex() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#6 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/CController.php(308): CInlineAction->runWithParams(array("/archives/user_13848_html" => "")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#7 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction) 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#8 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/filters/CFilter.php(40): CFilterChain->run() 35 */ 36 public function filter($filterChain) 37 { 38 if($this->preFilter($filterChain)) 39 { 40 $filterChain->run(); 41 $this->postFilter($filterChain); 42 } 43 } 44 45 /** |
#9 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/CController.php(1145): CFilter->filter(CFilterChain) 1140 */ 1141 public function filterAccessControl($filterChain) 1142 { 1143 $filter=new CAccessControlFilter; 1144 $filter->setRules($this->accessRules()); 1145 $filter->filter($filterChain); 1146 } 1147 1148 /** 1149 * Returns a persistent page state value. 1150 * A page state is a variable that is persistent across POST requests of the same page. |
#10 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain) 53 * @param CFilterChain $filterChain the filter chain that the filter is on. 54 */ 55 public function filter($filterChain) 56 { 57 $method='filter'.$this->name; 58 $filterChain->controller->$method($filterChain); 59 } 60 } |
#11 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain) 125 { 126 if($this->offsetExists($this->filterIndex)) 127 { 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#12 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/CController.php(291): CFilterChain->run() 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
#13 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("accessControl")) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#14 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/CWebApplication.php(282): CController->run("index") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#15 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/web/CWebApplication.php(141): CWebApplication->runController("ecpages/index") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#16 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#17 |
+
–
/var/www/vhosts/hanamary.jp/hana_mary/src/index.php(14): CApplication->run() 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 //require 'request_setter.php'; 14 Yii::createWebApplication($config)->run(); |
2024-11-22 03:15:01 Apache/2.4.51 () PHP/7.1.33 Yii Framework/1.1.14