Notice (8): Undefined index: Product [APP/View/Elements/Product/short3.ctp, line 54]Code Context // TODO: check for quotable link
if ($product['Product']['quote'] == '1') {
$viewFile = '/home/website-server/www/app/View/Elements/Product/short3.ctp'
$dataForView = array(
'language' => 'cn',
'page' => 'which-kit-to-choose',
'subpage' => null,
'title_for_layout' => 'Which-kit-to-choose',
'product' => array(),
'lvl' => (int) 1
)
$language = 'cn'
$page = 'which-kit-to-choose'
$subpage = null
$title_for_layout = 'Which-kit-to-choose'
$product = array()
$lvl = (int) 1
$slugs = array(
(int) 0 => null
)
$products = array(
(int) 0 => array()
)
$name = null
include - APP/View/Elements/Product/short3.ctp, line 54
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Pages/which-kit-to-choose.ctp, line 49
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
PagesController::display() - APP/Controller/PagesController.php, line 150
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: Product [APP/View/Elements/Product/short3.ctp, line 62]Code Context echo $this->Html->link('<i class="fa fa-info-circle"></i>', '#', array('id' => $product['Product']['slug'],'data-reveal-id' => 'quoteModal-'.$product['Product']['id'], 'class' => 'quote_btn', 'escape' => false, 'style' => "color:#B21329"));
} else {
if(/*$isvisible && */($product['Product']['in_stock'] !=1)) {
$viewFile = '/home/website-server/www/app/View/Elements/Product/short3.ctp'
$dataForView = array(
'language' => 'cn',
'page' => 'which-kit-to-choose',
'subpage' => null,
'title_for_layout' => 'Which-kit-to-choose',
'product' => array(),
'lvl' => (int) 1
)
$language = 'cn'
$page = 'which-kit-to-choose'
$subpage = null
$title_for_layout = 'Which-kit-to-choose'
$product = array()
$lvl = (int) 1
$slugs = array(
(int) 0 => null
)
$products = array(
(int) 0 => array()
)
$name = null
include - APP/View/Elements/Product/short3.ctp, line 62
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Pages/which-kit-to-choose.ctp, line 49
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
PagesController::display() - APP/Controller/PagesController.php, line 150
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: Product [APP/View/Elements/Product/short3.ctp, line 64]Code Context if(/*$isvisible && */($product['Product']['in_stock'] !=1)) {
echo '<!-- BEGIN: ADD TO CART MODAL -->';
echo '<div id="cartModal-'.$product['Product']['id'].'" class="reveal-modal small" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">';
$viewFile = '/home/website-server/www/app/View/Elements/Product/short3.ctp'
$dataForView = array(
'language' => 'cn',
'page' => 'which-kit-to-choose',
'subpage' => null,
'title_for_layout' => 'Which-kit-to-choose',
'product' => array(),
'lvl' => (int) 1
)
$language = 'cn'
$page = 'which-kit-to-choose'
$subpage = null
$title_for_layout = 'Which-kit-to-choose'
$product = array()
$lvl = (int) 1
$slugs = array(
(int) 0 => null
)
$products = array(
(int) 0 => array()
)
$name = null
include - APP/View/Elements/Product/short3.ctp, line 64
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Pages/which-kit-to-choose.ctp, line 49
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
PagesController::display() - APP/Controller/PagesController.php, line 150
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: Product [APP/View/Elements/Product/short3.ctp, line 65]Code Context echo '<!-- BEGIN: ADD TO CART MODAL -->';
echo '<div id="cartModal-'.$product['Product']['id'].'" class="reveal-modal small" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">';
echo $this->element('Forms/addtocart', array('product' => $product['Product']));
$viewFile = '/home/website-server/www/app/View/Elements/Product/short3.ctp'
$dataForView = array(
'language' => 'cn',
'page' => 'which-kit-to-choose',
'subpage' => null,
'title_for_layout' => 'Which-kit-to-choose',
'product' => array(),
'lvl' => (int) 1
)
$language = 'cn'
$page = 'which-kit-to-choose'
$subpage = null
$title_for_layout = 'Which-kit-to-choose'
$product = array()
$lvl = (int) 1
$slugs = array(
(int) 0 => null
)
$products = array(
(int) 0 => array()
)
$name = null
include - APP/View/Elements/Product/short3.ctp, line 65
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Pages/which-kit-to-choose.ctp, line 49
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
PagesController::display() - APP/Controller/PagesController.php, line 150
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Warning (2): array_keys() expects parameter 1 to be array, null given [APP/View/Elements/Forms/addtocart.ctp, line 5]Code Context//pr(AuthComponent::user());
if (!isset($product['name'])) {
$id = array_keys($product)[0];
$viewFile = '/home/website-server/www/app/View/Elements/Forms/addtocart.ctp'
$dataForView = array(
'language' => 'cn',
'page' => 'which-kit-to-choose',
'subpage' => null,
'title_for_layout' => 'Which-kit-to-choose',
'product' => null
)
$language = 'cn'
$page = 'which-kit-to-choose'
$subpage = null
$title_for_layout = 'Which-kit-to-choose'
$product = null
array_keys - [internal], line ??
include - APP/View/Elements/Forms/addtocart.ctp, line 5
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Elements/Product/short3.ctp, line 65
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Pages/which-kit-to-choose.ctp, line 49
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
PagesController::display() - APP/Controller/PagesController.php, line 150
ReflectionMethod::invokeArgs() - [internal], line ??
×Notice (8): Undefined index: Product [APP/View/Elements/Product/short3.ctp, line 68]Code Context echo '<a class="close-reveal-modal" aria-label="Close">×</a>';
echo '</div><!-- END: ADD TO CART MODAL -->';
echo $this->Html->link('<i class="fa fa-cart-plus"></i>', '#', array('id' => $product['Product']['slug'],'data-reveal-id' => 'cartModal-'.$product['Product']['id'], 'class' => '', 'escape' => false, 'style' => "color:#B21329"));
$viewFile = '/home/website-server/www/app/View/Elements/Product/short3.ctp'
$dataForView = array(
'language' => 'cn',
'page' => 'which-kit-to-choose',
'subpage' => null,
'title_for_layout' => 'Which-kit-to-choose',
'product' => array(),
'lvl' => (int) 1
)
$language = 'cn'
$page = 'which-kit-to-choose'
$subpage = null
$title_for_layout = 'Which-kit-to-choose'
$product = array()
$lvl = (int) 1
$slugs = array(
(int) 0 => null
)
$products = array(
(int) 0 => array()
)
$name = null
include - APP/View/Elements/Product/short3.ctp, line 68
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Pages/which-kit-to-choose.ctp, line 49
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
PagesController::display() - APP/Controller/PagesController.php, line 150
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: Product [APP/View/Elements/Product/short3.ctp, line 68]Code Context echo '<a class="close-reveal-modal" aria-label="Close">×</a>';
echo '</div><!-- END: ADD TO CART MODAL -->';
echo $this->Html->link('<i class="fa fa-cart-plus"></i>', '#', array('id' => $product['Product']['slug'],'data-reveal-id' => 'cartModal-'.$product['Product']['id'], 'class' => '', 'escape' => false, 'style' => "color:#B21329"));
$viewFile = '/home/website-server/www/app/View/Elements/Product/short3.ctp'
$dataForView = array(
'language' => 'cn',
'page' => 'which-kit-to-choose',
'subpage' => null,
'title_for_layout' => 'Which-kit-to-choose',
'product' => array(),
'lvl' => (int) 1
)
$language = 'cn'
$page = 'which-kit-to-choose'
$subpage = null
$title_for_layout = 'Which-kit-to-choose'
$product = array()
$lvl = (int) 1
$slugs = array(
(int) 0 => null
)
$products = array(
(int) 0 => array()
)
$name = null
include - APP/View/Elements/Product/short3.ctp, line 68
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Pages/which-kit-to-choose.ctp, line 49
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
PagesController::display() - APP/Controller/PagesController.php, line 150
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118