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 = 'hp-c9381a-c9382a-88-black-cyan-magenta-yellow-printhead-combo'
$id = '224907'
$allPics = [
(int) 0 => object(App\Model\Entity\Picture) {
'picture_id' => (int) 66105,
'product_id' => (int) 224907,
'name' => 'HP-C9381A-C9382A-Black-Yelllow-Cyan-Magenta-Printhead-Cartridge-d5d9',
'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) 66106,
'product_id' => (int) 224907,
'name' => 'lovetoner_box_C9381A-C9382A-2b32',
'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) 66107,
'product_id' => (int) 224907,
'name' => 'lovetoner_capacity_C9381A-C9382A-001a',
'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) 66108,
'product_id' => (int) 224907,
'name' => 'lovetoner_compatiblity_C9381A-C9382A-0ae3',
'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'
},
(int) 1 => 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]
],
'[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'
},
(int) 2 => 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]
],
'[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'
},
(int) 3 => 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]
],
'[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' => '224907',
'title' => 'HP C9381A/C9382A (88) Black Cyan Magenta Yellow Printhead Combo',
'color' => null,
'views' => '11',
'part_number' => 'C9381A/C9382A',
'part_number2' => 'C9381A, C9382A',
'model_part' => 'C9381A/C9382A',
'cond' => '0',
'description' => 'HP C9381A/C9382A (88) Black Cyan Magenta Yellow Printhead Combo C9381A/C9382A C9381A/C9382A C9381A, C9382A Array HP OfficeJet Pro K5400,HP OfficeJet Pro K5400TN,HP OfficeJet Pro K550DTWN,HP OfficeJet Pro L7480,HP OfficeJet Pro L7555,HP OfficeJet Pro L7600,HP OfficeJet Pro L7681,HP OfficeJet Pro L7780,HP OfficeJet Pro K5400DN,HP OfficeJet Pro K550,HP OfficeJet Pro K550DTN,HP OfficeJet Pro K8600,HP OfficeJet Pro K8600DN,HP OfficeJet Pro L7500,HP OfficeJet Pro L7550,HP OfficeJet Pro L7580,HP OfficeJet Pro L7590,HP OfficeJet Pro L7650,HP OfficeJet Pro L7680,HP OfficeJet Pro L7681,HP OfficeJet Pro L7700,HP OfficeJet Pro L7750, ',
'show_description' => '0',
'product_type' => '1',
'3to6' => '1',
'needempty' => '0',
'textArea1' => '',
'textArea2' => '',
'link2Prod' => '',
'id2Prod' => null,
'link2Prod2' => '',
'id2Prod2' => null,
'meta_description' => ''
],
'rv2' => [
'label' => 'HP'
],
'rv3' => [
'label' => 'Ink / Inkjet Cartridge'
],
'rv4' => [
'label' => 'Yellow',
'description' => '#FFFF00',
'value_id' => '4'
],
'cy' => [
'pages' => null,
'capacity' => 'Full'
],
'extra' => [
'gtin' => null
],
'pricelist' => [
'special' => null,
'specialprice' => '36.96',
'price' => '39.96',
'special_start' => '2023-04-26',
'special_end' => '2023-05-26'
],
'pictures' => [
'name' => 'HP-C9381A-C9382A-Black-Yelllow-Cyan-Magenta-Printhead-Cartridge-d5d9',
'site_name' => 'lovetoner',
'orders' => '1'
],
'[new]' => false,
'[accessible]' => [
'*' => true,
'id' => false
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Products'
}
$keyProd = (int) 3
$colorProd = [
(int) 0 => [
'colorName' => 'Black',
'description' => '#000000',
'pages' => 'Full',
'value_id' => '1'
],
(int) 1 => [
'colorName' => 'Cyan',
'description' => '#00FFFF',
'pages' => 'Full',
'value_id' => '2'
],
(int) 2 => [
'colorName' => 'Magenta',
'description' => '#FF00FF',
'pages' => 'Full',
'value_id' => '3'
],
(int) 3 => [
'colorName' => 'Yellow',
'description' => '#FFFF00',
'pages' => 'Full',
'value_id' => '4'
]
]
$value_id = [
(int) 0 => '1',
(int) 1 => '2',
(int) 2 => '3',
(int) 3 => '4'
]
$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 = 'hp-c9381a-c9382a-88-black-cyan-magenta-yellow-printhead-combo'
$id = '224907'
$allPics = [
(int) 0 => object(App\Model\Entity\Picture) {
'picture_id' => (int) 66105,
'product_id' => (int) 224907,
'name' => 'HP-C9381A-C9382A-Black-Yelllow-Cyan-Magenta-Printhead-Cartridge-d5d9',
'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) 66106,
'product_id' => (int) 224907,
'name' => 'lovetoner_box_C9381A-C9382A-2b32',
'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) 66107,
'product_id' => (int) 224907,
'name' => 'lovetoner_capacity_C9381A-C9382A-001a',
'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) 66108,
'product_id' => (int) 224907,
'name' => 'lovetoner_compatiblity_C9381A-C9382A-0ae3',
'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'
},
(int) 1 => 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]
],
'[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'
},
(int) 2 => 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]
],
'[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'
},
(int) 3 => 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]
],
'[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' => '224907',
'title' => 'HP C9381A/C9382A (88) Black Cyan Magenta Yellow Printhead Combo',
'color' => null,
'views' => '11',
'part_number' => 'C9381A/C9382A',
'part_number2' => 'C9381A, C9382A',
'model_part' => 'C9381A/C9382A',
'cond' => '0',
'description' => 'HP C9381A/C9382A (88) Black Cyan Magenta Yellow Printhead Combo C9381A/C9382A C9381A/C9382A C9381A, C9382A Array HP OfficeJet Pro K5400,HP OfficeJet Pro K5400TN,HP OfficeJet Pro K550DTWN,HP OfficeJet Pro L7480,HP OfficeJet Pro L7555,HP OfficeJet Pro L7600,HP OfficeJet Pro L7681,HP OfficeJet Pro L7780,HP OfficeJet Pro K5400DN,HP OfficeJet Pro K550,HP OfficeJet Pro K550DTN,HP OfficeJet Pro K8600,HP OfficeJet Pro K8600DN,HP OfficeJet Pro L7500,HP OfficeJet Pro L7550,HP OfficeJet Pro L7580,HP OfficeJet Pro L7590,HP OfficeJet Pro L7650,HP OfficeJet Pro L7680,HP OfficeJet Pro L7681,HP OfficeJet Pro L7700,HP OfficeJet Pro L7750, ',
'show_description' => '0',
'product_type' => '1',
'3to6' => '1',
'needempty' => '0',
'textArea1' => '',
'textArea2' => '',
'link2Prod' => '',
'id2Prod' => null,
'link2Prod2' => '',
'id2Prod2' => null,
'meta_description' => ''
],
'rv2' => [
'label' => 'HP'
],
'rv3' => [
'label' => 'Ink / Inkjet Cartridge'
],
'rv4' => [
'label' => 'Yellow',
'description' => '#FFFF00',
'value_id' => '4'
],
'cy' => [
'pages' => null,
'capacity' => 'Full'
],
'extra' => [
'gtin' => null
],
'pricelist' => [
'special' => null,
'specialprice' => '36.96',
'price' => '39.96',
'special_start' => '2023-04-26',
'special_end' => '2023-05-26'
],
'pictures' => [
'name' => 'HP-C9381A-C9382A-Black-Yelllow-Cyan-Magenta-Printhead-Cartridge-d5d9',
'site_name' => 'lovetoner',
'orders' => '1'
],
'[new]' => false,
'[accessible]' => [
'*' => true,
'id' => false
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Products'
}
$keyProd = (int) 3
$colorProd = [
(int) 0 => [
'colorName' => 'Black',
'description' => '#000000',
'pages' => 'Full',
'value_id' => '1'
],
(int) 1 => [
'colorName' => 'Cyan',
'description' => '#00FFFF',
'pages' => 'Full',
'value_id' => '2'
],
(int) 2 => [
'colorName' => 'Magenta',
'description' => '#FF00FF',
'pages' => 'Full',
'value_id' => '3'
],
(int) 3 => [
'colorName' => 'Yellow',
'description' => '#FFFF00',
'pages' => 'Full',
'value_id' => '4'
]
]
$value_id = [
(int) 0 => '1',
(int) 1 => '2',
(int) 2 => '3',
(int) 3 => '4'
]
$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"
}