Notice (8): Undefined offset: 0 [APP/Template/Products/view.ctp, line 14]Code Context <?php
$url = "/img/uploads/product/org/" . $images[0]['serverFileName'];
if ($url !== '') {
$viewFile = '/home/eloaepnv/shop.businessastra.com/src/Template/Products/view.ctp'
$dataForView = [
'images' => [],
'productDetails' => object(Cake\ORM\Entity) {
'id' => (int) 8,
'categoryId' => (int) 1,
'productName' => 'Test',
'price' => (float) 1,
'sellingPrice' => (float) 1,
'quantity' => (int) 0,
'shortDescription' => 'Hello',
'description' => 'Hello',
'discount' => (float) 0,
'discountName' => '',
'status' => true,
'showInDashboard' => true,
'orderOfProduct' => null,
'created' => object(Cake\I18n\Time) {},
'updated' => object(Cake\I18n\Time) {},
'subCategoryId' => (int) 2,
'[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'
}
]
$images = []
$productDetails = object(Cake\ORM\Entity) {
'id' => (int) 8,
'categoryId' => (int) 1,
'productName' => 'Test',
'price' => (float) 1,
'sellingPrice' => (float) 1,
'quantity' => (int) 0,
'shortDescription' => 'Hello',
'description' => 'Hello',
'discount' => (float) 0,
'discountName' => '',
'status' => true,
'showInDashboard' => true,
'orderOfProduct' => null,
'created' => object(Cake\I18n\Time) {},
'updated' => object(Cake\I18n\Time) {},
'subCategoryId' => (int) 2,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Products'
}
$bufferLevel = (int) 1include - APP/Template/Products/view.ctp, line 14
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435
Cake\View\View::_render() - CORE/src/View/View.php, line 1393
Cake\View\View::render() - CORE/src/View/View.php, line 892
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
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 37
Notice (8): Undefined offset: 0 [APP/Template/Products/view.ctp, line 20]Code Context [
'alt' => $images[0]['fileName'],
'id' => 'mainImage'
$viewFile = '/home/eloaepnv/shop.businessastra.com/src/Template/Products/view.ctp'
$dataForView = [
'images' => [],
'productDetails' => object(Cake\ORM\Entity) {
'id' => (int) 8,
'categoryId' => (int) 1,
'productName' => 'Test',
'price' => (float) 1,
'sellingPrice' => (float) 1,
'quantity' => (int) 0,
'shortDescription' => 'Hello',
'description' => 'Hello',
'discount' => (float) 0,
'discountName' => '',
'status' => true,
'showInDashboard' => true,
'orderOfProduct' => null,
'created' => object(Cake\I18n\Time) {},
'updated' => object(Cake\I18n\Time) {},
'subCategoryId' => (int) 2,
'[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'
}
]
$images = []
$productDetails = object(Cake\ORM\Entity) {
'id' => (int) 8,
'categoryId' => (int) 1,
'productName' => 'Test',
'price' => (float) 1,
'sellingPrice' => (float) 1,
'quantity' => (int) 0,
'shortDescription' => 'Hello',
'description' => 'Hello',
'discount' => (float) 0,
'discountName' => '',
'status' => true,
'showInDashboard' => true,
'orderOfProduct' => null,
'created' => object(Cake\I18n\Time) {},
'updated' => object(Cake\I18n\Time) {},
'subCategoryId' => (int) 2,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Products'
}
$bufferLevel = (int) 1
$url = '/img/uploads/product/org/'include - APP/Template/Products/view.ctp, line 20
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435
Cake\View\View::_render() - CORE/src/View/View.php, line 1393
Cake\View\View::render() - CORE/src/View/View.php, line 892
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
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 37
The European languages are members of the same family. Their separate existence is a myth. For science, music, sport, etc, Europe uses the same vocabulary. The European languages are members of the same family. Their separate existence is a myth.
Europe uses the same vocabulary. The European languages are members of the same family. Their separate existence is a myth.