カート 検索

商品詳細ページ

カスタマイズ中

この商品について

セット内容

PHP notice

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

#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, null, ProductSkuModel, ProductSkuModel), ...), 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, null, ProductSkuModel, ProductSkuModel), ...))
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_28419")
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         {
2024-12-25 12:20:50 Apache/2.4.51 () PHP/7.1.33 Yii Framework/1.1.14