Notice (8): Undefined index: HTTP_ACCEPT_LANGUAGE [APP/Controller/AppController.php, line 283]Code Context $selectedLang = $this->session->read('language');
$acceptLang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
$selectedLang = 'en'
App\Controller\AppController::setLanguage() - APP/Controller/AppController.php, line 283
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 189
App\Controller\ProductsController::beforeFilter() - APP/Controller/ProductsController.php, line 35
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 351
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 328
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 112
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 673
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 165
Notice (8): Undefined offset: 0 [APP/Controller/ProductsController.php, line 323]Code Context 'conditions' => [
'category_id' => $cat[0]['category_id'],
'products.active' => 1,
$title = 'brother-tze-fx651-black-on-yellow-flexible-tape-for-p-touch-label-makers-24-mm-wide-x-8-m-long'
$id = '214101'
$allPics = [
(int) 0 => object(App\Model\Entity\Picture) {
'picture_id' => (int) 60524,
'product_id' => (int) 214101,
'name' => 'BROTHER-TZ-TAPE-TZE-FX651-YELLOW-BLACK-9011',
'orders' => (int) 1,
'site_name' => 'lovetoner',
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Pictures'
},
(int) 1 => object(App\Model\Entity\Picture) {
'picture_id' => (int) 60525,
'product_id' => (int) 214101,
'name' => 'lovetoner_box_TZE-FX651-cc09',
'orders' => (int) 2,
'site_name' => 'lovetoner',
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Pictures'
},
(int) 2 => object(App\Model\Entity\Picture) {
'picture_id' => (int) 60526,
'product_id' => (int) 214101,
'name' => 'lovetoner_capacity_TZE-FX651-23d1',
'orders' => (int) 3,
'site_name' => 'lovetoner',
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Pictures'
},
(int) 3 => object(App\Model\Entity\Picture) {
'picture_id' => (int) 60527,
'product_id' => (int) 214101,
'name' => 'lovetoner_compatiblity_TZE-FX651-e27e',
'orders' => (int) 4,
'site_name' => 'lovetoner',
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Pictures'
}
]
$platformCond = [
(int) 0 => 'products.cond != 2'
]
$product = [
(int) 0 => object(App\Model\Entity\Product) {
'products' => [
[maximum depth reached]
],
'rv2' => [
[maximum depth reached]
],
'rv3' => [
[maximum depth reached]
],
'rv4' => [
[maximum depth reached]
],
'cy' => [
[maximum depth reached]
],
'extra' => [
[maximum depth reached]
],
'pricelist' => [
[maximum depth reached]
],
'pictures' => [
[maximum depth reached]
],
'rv5' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Products'
}
]
$prod = object(App\Model\Entity\Product) {
'products' => [
'id' => '214101',
'title' => 'Brother TZE-FX651 - Black on Yellow Flexible Tape for P-Touch Label Makers - 24 mm wide x 8 m long',
'color' => null,
'views' => '1453',
'part_number' => 'TZE-FX651',
'part_number2' => 'TZEFX651 / TZ-FX651 / TZFX651',
'model_part' => 'TZE-FX651',
'cond' => '0',
'description' => 'Brother TZE-FX651 TZE FX651 TZEFX651 - Black on Yellow Flexible Tape for P-Touch P Touch PTouch Label Makers - 24 mm wide x 8 m long TZE-FX651 TZE FX651 TZEFX651 TZE-FX651 TZE FX651 TZEFX651 TZEFX651 / TZ-FX651 TZ FX651 TZFX651 / TZFX651 Array ',
'show_description' => '0',
'product_type' => '25',
'3to6' => '0',
'needempty' => '0',
'textArea1' => '',
'textArea2' => '',
'link2Prod' => '',
'id2Prod' => '0',
'link2Prod2' => '',
'id2Prod2' => '0',
'meta_description' => ''
],
'rv2' => [
'label' => 'Brother'
],
'rv3' => [
'label' => 'Tape'
],
'rv4' => [
'label' => null,
'description' => null,
'value_id' => null
],
'cy' => [
'pages' => '24000',
'capacity' => null
],
'extra' => [
'gtin' => '7432014068005'
],
'pricelist' => [
'special' => '0',
'specialprice' => '0.00',
'price' => '8.98',
'special_start' => '2022-01-01',
'special_end' => '2022-01-31'
],
'pictures' => [
'name' => 'BROTHER-TZ-TAPE-TZE-FX651-YELLOW-BLACK-9011',
'site_name' => 'lovetoner',
'orders' => '1'
],
'rv5' => [
(int) 0 => [
[maximum depth reached]
]
],
'[new]' => false,
'[accessible]' => [
'*' => true,
'id' => false
],
'[dirty]' => [
'rv5' => true
],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Products'
}
$keyProd = (int) 0
$colorProd = [
(int) 0 => [
'colorName' => '',
'description' => null,
'pages' => '24000 pages',
'value_id' => null
]
]
$value_id = [
(int) 0 => null
]
$cat = []App\Controller\ProductsController::view() - APP/Controller/ProductsController.php, line 323
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 165
Notice (8): Trying to access array offset on value of type null [APP/Controller/ProductsController.php, line 323]Code Context 'conditions' => [
'category_id' => $cat[0]['category_id'],
'products.active' => 1,
$title = 'brother-tze-fx651-black-on-yellow-flexible-tape-for-p-touch-label-makers-24-mm-wide-x-8-m-long'
$id = '214101'
$allPics = [
(int) 0 => object(App\Model\Entity\Picture) {
'picture_id' => (int) 60524,
'product_id' => (int) 214101,
'name' => 'BROTHER-TZ-TAPE-TZE-FX651-YELLOW-BLACK-9011',
'orders' => (int) 1,
'site_name' => 'lovetoner',
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Pictures'
},
(int) 1 => object(App\Model\Entity\Picture) {
'picture_id' => (int) 60525,
'product_id' => (int) 214101,
'name' => 'lovetoner_box_TZE-FX651-cc09',
'orders' => (int) 2,
'site_name' => 'lovetoner',
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Pictures'
},
(int) 2 => object(App\Model\Entity\Picture) {
'picture_id' => (int) 60526,
'product_id' => (int) 214101,
'name' => 'lovetoner_capacity_TZE-FX651-23d1',
'orders' => (int) 3,
'site_name' => 'lovetoner',
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Pictures'
},
(int) 3 => object(App\Model\Entity\Picture) {
'picture_id' => (int) 60527,
'product_id' => (int) 214101,
'name' => 'lovetoner_compatiblity_TZE-FX651-e27e',
'orders' => (int) 4,
'site_name' => 'lovetoner',
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Pictures'
}
]
$platformCond = [
(int) 0 => 'products.cond != 2'
]
$product = [
(int) 0 => object(App\Model\Entity\Product) {
'products' => [
[maximum depth reached]
],
'rv2' => [
[maximum depth reached]
],
'rv3' => [
[maximum depth reached]
],
'rv4' => [
[maximum depth reached]
],
'cy' => [
[maximum depth reached]
],
'extra' => [
[maximum depth reached]
],
'pricelist' => [
[maximum depth reached]
],
'pictures' => [
[maximum depth reached]
],
'rv5' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[hasErrors]' => false,
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Products'
}
]
$prod = object(App\Model\Entity\Product) {
'products' => [
'id' => '214101',
'title' => 'Brother TZE-FX651 - Black on Yellow Flexible Tape for P-Touch Label Makers - 24 mm wide x 8 m long',
'color' => null,
'views' => '1453',
'part_number' => 'TZE-FX651',
'part_number2' => 'TZEFX651 / TZ-FX651 / TZFX651',
'model_part' => 'TZE-FX651',
'cond' => '0',
'description' => 'Brother TZE-FX651 TZE FX651 TZEFX651 - Black on Yellow Flexible Tape for P-Touch P Touch PTouch Label Makers - 24 mm wide x 8 m long TZE-FX651 TZE FX651 TZEFX651 TZE-FX651 TZE FX651 TZEFX651 TZEFX651 / TZ-FX651 TZ FX651 TZFX651 / TZFX651 Array ',
'show_description' => '0',
'product_type' => '25',
'3to6' => '0',
'needempty' => '0',
'textArea1' => '',
'textArea2' => '',
'link2Prod' => '',
'id2Prod' => '0',
'link2Prod2' => '',
'id2Prod2' => '0',
'meta_description' => ''
],
'rv2' => [
'label' => 'Brother'
],
'rv3' => [
'label' => 'Tape'
],
'rv4' => [
'label' => null,
'description' => null,
'value_id' => null
],
'cy' => [
'pages' => '24000',
'capacity' => null
],
'extra' => [
'gtin' => '7432014068005'
],
'pricelist' => [
'special' => '0',
'specialprice' => '0.00',
'price' => '8.98',
'special_start' => '2022-01-01',
'special_end' => '2022-01-31'
],
'pictures' => [
'name' => 'BROTHER-TZ-TAPE-TZE-FX651-YELLOW-BLACK-9011',
'site_name' => 'lovetoner',
'orders' => '1'
],
'rv5' => [
(int) 0 => [
[maximum depth reached]
]
],
'[new]' => false,
'[accessible]' => [
'*' => true,
'id' => false
],
'[dirty]' => [
'rv5' => true
],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Products'
}
$keyProd = (int) 0
$colorProd = [
(int) 0 => [
'colorName' => '',
'description' => null,
'pages' => '24000 pages',
'value_id' => null
]
]
$value_id = [
(int) 0 => null
]
$cat = []App\Controller\ProductsController::view() - APP/Controller/ProductsController.php, line 323
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 165
object(App\Model\Table\ProductsTable)#325 (8) {
["registryAlias"]=>
string(8) "Products"
["table"]=>
string(8) "products"
["alias"]=>
string(8) "Products"
["entityClass"]=>
string(24) "App\Model\Entity\Product"
["associations"]=>
array(8) {
[0]=>
string(22) "discountgroupsproducts"
[1]=>
string(15) "printerproducts"
[2]=>
string(14) "supplierscosts"
[3]=>
string(7) "reviews"
[4]=>
string(9) "pricelist"
[5]=>
string(18) "productscategories"
[6]=>
string(12) "productsinfo"
[7]=>
string(8) "pictures"
}
["behaviors"]=>
array(1) {
[0]=>
string(9) "Timestamp"
}
["defaultConnection"]=>
string(7) "default"
["connectionName"]=>
string(7) "default"
}