
BROWNIE Gift Card - 200 RMB
$0 / ¥200
¥
Notice (8): Undefined variable: proudct [APP/Template/Pages/index_gift_card.ctp, line 301]Code Context</div>
<div class="price1">¥<?php echo ($product->price==0)?'N/A':$proudct->price;?></div>
$viewFile = '/var/www/brownie/eshop/src/Template/Pages/index_gift_card.ctp' $dataForView = [ 'dataProducts' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ProductsTable) {} }, 'prodCateList' => [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ], 'publicationInfo' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {} ], 'form_templates' => [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] ] $dataProducts = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Products.id' => 'integer', 'id' => 'integer', 'Products.product_name' => 'string', 'product_name' => 'string', 'Products.product_name_en' => 'text', 'product_name_en' => 'text', 'Products.product_name_cn' => 'text', 'product_name_cn' => 'text', 'Products.product_time' => 'string', 'product_time' => 'string', 'Products.product_code' => 'string', 'product_code' => 'string', 'Products.price' => 'decimal', 'price' => 'decimal', 'Products.weight' => 'decimal', 'weight' => 'decimal', 'Products.price_start' => 'decimal', 'price_start' => 'decimal', 'Products.price_end' => 'decimal', 'price_end' => 'decimal', 'Products.s_quantity' => 'integer', 's_quantity' => 'integer', 'Products.m_quantity' => 'integer', 'm_quantity' => 'integer', 'Products.l_quantity' => 'integer', 'l_quantity' => 'integer', 'Products.quantity' => 'integer', 'quantity' => 'integer', 'Products.init_quantity' => 'integer', 'init_quantity' => 'integer', 'Products.on_shelf' => 'integer', 'on_shelf' => 'integer', 'Products.description_en' => 'text', 'description_en' => 'text', 'Products.description_cn' => 'text', 'description_cn' => 'text', 'Products.status' => 'string', 'status' => 'string', 'Products.product_view_count' => 'integer', 'product_view_count' => 'integer', 'Products.detail_en' => 'text', 'detail_en' => 'text', 'Products.detail_cn' => 'text', 'detail_cn' => 'text', 'Products.product_layout' => 'text', 'product_layout' => 'text', 'Products.sequence' => 'integer', 'sequence' => 'integer', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products.size' => 'string', 'size' => 'string', 'Products.mounting' => 'string', 'mounting' => 'string', 'Products.frame' => 'string', 'frame' => 'string', 'Products.shadow' => 'string', 'shadow' => 'string', 'Products.shape' => 'string', 'shape' => 'string', 'Products.color' => 'string', 'color' => 'string', 'Products.theme' => 'string', 'theme' => 'string', 'Products.concept' => 'string', 'concept' => 'string', 'Products.sku' => 'string', 'sku' => 'string', 'Products.artist_name' => 'string', 'artist_name' => 'string', 'Products.artist_id' => 'integer', 'artist_id' => 'integer', 'Products.product_category_id' => 'integer', 'product_category_id' => 'integer', 'Products.category_id' => 'integer', 'category_id' => 'integer', 'Products.keywords' => 'text', 'keywords' => 'text', 'Products.series_id' => 'integer', 'series_id' => 'integer', 'Images.id' => 'integer', 'Images.product_id' => 'integer', 'product_id' => 'integer', 'Images.path' => 'string', 'path' => 'string', 'Images.url' => 'string', 'url' => 'string', 'Images.type' => 'string', 'type' => 'string', 'Images.image_name' => 'string', 'image_name' => 'string', 'Images.status' => 'integer' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Images' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ProductsTable) {} } $prodCateList = [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ] $publicationInfo = [ (int) 0 => object(App\Model\Entity\ProductCategory) { 'id' => (int) 5, 'cate_name' => 'giftcard', 'is_publication' => (int) 0, 'is_photo' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, '_locale' => 'en', '_translations' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [ [maximum depth reached] ], '[virtual]' => [[maximum depth reached]], '[errors]' => [[maximum depth reached]], '[repository]' => 'ProductCategories' } ] $form_templates = [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] $username = null $wishlistInfo = null $colorConfig = [ (int) 1 => [ (int) 0 => 'Black', (int) 1 => '#000000' ], (int) 2 => [ (int) 0 => 'White', (int) 1 => '#ffffff' ], (int) 3 => [ (int) 0 => 'Brown', (int) 1 => '#64483c' ], (int) 4 => [ (int) 0 => 'Original', (int) 1 => '#d4ae6d' ], (int) 5 => [ (int) 0 => 'Silver', (int) 1 => '#f5f5f5' ] ] $lang = 'en' $rate = '0.0000' $product = object(App\Model\Entity\Product) { 'id' => (int) 207, 'product_name' => 'BROWNIE Gift Card - 200 RMB', 'product_name_en' => 'BROWNIE Gift Card - 200 RMB', 'product_name_cn' => 'BROWNIE 礼品卡 - 200 RMB', 'product_time' => null, 'product_code' => '0', 'price' => (float) 200, 'weight' => (float) 1, 'price_start' => (float) 200, 'price_end' => (float) 200, 's_quantity' => (int) 0, 'm_quantity' => (int) 0, 'l_quantity' => (int) 0, 'quantity' => (int) 100, 'init_quantity' => (int) 100, 'on_shelf' => (int) 1, 'description_en' => '', 'description_cn' => '', 'status' => '', 'product_view_count' => (int) 0, 'detail_en' => '', 'detail_cn' => '', 'product_layout' => '', 'sequence' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, 'size' => '', 'mounting' => '', 'frame' => '', 'shadow' => '', 'shape' => '0', 'color' => '0', 'theme' => '0', 'concept' => '0', 'sku' => '00104002', 'artist_name' => 'unknown', 'artist_id' => (int) 0, 'product_category_id' => (int) 5, 'category_id' => (int) 0, 'keywords' => '', 'series_id' => (int) 0, 'images' => [ (int) 0 => object(App\Model\Entity\Image) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Products' } $time = object(Cake\I18n\Time) { 'time' => '2018-02-13T11:44:34+0800', 'timezone' => 'PRC', 'fixedNowTime' => false } $pageImg = object(App\Model\Entity\Image) { 'id' => (int) 71535, 'product_id' => (int) 207, 'path' => '../../../brownie_products_files/prod00000000207_0.png', 'url' => '/brownie_products_files/prod00000000207_0.png', 'type' => 'main', 'image_name' => 'prod00000000207_0.png', 'status' => (int) 0, '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Images' } $productNameType = 'product_name_en'include - APP/Template/Pages/index_gift_card.ctp, line 301 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 971 Cake\View\View::_render() - CORE/src/View/View.php, line 931 Cake\View\View::render() - CORE/src/View/View.php, line 579 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 611 Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 120 Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87 [main] - ROOT/webroot/index.php, line 37
Notice (8): Trying to get property of non-object [APP/Template/Pages/index_gift_card.ctp, line 301]Code Context</div>
<div class="price1">¥<?php echo ($product->price==0)?'N/A':$proudct->price;?></div>
$viewFile = '/var/www/brownie/eshop/src/Template/Pages/index_gift_card.ctp' $dataForView = [ 'dataProducts' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ProductsTable) {} }, 'prodCateList' => [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ], 'publicationInfo' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {} ], 'form_templates' => [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] ] $dataProducts = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Products.id' => 'integer', 'id' => 'integer', 'Products.product_name' => 'string', 'product_name' => 'string', 'Products.product_name_en' => 'text', 'product_name_en' => 'text', 'Products.product_name_cn' => 'text', 'product_name_cn' => 'text', 'Products.product_time' => 'string', 'product_time' => 'string', 'Products.product_code' => 'string', 'product_code' => 'string', 'Products.price' => 'decimal', 'price' => 'decimal', 'Products.weight' => 'decimal', 'weight' => 'decimal', 'Products.price_start' => 'decimal', 'price_start' => 'decimal', 'Products.price_end' => 'decimal', 'price_end' => 'decimal', 'Products.s_quantity' => 'integer', 's_quantity' => 'integer', 'Products.m_quantity' => 'integer', 'm_quantity' => 'integer', 'Products.l_quantity' => 'integer', 'l_quantity' => 'integer', 'Products.quantity' => 'integer', 'quantity' => 'integer', 'Products.init_quantity' => 'integer', 'init_quantity' => 'integer', 'Products.on_shelf' => 'integer', 'on_shelf' => 'integer', 'Products.description_en' => 'text', 'description_en' => 'text', 'Products.description_cn' => 'text', 'description_cn' => 'text', 'Products.status' => 'string', 'status' => 'string', 'Products.product_view_count' => 'integer', 'product_view_count' => 'integer', 'Products.detail_en' => 'text', 'detail_en' => 'text', 'Products.detail_cn' => 'text', 'detail_cn' => 'text', 'Products.product_layout' => 'text', 'product_layout' => 'text', 'Products.sequence' => 'integer', 'sequence' => 'integer', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products.size' => 'string', 'size' => 'string', 'Products.mounting' => 'string', 'mounting' => 'string', 'Products.frame' => 'string', 'frame' => 'string', 'Products.shadow' => 'string', 'shadow' => 'string', 'Products.shape' => 'string', 'shape' => 'string', 'Products.color' => 'string', 'color' => 'string', 'Products.theme' => 'string', 'theme' => 'string', 'Products.concept' => 'string', 'concept' => 'string', 'Products.sku' => 'string', 'sku' => 'string', 'Products.artist_name' => 'string', 'artist_name' => 'string', 'Products.artist_id' => 'integer', 'artist_id' => 'integer', 'Products.product_category_id' => 'integer', 'product_category_id' => 'integer', 'Products.category_id' => 'integer', 'category_id' => 'integer', 'Products.keywords' => 'text', 'keywords' => 'text', 'Products.series_id' => 'integer', 'series_id' => 'integer', 'Images.id' => 'integer', 'Images.product_id' => 'integer', 'product_id' => 'integer', 'Images.path' => 'string', 'path' => 'string', 'Images.url' => 'string', 'url' => 'string', 'Images.type' => 'string', 'type' => 'string', 'Images.image_name' => 'string', 'image_name' => 'string', 'Images.status' => 'integer' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Images' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ProductsTable) {} } $prodCateList = [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ] $publicationInfo = [ (int) 0 => object(App\Model\Entity\ProductCategory) { 'id' => (int) 5, 'cate_name' => 'giftcard', 'is_publication' => (int) 0, 'is_photo' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, '_locale' => 'en', '_translations' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [ [maximum depth reached] ], '[virtual]' => [[maximum depth reached]], '[errors]' => [[maximum depth reached]], '[repository]' => 'ProductCategories' } ] $form_templates = [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] $username = null $wishlistInfo = null $colorConfig = [ (int) 1 => [ (int) 0 => 'Black', (int) 1 => '#000000' ], (int) 2 => [ (int) 0 => 'White', (int) 1 => '#ffffff' ], (int) 3 => [ (int) 0 => 'Brown', (int) 1 => '#64483c' ], (int) 4 => [ (int) 0 => 'Original', (int) 1 => '#d4ae6d' ], (int) 5 => [ (int) 0 => 'Silver', (int) 1 => '#f5f5f5' ] ] $lang = 'en' $rate = '0.0000' $product = object(App\Model\Entity\Product) { 'id' => (int) 207, 'product_name' => 'BROWNIE Gift Card - 200 RMB', 'product_name_en' => 'BROWNIE Gift Card - 200 RMB', 'product_name_cn' => 'BROWNIE 礼品卡 - 200 RMB', 'product_time' => null, 'product_code' => '0', 'price' => (float) 200, 'weight' => (float) 1, 'price_start' => (float) 200, 'price_end' => (float) 200, 's_quantity' => (int) 0, 'm_quantity' => (int) 0, 'l_quantity' => (int) 0, 'quantity' => (int) 100, 'init_quantity' => (int) 100, 'on_shelf' => (int) 1, 'description_en' => '', 'description_cn' => '', 'status' => '', 'product_view_count' => (int) 0, 'detail_en' => '', 'detail_cn' => '', 'product_layout' => '', 'sequence' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, 'size' => '', 'mounting' => '', 'frame' => '', 'shadow' => '', 'shape' => '0', 'color' => '0', 'theme' => '0', 'concept' => '0', 'sku' => '00104002', 'artist_name' => 'unknown', 'artist_id' => (int) 0, 'product_category_id' => (int) 5, 'category_id' => (int) 0, 'keywords' => '', 'series_id' => (int) 0, 'images' => [ (int) 0 => object(App\Model\Entity\Image) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Products' } $time = object(Cake\I18n\Time) { 'time' => '2018-02-13T11:44:34+0800', 'timezone' => 'PRC', 'fixedNowTime' => false } $pageImg = object(App\Model\Entity\Image) { 'id' => (int) 71535, 'product_id' => (int) 207, 'path' => '../../../brownie_products_files/prod00000000207_0.png', 'url' => '/brownie_products_files/prod00000000207_0.png', 'type' => 'main', 'image_name' => 'prod00000000207_0.png', 'status' => (int) 0, '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Images' } $productNameType = 'product_name_en'include - APP/Template/Pages/index_gift_card.ctp, line 301 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 971 Cake\View\View::_render() - CORE/src/View/View.php, line 931 Cake\View\View::render() - CORE/src/View/View.php, line 579 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 611 Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 120 Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87 [main] - ROOT/webroot/index.php, line 37

