Notice (8): Undefined index: CategoriesDescription [APP/Controller/CategoriesController.php, line 28]Code Context// Get current category
$title = $current_category['CategoriesDescription'][0]['categories_htc_title_tag'];
$id = '271' $current_category = array() $url_str_pos = falseCategoriesController::listing() - APP/Controller/CategoriesController.php, line 28 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 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: CategoriesDescription [APP/Controller/CategoriesController.php, line 29]Code Context
$title = $current_category['CategoriesDescription'][0]['categories_htc_title_tag'];
$description = $current_category['CategoriesDescription'][0]['categories_htc_desc_tag'];
$id = '271' $current_category = array() $url_str_pos = false $title = nullCategoriesController::listing() - APP/Controller/CategoriesController.php, line 29 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 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: CategoriesDescription [APP/Controller/CategoriesController.php, line 30]Code Context$title = $current_category['CategoriesDescription'][0]['categories_htc_title_tag'];
$description = $current_category['CategoriesDescription'][0]['categories_htc_desc_tag'];
$keyword = $current_category['CategoriesDescription'][0]['categories_htc_keywords_tag'];
$id = '271' $current_category = array() $url_str_pos = false $title = null $description = nullCategoriesController::listing() - APP/Controller/CategoriesController.php, line 30 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 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: CategoriesDescription [APP/View/Helper/ModuleHelper.php, line 298]Code Contextif ($layer == 0) {
//$crumbres['CategoriesDescription'][0]['categories_name']
$out = '<li class="active"><a href="javascript:;">'.$crumbres['CategoriesDescription'][0]['categories_name'].'</a></li>';
$model = 'Category' $id = '271' $layer = (int) 0 $out = '' $modelObj = object(Category) { name => 'Category' actsAs => array( (int) 0 => 'Containable' ) primaryKey => 'categories_id' hasMany => array( 'CategoriesDescription' => array( [maximum depth reached] ) ) useDbConfig => 'default' useTable => 'categories' id => false data => array() schemaName => 'trainli_osc_db' table => 'categories' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Category' tableToModel => array( 'categories' => 'Category', 'categories_description' => 'CategoriesDescription' ) cacheQueries => false belongsTo => array() hasOne => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) CategoriesDescription => object(CategoriesDescription) {} [protected] _schema => array( 'categories_id' => array( [maximum depth reached] ), 'categories_image' => array( [maximum depth reached] ), 'parent_id' => array( [maximum depth reached] ), 'category_discount' => array( [maximum depth reached] ), 'status' => array( [maximum depth reached] ), 'sort_order' => array( [maximum depth reached] ), 'date_added' => array( [maximum depth reached] ), 'last_modified' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $crumbres = array()ModuleHelper::breadcrumb() - APP/View/Helper/ModuleHelper.php, line 298 include - APP/View/Categories/listing.ctp, line 6 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 960 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: Category [APP/View/Helper/ModuleHelper.php, line 312]Code Context// / If it reaches 0 then Root Category is printed and the output returned to process.
if ($crumbres['Category']['parent_id'] > 0) {
$model = 'Category' $id = '271' $layer = (int) 1 $out = '<li class="active"><a href="javascript:;"></a></li>' $modelObj = object(Category) { name => 'Category' actsAs => array( (int) 0 => 'Containable' ) primaryKey => 'categories_id' hasMany => array( 'CategoriesDescription' => array( [maximum depth reached] ) ) useDbConfig => 'default' useTable => 'categories' id => false data => array() schemaName => 'trainli_osc_db' table => 'categories' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Category' tableToModel => array( 'categories' => 'Category', 'categories_description' => 'CategoriesDescription' ) cacheQueries => false belongsTo => array() hasOne => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) CategoriesDescription => object(CategoriesDescription) {} [protected] _schema => array( 'categories_id' => array( [maximum depth reached] ), 'categories_image' => array( [maximum depth reached] ), 'parent_id' => array( [maximum depth reached] ), 'category_discount' => array( [maximum depth reached] ), 'status' => array( [maximum depth reached] ), 'sort_order' => array( [maximum depth reached] ), 'date_added' => array( [maximum depth reached] ), 'last_modified' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $crumbres = array()ModuleHelper::breadcrumb() - APP/View/Helper/ModuleHelper.php, line 312 include - APP/View/Categories/listing.ctp, line 6 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 960 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined variable: categories [APP/View/Elements/listing_sidebar.ctp, line 4]Code Context<div class="col-md-3 col-sm-4 hidden-xs mg-top-20 listing-left">
<div class="panel" id="accordion">
<?php if(count($categories) > 0) { ?>
$viewFile = '/home/trainli/public_html/app/View/Elements/listing_sidebar.ctp' $dataForView = array( 'id' => '271', 'current_category' => array(), 'latestProducts' => array( (int) 0 => array( 'Product' => array( [maximum depth reached] ), 'ProductsDescription' => array( [maximum depth reached] ), 'ProductsToCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'Product' => array( [maximum depth reached] ), 'ProductsDescription' => array( [maximum depth reached] ), 'ProductsToCategory' => array( [maximum depth reached] ) ) ), 'latestOrders' => array( (int) 0 => array( 'Order' => array( [maximum depth reached] ), 'OrdersProduct' => array( [maximum depth reached] ) ), (int) 1 => array( 'Order' => array( [maximum depth reached] ), 'OrdersProduct' => array( [maximum depth reached] ) ) ), 'title' => null, 'description' => null, 'keyword' => null ) $id = '271' $current_category = array() $latestProducts = array( (int) 0 => array( 'Product' => array( 'products_id' => '7121', 'products_price' => '29.9500', 'products_image' => 'PL-52011-21-inch-foam.png' ), 'ProductsDescription' => array( (int) 0 => array( [maximum depth reached] ) ), 'ProductsToCategory' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'Product' => array( 'products_id' => '7120', 'products_price' => '24.9500', 'products_image' => 'PL-400101-engine-support-foam.png' ), 'ProductsDescription' => array( (int) 0 => array( [maximum depth reached] ) ), 'ProductsToCategory' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ) ) $latestOrders = array( (int) 0 => array( 'Order' => array( 'orders_id' => '9390' ), 'OrdersProduct' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'Order' => array( 'orders_id' => '9389' ), 'OrdersProduct' => array( (int) 0 => array( [maximum depth reached] ) ) ) ) $title = null $description = null $keyword = nullinclude - APP/View/Elements/listing_sidebar.ctp, line 4 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::_renderElement() - CORE/Cake/View/View.php, line 1217 View::element() - CORE/Cake/View/View.php, line 418 include - APP/View/Categories/listing.ctp, line 10 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 960 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: CategoriesDescription [APP/View/Categories/listing.ctp, line 14]Code Context<div class="col-xs-12">
<h1 class="cat-prod-page-h1-title">
<?php echo $current_category['CategoriesDescription'][0]['categories_name']; ?>
$viewFile = '/home/trainli/public_html/app/View/Categories/listing.ctp' $dataForView = array( 'id' => '271', 'current_category' => array(), 'latestProducts' => array( (int) 0 => array( 'Product' => array( [maximum depth reached] ), 'ProductsDescription' => array( [maximum depth reached] ), 'ProductsToCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'Product' => array( [maximum depth reached] ), 'ProductsDescription' => array( [maximum depth reached] ), 'ProductsToCategory' => array( [maximum depth reached] ) ) ), 'latestOrders' => array( (int) 0 => array( 'Order' => array( [maximum depth reached] ), 'OrdersProduct' => array( [maximum depth reached] ) ), (int) 1 => array( 'Order' => array( [maximum depth reached] ), 'OrdersProduct' => array( [maximum depth reached] ) ) ), 'title' => null, 'description' => null, 'keyword' => null ) $id = '271' $current_category = array() $latestProducts = array( (int) 0 => array( 'Product' => array( 'products_id' => '7121', 'products_price' => '29.9500', 'products_image' => 'PL-52011-21-inch-foam.png' ), 'ProductsDescription' => array( (int) 0 => array( [maximum depth reached] ) ), 'ProductsToCategory' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'Product' => array( 'products_id' => '7120', 'products_price' => '24.9500', 'products_image' => 'PL-400101-engine-support-foam.png' ), 'ProductsDescription' => array( (int) 0 => array( [maximum depth reached] ) ), 'ProductsToCategory' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ) ) $latestOrders = array( (int) 0 => array( 'Order' => array( 'orders_id' => '9390' ), 'OrdersProduct' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'Order' => array( 'orders_id' => '9389' ), 'OrdersProduct' => array( (int) 0 => array( [maximum depth reached] ) ) ) ) $title = null $description = null $keyword = nullinclude - APP/View/Categories/listing.ctp, line 14 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 960 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: CategoriesDescription [APP/View/Categories/listing.ctp, line 19]Code Context</div>
<?php
if(trim(strip_tags($current_category['CategoriesDescription'][0]['categories_htc_description'])) != '') { ?>
$viewFile = '/home/trainli/public_html/app/View/Categories/listing.ctp' $dataForView = array( 'id' => '271', 'current_category' => array(), 'latestProducts' => array( (int) 0 => array( 'Product' => array( [maximum depth reached] ), 'ProductsDescription' => array( [maximum depth reached] ), 'ProductsToCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'Product' => array( [maximum depth reached] ), 'ProductsDescription' => array( [maximum depth reached] ), 'ProductsToCategory' => array( [maximum depth reached] ) ) ), 'latestOrders' => array( (int) 0 => array( 'Order' => array( [maximum depth reached] ), 'OrdersProduct' => array( [maximum depth reached] ) ), (int) 1 => array( 'Order' => array( [maximum depth reached] ), 'OrdersProduct' => array( [maximum depth reached] ) ) ), 'title' => null, 'description' => null, 'keyword' => null ) $id = '271' $current_category = array() $latestProducts = array( (int) 0 => array( 'Product' => array( 'products_id' => '7121', 'products_price' => '29.9500', 'products_image' => 'PL-52011-21-inch-foam.png' ), 'ProductsDescription' => array( (int) 0 => array( [maximum depth reached] ) ), 'ProductsToCategory' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'Product' => array( 'products_id' => '7120', 'products_price' => '24.9500', 'products_image' => 'PL-400101-engine-support-foam.png' ), 'ProductsDescription' => array( (int) 0 => array( [maximum depth reached] ) ), 'ProductsToCategory' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ) ) $latestOrders = array( (int) 0 => array( 'Order' => array( 'orders_id' => '9390' ), 'OrdersProduct' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'Order' => array( 'orders_id' => '9389' ), 'OrdersProduct' => array( (int) 0 => array( [maximum depth reached] ) ) ) ) $title = null $description = null $keyword = nullinclude - APP/View/Categories/listing.ctp, line 19 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 960 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Notice (8): Undefined variable: categories [APP/View/Categories/listing.ctp, line 31]Code Context<div id="categories" class="row my-gallery-container">
<?php
foreach($categories as $crskey=>$crsvalue) {
$viewFile = '/home/trainli/public_html/app/View/Categories/listing.ctp' $dataForView = array( 'id' => '271', 'current_category' => array(), 'latestProducts' => array( (int) 0 => array( 'Product' => array( [maximum depth reached] ), 'ProductsDescription' => array( [maximum depth reached] ), 'ProductsToCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'Product' => array( [maximum depth reached] ), 'ProductsDescription' => array( [maximum depth reached] ), 'ProductsToCategory' => array( [maximum depth reached] ) ) ), 'latestOrders' => array( (int) 0 => array( 'Order' => array( [maximum depth reached] ), 'OrdersProduct' => array( [maximum depth reached] ) ), (int) 1 => array( 'Order' => array( [maximum depth reached] ), 'OrdersProduct' => array( [maximum depth reached] ) ) ), 'title' => null, 'description' => null, 'keyword' => null ) $id = '271' $current_category = array() $latestProducts = array( (int) 0 => array( 'Product' => array( 'products_id' => '7121', 'products_price' => '29.9500', 'products_image' => 'PL-52011-21-inch-foam.png' ), 'ProductsDescription' => array( (int) 0 => array( [maximum depth reached] ) ), 'ProductsToCategory' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'Product' => array( 'products_id' => '7120', 'products_price' => '24.9500', 'products_image' => 'PL-400101-engine-support-foam.png' ), 'ProductsDescription' => array( (int) 0 => array( [maximum depth reached] ) ), 'ProductsToCategory' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ) ) $latestOrders = array( (int) 0 => array( 'Order' => array( 'orders_id' => '9390' ), 'OrdersProduct' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'Order' => array( 'orders_id' => '9389' ), 'OrdersProduct' => array( (int) 0 => array( [maximum depth reached] ) ) ) ) $title = null $description = null $keyword = nullinclude - APP/View/Categories/listing.ctp, line 31 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 960 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): Invalid argument supplied for foreach() [APP/View/Categories/listing.ctp, line 31]Code Context<div id="categories" class="row my-gallery-container">
<?php
foreach($categories as $crskey=>$crsvalue) {
$viewFile = '/home/trainli/public_html/app/View/Categories/listing.ctp' $dataForView = array( 'id' => '271', 'current_category' => array(), 'latestProducts' => array( (int) 0 => array( 'Product' => array( [maximum depth reached] ), 'ProductsDescription' => array( [maximum depth reached] ), 'ProductsToCategory' => array( [maximum depth reached] ) ), (int) 1 => array( 'Product' => array( [maximum depth reached] ), 'ProductsDescription' => array( [maximum depth reached] ), 'ProductsToCategory' => array( [maximum depth reached] ) ) ), 'latestOrders' => array( (int) 0 => array( 'Order' => array( [maximum depth reached] ), 'OrdersProduct' => array( [maximum depth reached] ) ), (int) 1 => array( 'Order' => array( [maximum depth reached] ), 'OrdersProduct' => array( [maximum depth reached] ) ) ), 'title' => null, 'description' => null, 'keyword' => null ) $id = '271' $current_category = array() $latestProducts = array( (int) 0 => array( 'Product' => array( 'products_id' => '7121', 'products_price' => '29.9500', 'products_image' => 'PL-52011-21-inch-foam.png' ), 'ProductsDescription' => array( (int) 0 => array( [maximum depth reached] ) ), 'ProductsToCategory' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'Product' => array( 'products_id' => '7120', 'products_price' => '24.9500', 'products_image' => 'PL-400101-engine-support-foam.png' ), 'ProductsDescription' => array( (int) 0 => array( [maximum depth reached] ) ), 'ProductsToCategory' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ) ) $latestOrders = array( (int) 0 => array( 'Order' => array( 'orders_id' => '9390' ), 'OrdersProduct' => array( (int) 0 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'Order' => array( 'orders_id' => '9389' ), 'OrdersProduct' => array( (int) 0 => array( [maximum depth reached] ) ) ) ) $title = null $description = null $keyword = nullinclude - APP/View/Categories/listing.ctp, line 31 View::_evaluate() - CORE/Cake/View/View.php, line 961 View::_render() - CORE/Cake/View/View.php, line 923 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 960 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
TRAINLI is an authorized Factory Direct LGB Dealer, TRAINLINE45, THIEL, ZIMO Distributor, Visaton Importer. All warranty repairs are conducted at our facility and therefore seldom require a return shipment to the manufacturer. All trademarks used on www.trainli.com are trademarks (™ and ®) of TRAINLI, with the exception of Accucraft, Aristocraft, HLW, LGB, Maerklin, USA Trains which are ® trademarks of their respective owners.
TRAINLI LLC
Joane Tillmann
1325 Airmotive Way
Suite 330,
Reno, NV 89502
+508 529 9166
info@trainli.com
Copyright © 2021. All Rights Reserved.