BROWNIE Gift Card - 100 RMB
$0 / ¥100
¥
Notice (8): Undefined variable: proudct [APP/Template/Pages/index_gift_card.ctp, line 301]Code Context</div>
<div class="price1">¥<?php echo ($product->price==0)?'N/A':$proudct->price;?></div>
$viewFile = '/var/www/brownie/eshop/src/Template/Pages/index_gift_card.ctp' $dataForView = [ 'dataProducts' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ProductsTable) {} }, 'prodCateList' => [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ], 'publicationInfo' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {} ], 'form_templates' => [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] ] $dataProducts = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Products.id' => 'integer', 'id' => 'integer', 'Products.product_name' => 'string', 'product_name' => 'string', 'Products.product_name_en' => 'text', 'product_name_en' => 'text', 'Products.product_name_cn' => 'text', 'product_name_cn' => 'text', 'Products.product_time' => 'string', 'product_time' => 'string', 'Products.product_code' => 'string', 'product_code' => 'string', 'Products.price' => 'decimal', 'price' => 'decimal', 'Products.weight' => 'decimal', 'weight' => 'decimal', 'Products.price_start' => 'decimal', 'price_start' => 'decimal', 'Products.price_end' => 'decimal', 'price_end' => 'decimal', 'Products.s_quantity' => 'integer', 's_quantity' => 'integer', 'Products.m_quantity' => 'integer', 'm_quantity' => 'integer', 'Products.l_quantity' => 'integer', 'l_quantity' => 'integer', 'Products.quantity' => 'integer', 'quantity' => 'integer', 'Products.init_quantity' => 'integer', 'init_quantity' => 'integer', 'Products.on_shelf' => 'integer', 'on_shelf' => 'integer', 'Products.description_en' => 'text', 'description_en' => 'text', 'Products.description_cn' => 'text', 'description_cn' => 'text', 'Products.status' => 'string', 'status' => 'string', 'Products.product_view_count' => 'integer', 'product_view_count' => 'integer', 'Products.detail_en' => 'text', 'detail_en' => 'text', 'Products.detail_cn' => 'text', 'detail_cn' => 'text', 'Products.product_layout' => 'text', 'product_layout' => 'text', 'Products.sequence' => 'integer', 'sequence' => 'integer', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products.size' => 'string', 'size' => 'string', 'Products.mounting' => 'string', 'mounting' => 'string', 'Products.frame' => 'string', 'frame' => 'string', 'Products.shadow' => 'string', 'shadow' => 'string', 'Products.shape' => 'string', 'shape' => 'string', 'Products.color' => 'string', 'color' => 'string', 'Products.theme' => 'string', 'theme' => 'string', 'Products.concept' => 'string', 'concept' => 'string', 'Products.sku' => 'string', 'sku' => 'string', 'Products.artist_name' => 'string', 'artist_name' => 'string', 'Products.artist_id' => 'integer', 'artist_id' => 'integer', 'Products.product_category_id' => 'integer', 'product_category_id' => 'integer', 'Products.category_id' => 'integer', 'category_id' => 'integer', 'Products.keywords' => 'text', 'keywords' => 'text', 'Products.series_id' => 'integer', 'series_id' => 'integer', 'Images.id' => 'integer', 'Images.product_id' => 'integer', 'product_id' => 'integer', 'Images.path' => 'string', 'path' => 'string', 'Images.url' => 'string', 'url' => 'string', 'Images.type' => 'string', 'type' => 'string', 'Images.image_name' => 'string', 'image_name' => 'string', 'Images.status' => 'integer' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Images' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ProductsTable) {} } $prodCateList = [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ] $publicationInfo = [ (int) 0 => object(App\Model\Entity\ProductCategory) { 'id' => (int) 5, 'cate_name' => 'giftcard', 'is_publication' => (int) 0, 'is_photo' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, '_locale' => 'en', '_translations' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [ [maximum depth reached] ], '[virtual]' => [[maximum depth reached]], '[errors]' => [[maximum depth reached]], '[repository]' => 'ProductCategories' } ] $form_templates = [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] $username = null $wishlistInfo = null $colorConfig = [ (int) 1 => [ (int) 0 => 'Black', (int) 1 => '#000000' ], (int) 2 => [ (int) 0 => 'White', (int) 1 => '#ffffff' ], (int) 3 => [ (int) 0 => 'Brown', (int) 1 => '#64483c' ], (int) 4 => [ (int) 0 => 'Original', (int) 1 => '#d4ae6d' ], (int) 5 => [ (int) 0 => 'Silver', (int) 1 => '#f5f5f5' ] ] $lang = 'en' $rate = '0.0000' $product = object(App\Model\Entity\Product) { 'id' => (int) 208, 'product_name' => 'BROWNIE Gift Card - 100 RMB', 'product_name_en' => 'BROWNIE Gift Card - 100 RMB', 'product_name_cn' => 'BROWNIE 礼品卡 - 100 RMB', 'product_time' => null, 'product_code' => '0', 'price' => (float) 100, 'weight' => (float) 1, 'price_start' => (float) 100, 'price_end' => (float) 100, 's_quantity' => (int) 0, 'm_quantity' => (int) 0, 'l_quantity' => (int) 0, 'quantity' => (int) 100, 'init_quantity' => (int) 100, 'on_shelf' => (int) 1, 'description_en' => '', 'description_cn' => '', 'status' => '', 'product_view_count' => (int) 0, 'detail_en' => '', 'detail_cn' => '', 'product_layout' => '', 'sequence' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, 'size' => '', 'mounting' => '', 'frame' => '', 'shadow' => '', 'shape' => '0', 'color' => '0', 'theme' => '0', 'concept' => '0', 'sku' => '00104001', 'artist_name' => 'unknown', 'artist_id' => (int) 0, 'product_category_id' => (int) 5, 'category_id' => (int) 0, 'keywords' => '', 'series_id' => (int) 0, 'images' => [ (int) 0 => object(App\Model\Entity\Image) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Products' } $time = object(Cake\I18n\Time) { 'time' => '2018-02-13T11:44:24+0800', 'timezone' => 'PRC', 'fixedNowTime' => false } $pageImg = object(App\Model\Entity\Image) { 'id' => (int) 71538, 'product_id' => (int) 208, 'path' => '../../../brownie_products_files/prod00000000208_0.png', 'url' => '/brownie_products_files/prod00000000208_0.png', 'type' => 'main', 'image_name' => 'prod00000000208_0.png', 'status' => (int) 0, '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Images' } $productNameType = 'product_name_en'include - APP/Template/Pages/index_gift_card.ctp, line 301 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 971 Cake\View\View::_render() - CORE/src/View/View.php, line 931 Cake\View\View::render() - CORE/src/View/View.php, line 579 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 611 Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 120 Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87 [main] - ROOT/webroot/index.php, line 37
Notice (8): Trying to get property of non-object [APP/Template/Pages/index_gift_card.ctp, line 301]Code Context</div>
<div class="price1">¥<?php echo ($product->price==0)?'N/A':$proudct->price;?></div>
$viewFile = '/var/www/brownie/eshop/src/Template/Pages/index_gift_card.ctp' $dataForView = [ 'dataProducts' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ProductsTable) {} }, 'prodCateList' => [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ], 'publicationInfo' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {} ], 'form_templates' => [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] ] $dataProducts = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Products.id' => 'integer', 'id' => 'integer', 'Products.product_name' => 'string', 'product_name' => 'string', 'Products.product_name_en' => 'text', 'product_name_en' => 'text', 'Products.product_name_cn' => 'text', 'product_name_cn' => 'text', 'Products.product_time' => 'string', 'product_time' => 'string', 'Products.product_code' => 'string', 'product_code' => 'string', 'Products.price' => 'decimal', 'price' => 'decimal', 'Products.weight' => 'decimal', 'weight' => 'decimal', 'Products.price_start' => 'decimal', 'price_start' => 'decimal', 'Products.price_end' => 'decimal', 'price_end' => 'decimal', 'Products.s_quantity' => 'integer', 's_quantity' => 'integer', 'Products.m_quantity' => 'integer', 'm_quantity' => 'integer', 'Products.l_quantity' => 'integer', 'l_quantity' => 'integer', 'Products.quantity' => 'integer', 'quantity' => 'integer', 'Products.init_quantity' => 'integer', 'init_quantity' => 'integer', 'Products.on_shelf' => 'integer', 'on_shelf' => 'integer', 'Products.description_en' => 'text', 'description_en' => 'text', 'Products.description_cn' => 'text', 'description_cn' => 'text', 'Products.status' => 'string', 'status' => 'string', 'Products.product_view_count' => 'integer', 'product_view_count' => 'integer', 'Products.detail_en' => 'text', 'detail_en' => 'text', 'Products.detail_cn' => 'text', 'detail_cn' => 'text', 'Products.product_layout' => 'text', 'product_layout' => 'text', 'Products.sequence' => 'integer', 'sequence' => 'integer', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products.size' => 'string', 'size' => 'string', 'Products.mounting' => 'string', 'mounting' => 'string', 'Products.frame' => 'string', 'frame' => 'string', 'Products.shadow' => 'string', 'shadow' => 'string', 'Products.shape' => 'string', 'shape' => 'string', 'Products.color' => 'string', 'color' => 'string', 'Products.theme' => 'string', 'theme' => 'string', 'Products.concept' => 'string', 'concept' => 'string', 'Products.sku' => 'string', 'sku' => 'string', 'Products.artist_name' => 'string', 'artist_name' => 'string', 'Products.artist_id' => 'integer', 'artist_id' => 'integer', 'Products.product_category_id' => 'integer', 'product_category_id' => 'integer', 'Products.category_id' => 'integer', 'category_id' => 'integer', 'Products.keywords' => 'text', 'keywords' => 'text', 'Products.series_id' => 'integer', 'series_id' => 'integer', 'Images.id' => 'integer', 'Images.product_id' => 'integer', 'product_id' => 'integer', 'Images.path' => 'string', 'path' => 'string', 'Images.url' => 'string', 'url' => 'string', 'Images.type' => 'string', 'type' => 'string', 'Images.image_name' => 'string', 'image_name' => 'string', 'Images.status' => 'integer' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Images' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ProductsTable) {} } $prodCateList = [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ] $publicationInfo = [ (int) 0 => object(App\Model\Entity\ProductCategory) { 'id' => (int) 5, 'cate_name' => 'giftcard', 'is_publication' => (int) 0, 'is_photo' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, '_locale' => 'en', '_translations' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [ [maximum depth reached] ], '[virtual]' => [[maximum depth reached]], '[errors]' => [[maximum depth reached]], '[repository]' => 'ProductCategories' } ] $form_templates = [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] $username = null $wishlistInfo = null $colorConfig = [ (int) 1 => [ (int) 0 => 'Black', (int) 1 => '#000000' ], (int) 2 => [ (int) 0 => 'White', (int) 1 => '#ffffff' ], (int) 3 => [ (int) 0 => 'Brown', (int) 1 => '#64483c' ], (int) 4 => [ (int) 0 => 'Original', (int) 1 => '#d4ae6d' ], (int) 5 => [ (int) 0 => 'Silver', (int) 1 => '#f5f5f5' ] ] $lang = 'en' $rate = '0.0000' $product = object(App\Model\Entity\Product) { 'id' => (int) 208, 'product_name' => 'BROWNIE Gift Card - 100 RMB', 'product_name_en' => 'BROWNIE Gift Card - 100 RMB', 'product_name_cn' => 'BROWNIE 礼品卡 - 100 RMB', 'product_time' => null, 'product_code' => '0', 'price' => (float) 100, 'weight' => (float) 1, 'price_start' => (float) 100, 'price_end' => (float) 100, 's_quantity' => (int) 0, 'm_quantity' => (int) 0, 'l_quantity' => (int) 0, 'quantity' => (int) 100, 'init_quantity' => (int) 100, 'on_shelf' => (int) 1, 'description_en' => '', 'description_cn' => '', 'status' => '', 'product_view_count' => (int) 0, 'detail_en' => '', 'detail_cn' => '', 'product_layout' => '', 'sequence' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, 'size' => '', 'mounting' => '', 'frame' => '', 'shadow' => '', 'shape' => '0', 'color' => '0', 'theme' => '0', 'concept' => '0', 'sku' => '00104001', 'artist_name' => 'unknown', 'artist_id' => (int) 0, 'product_category_id' => (int) 5, 'category_id' => (int) 0, 'keywords' => '', 'series_id' => (int) 0, 'images' => [ (int) 0 => object(App\Model\Entity\Image) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Products' } $time = object(Cake\I18n\Time) { 'time' => '2018-02-13T11:44:24+0800', 'timezone' => 'PRC', 'fixedNowTime' => false } $pageImg = object(App\Model\Entity\Image) { 'id' => (int) 71538, 'product_id' => (int) 208, 'path' => '../../../brownie_products_files/prod00000000208_0.png', 'url' => '/brownie_products_files/prod00000000208_0.png', 'type' => 'main', 'image_name' => 'prod00000000208_0.png', 'status' => (int) 0, '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Images' } $productNameType = 'product_name_en'include - APP/Template/Pages/index_gift_card.ctp, line 301 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 971 Cake\View\View::_render() - CORE/src/View/View.php, line 931 Cake\View\View::render() - CORE/src/View/View.php, line 579 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 611 Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 120 Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87 [main] - ROOT/webroot/index.php, line 37

BROWNIE Gift Card - 500 RMB
$0 / ¥500
¥
Notice (8): Undefined variable: proudct [APP/Template/Pages/index_gift_card.ctp, line 301]Code Context</div>
<div class="price1">¥<?php echo ($product->price==0)?'N/A':$proudct->price;?></div>
$viewFile = '/var/www/brownie/eshop/src/Template/Pages/index_gift_card.ctp' $dataForView = [ 'dataProducts' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ProductsTable) {} }, 'prodCateList' => [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ], 'publicationInfo' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {} ], 'form_templates' => [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] ] $dataProducts = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Products.id' => 'integer', 'id' => 'integer', 'Products.product_name' => 'string', 'product_name' => 'string', 'Products.product_name_en' => 'text', 'product_name_en' => 'text', 'Products.product_name_cn' => 'text', 'product_name_cn' => 'text', 'Products.product_time' => 'string', 'product_time' => 'string', 'Products.product_code' => 'string', 'product_code' => 'string', 'Products.price' => 'decimal', 'price' => 'decimal', 'Products.weight' => 'decimal', 'weight' => 'decimal', 'Products.price_start' => 'decimal', 'price_start' => 'decimal', 'Products.price_end' => 'decimal', 'price_end' => 'decimal', 'Products.s_quantity' => 'integer', 's_quantity' => 'integer', 'Products.m_quantity' => 'integer', 'm_quantity' => 'integer', 'Products.l_quantity' => 'integer', 'l_quantity' => 'integer', 'Products.quantity' => 'integer', 'quantity' => 'integer', 'Products.init_quantity' => 'integer', 'init_quantity' => 'integer', 'Products.on_shelf' => 'integer', 'on_shelf' => 'integer', 'Products.description_en' => 'text', 'description_en' => 'text', 'Products.description_cn' => 'text', 'description_cn' => 'text', 'Products.status' => 'string', 'status' => 'string', 'Products.product_view_count' => 'integer', 'product_view_count' => 'integer', 'Products.detail_en' => 'text', 'detail_en' => 'text', 'Products.detail_cn' => 'text', 'detail_cn' => 'text', 'Products.product_layout' => 'text', 'product_layout' => 'text', 'Products.sequence' => 'integer', 'sequence' => 'integer', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products.size' => 'string', 'size' => 'string', 'Products.mounting' => 'string', 'mounting' => 'string', 'Products.frame' => 'string', 'frame' => 'string', 'Products.shadow' => 'string', 'shadow' => 'string', 'Products.shape' => 'string', 'shape' => 'string', 'Products.color' => 'string', 'color' => 'string', 'Products.theme' => 'string', 'theme' => 'string', 'Products.concept' => 'string', 'concept' => 'string', 'Products.sku' => 'string', 'sku' => 'string', 'Products.artist_name' => 'string', 'artist_name' => 'string', 'Products.artist_id' => 'integer', 'artist_id' => 'integer', 'Products.product_category_id' => 'integer', 'product_category_id' => 'integer', 'Products.category_id' => 'integer', 'category_id' => 'integer', 'Products.keywords' => 'text', 'keywords' => 'text', 'Products.series_id' => 'integer', 'series_id' => 'integer', 'Images.id' => 'integer', 'Images.product_id' => 'integer', 'product_id' => 'integer', 'Images.path' => 'string', 'path' => 'string', 'Images.url' => 'string', 'url' => 'string', 'Images.type' => 'string', 'type' => 'string', 'Images.image_name' => 'string', 'image_name' => 'string', 'Images.status' => 'integer' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Images' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ProductsTable) {} } $prodCateList = [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ] $publicationInfo = [ (int) 0 => object(App\Model\Entity\ProductCategory) { 'id' => (int) 5, 'cate_name' => 'giftcard', 'is_publication' => (int) 0, 'is_photo' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, '_locale' => 'en', '_translations' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [ [maximum depth reached] ], '[virtual]' => [[maximum depth reached]], '[errors]' => [[maximum depth reached]], '[repository]' => 'ProductCategories' } ] $form_templates = [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] $username = null $wishlistInfo = null $colorConfig = [ (int) 1 => [ (int) 0 => 'Black', (int) 1 => '#000000' ], (int) 2 => [ (int) 0 => 'White', (int) 1 => '#ffffff' ], (int) 3 => [ (int) 0 => 'Brown', (int) 1 => '#64483c' ], (int) 4 => [ (int) 0 => 'Original', (int) 1 => '#d4ae6d' ], (int) 5 => [ (int) 0 => 'Silver', (int) 1 => '#f5f5f5' ] ] $lang = 'en' $rate = '0.0000' $product = object(App\Model\Entity\Product) { 'id' => (int) 206, 'product_name' => 'BROWNIE Gift Card - 500 RMB', 'product_name_en' => 'BROWNIE Gift Card - 500 RMB', 'product_name_cn' => 'BROWNIE 礼品卡 - 500 RMB', 'product_time' => null, 'product_code' => '0', 'price' => (float) 500, 'weight' => (float) 1, 'price_start' => (float) 500, 'price_end' => (float) 500, 's_quantity' => (int) 0, 'm_quantity' => (int) 0, 'l_quantity' => (int) 0, 'quantity' => (int) 100, 'init_quantity' => (int) 100, 'on_shelf' => (int) 1, 'description_en' => '', 'description_cn' => '', 'status' => '', 'product_view_count' => (int) 0, 'detail_en' => '', 'detail_cn' => '', 'product_layout' => '', 'sequence' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, 'size' => '', 'mounting' => '', 'frame' => '', 'shadow' => '', 'shape' => '0', 'color' => '0', 'theme' => '0', 'concept' => '0', 'sku' => '00104003', 'artist_name' => 'unknown', 'artist_id' => (int) 0, 'product_category_id' => (int) 5, 'category_id' => (int) 0, 'keywords' => '', 'series_id' => (int) 0, 'images' => [ (int) 0 => object(App\Model\Entity\Image) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Products' } $time = object(Cake\I18n\Time) { 'time' => '2018-02-13T11:43:27+0800', 'timezone' => 'PRC', 'fixedNowTime' => false } $pageImg = object(App\Model\Entity\Image) { 'id' => (int) 71532, 'product_id' => (int) 206, 'path' => '../../../brownie_products_files/prod00000000206_0.png', 'url' => '/brownie_products_files/prod00000000206_0.png', 'type' => 'main', 'image_name' => 'prod00000000206_0.png', 'status' => (int) 0, '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Images' } $productNameType = 'product_name_en'include - APP/Template/Pages/index_gift_card.ctp, line 301 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 971 Cake\View\View::_render() - CORE/src/View/View.php, line 931 Cake\View\View::render() - CORE/src/View/View.php, line 579 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 611 Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 120 Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87 [main] - ROOT/webroot/index.php, line 37
Notice (8): Trying to get property of non-object [APP/Template/Pages/index_gift_card.ctp, line 301]Code Context</div>
<div class="price1">¥<?php echo ($product->price==0)?'N/A':$proudct->price;?></div>
$viewFile = '/var/www/brownie/eshop/src/Template/Pages/index_gift_card.ctp' $dataForView = [ 'dataProducts' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ProductsTable) {} }, 'prodCateList' => [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ], 'publicationInfo' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {} ], 'form_templates' => [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] ] $dataProducts = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Products.id AS `Products__id`, Products.product_name AS `Products__product_name`, Products.product_name_en AS `Products__product_name_en`, Products.product_name_cn AS `Products__product_name_cn`, Products.product_time AS `Products__product_time`, Products.product_code AS `Products__product_code`, Products.price AS `Products__price`, Products.weight AS `Products__weight`, Products.price_start AS `Products__price_start`, Products.price_end AS `Products__price_end`, Products.s_quantity AS `Products__s_quantity`, Products.m_quantity AS `Products__m_quantity`, Products.l_quantity AS `Products__l_quantity`, Products.quantity AS `Products__quantity`, Products.init_quantity AS `Products__init_quantity`, Products.on_shelf AS `Products__on_shelf`, Products.description_en AS `Products__description_en`, Products.description_cn AS `Products__description_cn`, Products.status AS `Products__status`, Products.product_view_count AS `Products__product_view_count`, Products.detail_en AS `Products__detail_en`, Products.detail_cn AS `Products__detail_cn`, Products.product_layout AS `Products__product_layout`, Products.sequence AS `Products__sequence`, Products.created AS `Products__created`, Products.modified AS `Products__modified`, Products.size AS `Products__size`, Products.mounting AS `Products__mounting`, Products.frame AS `Products__frame`, Products.shadow AS `Products__shadow`, Products.shape AS `Products__shape`, Products.color AS `Products__color`, Products.theme AS `Products__theme`, Products.concept AS `Products__concept`, Products.sku AS `Products__sku`, Products.artist_name AS `Products__artist_name`, Products.artist_id AS `Products__artist_id`, Products.product_category_id AS `Products__product_category_id`, Products.category_id AS `Products__category_id`, Products.keywords AS `Products__keywords`, Products.series_id AS `Products__series_id` FROM products Products WHERE (product_category_id = :c0 AND on_shelf = :c1) ORDER BY created DESC LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Products.id' => 'integer', 'id' => 'integer', 'Products.product_name' => 'string', 'product_name' => 'string', 'Products.product_name_en' => 'text', 'product_name_en' => 'text', 'Products.product_name_cn' => 'text', 'product_name_cn' => 'text', 'Products.product_time' => 'string', 'product_time' => 'string', 'Products.product_code' => 'string', 'product_code' => 'string', 'Products.price' => 'decimal', 'price' => 'decimal', 'Products.weight' => 'decimal', 'weight' => 'decimal', 'Products.price_start' => 'decimal', 'price_start' => 'decimal', 'Products.price_end' => 'decimal', 'price_end' => 'decimal', 'Products.s_quantity' => 'integer', 's_quantity' => 'integer', 'Products.m_quantity' => 'integer', 'm_quantity' => 'integer', 'Products.l_quantity' => 'integer', 'l_quantity' => 'integer', 'Products.quantity' => 'integer', 'quantity' => 'integer', 'Products.init_quantity' => 'integer', 'init_quantity' => 'integer', 'Products.on_shelf' => 'integer', 'on_shelf' => 'integer', 'Products.description_en' => 'text', 'description_en' => 'text', 'Products.description_cn' => 'text', 'description_cn' => 'text', 'Products.status' => 'string', 'status' => 'string', 'Products.product_view_count' => 'integer', 'product_view_count' => 'integer', 'Products.detail_en' => 'text', 'detail_en' => 'text', 'Products.detail_cn' => 'text', 'detail_cn' => 'text', 'Products.product_layout' => 'text', 'product_layout' => 'text', 'Products.sequence' => 'integer', 'sequence' => 'integer', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products.size' => 'string', 'size' => 'string', 'Products.mounting' => 'string', 'mounting' => 'string', 'Products.frame' => 'string', 'frame' => 'string', 'Products.shadow' => 'string', 'shadow' => 'string', 'Products.shape' => 'string', 'shape' => 'string', 'Products.color' => 'string', 'color' => 'string', 'Products.theme' => 'string', 'theme' => 'string', 'Products.concept' => 'string', 'concept' => 'string', 'Products.sku' => 'string', 'sku' => 'string', 'Products.artist_name' => 'string', 'artist_name' => 'string', 'Products.artist_id' => 'integer', 'artist_id' => 'integer', 'Products.product_category_id' => 'integer', 'product_category_id' => 'integer', 'Products.category_id' => 'integer', 'category_id' => 'integer', 'Products.keywords' => 'text', 'keywords' => 'text', 'Products.series_id' => 'integer', 'series_id' => 'integer', 'Images.id' => 'integer', 'Images.product_id' => 'integer', 'product_id' => 'integer', 'Images.path' => 'string', 'path' => 'string', 'Images.url' => 'string', 'url' => 'string', 'Images.type' => 'string', 'type' => 'string', 'Images.image_name' => 'string', 'image_name' => 'string', 'Images.status' => 'integer' ], 'decorators' => (int) 0, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Images' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ProductsTable) {} } $prodCateList = [ 'normal' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ], 'publication' => [ (int) 0 => object(App\Model\Entity\ProductCategory) {}, (int) 1 => object(App\Model\Entity\ProductCategory) {} ] ] $publicationInfo = [ (int) 0 => object(App\Model\Entity\ProductCategory) { 'id' => (int) 5, 'cate_name' => 'giftcard', 'is_publication' => (int) 0, 'is_photo' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, '_locale' => 'en', '_translations' => [ [maximum depth reached] ], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [ [maximum depth reached] ], '[virtual]' => [[maximum depth reached]], '[errors]' => [[maximum depth reached]], '[repository]' => 'ProductCategories' } ] $form_templates = [ 'longForm' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '', 'input' => '<input {{class}} type="{{type}}" name="{{name}}" {{attrs}} />', 'select' => '<select class="form-control" name="{{name}}"{{attrs}}>{{content}}</select>', 'inputContainer' => '{{content}}', 'checkContainer' => '' ], 'longhtml' => [ 'formstart' => '<form class="" {{attrs}}>', 'label' => '<label class="col-md-2 control-label" {{attrs}}>{{text}}</label>', 'input' => '<div class="col-md-10"><input type="{{type}}" name="{{name}}" {{attrs}} /></div>', 'select' => '<div class="col-md-10"><select name="{{name}}"{{attrs}}>{{content}}</select></div>', 'inputContainer' => '<div class="form-group {{required}}" form-type="{{type}}">{{content}}</div>', 'checkContainer' => '' ] ] $username = null $wishlistInfo = null $colorConfig = [ (int) 1 => [ (int) 0 => 'Black', (int) 1 => '#000000' ], (int) 2 => [ (int) 0 => 'White', (int) 1 => '#ffffff' ], (int) 3 => [ (int) 0 => 'Brown', (int) 1 => '#64483c' ], (int) 4 => [ (int) 0 => 'Original', (int) 1 => '#d4ae6d' ], (int) 5 => [ (int) 0 => 'Silver', (int) 1 => '#f5f5f5' ] ] $lang = 'en' $rate = '0.0000' $product = object(App\Model\Entity\Product) { 'id' => (int) 206, 'product_name' => 'BROWNIE Gift Card - 500 RMB', 'product_name_en' => 'BROWNIE Gift Card - 500 RMB', 'product_name_cn' => 'BROWNIE 礼品卡 - 500 RMB', 'product_time' => null, 'product_code' => '0', 'price' => (float) 500, 'weight' => (float) 1, 'price_start' => (float) 500, 'price_end' => (float) 500, 's_quantity' => (int) 0, 'm_quantity' => (int) 0, 'l_quantity' => (int) 0, 'quantity' => (int) 100, 'init_quantity' => (int) 100, 'on_shelf' => (int) 1, 'description_en' => '', 'description_cn' => '', 'status' => '', 'product_view_count' => (int) 0, 'detail_en' => '', 'detail_cn' => '', 'product_layout' => '', 'sequence' => (int) 0, 'created' => object(Cake\I18n\Time) {}, 'modified' => object(Cake\I18n\Time) {}, 'size' => '', 'mounting' => '', 'frame' => '', 'shadow' => '', 'shape' => '0', 'color' => '0', 'theme' => '0', 'concept' => '0', 'sku' => '00104003', 'artist_name' => 'unknown', 'artist_id' => (int) 0, 'product_category_id' => (int) 5, 'category_id' => (int) 0, 'keywords' => '', 'series_id' => (int) 0, 'images' => [ (int) 0 => object(App\Model\Entity\Image) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Products' } $time = object(Cake\I18n\Time) { 'time' => '2018-02-13T11:43:27+0800', 'timezone' => 'PRC', 'fixedNowTime' => false } $pageImg = object(App\Model\Entity\Image) { 'id' => (int) 71532, 'product_id' => (int) 206, 'path' => '../../../brownie_products_files/prod00000000206_0.png', 'url' => '/brownie_products_files/prod00000000206_0.png', 'type' => 'main', 'image_name' => 'prod00000000206_0.png', 'status' => (int) 0, '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[repository]' => 'Images' } $productNameType = 'product_name_en'include - APP/Template/Pages/index_gift_card.ctp, line 301 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 971 Cake\View\View::_render() - CORE/src/View/View.php, line 931 Cake\View\View::render() - CORE/src/View/View.php, line 579 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 611 Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 120 Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87 [main] - ROOT/webroot/index.php, line 37