<?php if(!count($product->sh_product_childs)): ?>
<img loading="lazy" class="img-fluid" src="https://tmb.bibliotekawszkole.pl/<?= basename($product->gallery[0]->name) ?>" data-large="https://images.bibliotekawszkole.pl/sh_products/<?= basename($product->gallery[0]->name) ?>" alt="<?= $product->gallery[0]->description ?>">
<?php endif; ?>
$templateFile = '/usr/home/sukurs/domains/portal.biblioteka.pl/public_html/templates/ShProducts/view_poster.php' $dataForView = [ 'choose' => (int) 0, 'product' => object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [[maximum depth reached]], 'sh_products_votes' => [ [maximum depth reached] ], 'tags' => [ [maximum depth reached] ], 'pd_topics' => [ [maximum depth reached] ], 'gallery' => [[maximum depth reached]], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [[maximum depth reached]], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [[maximum depth reached]], 'sh_product_parents' => [ [maximum depth reached] ], 'sh_discounts' => [[maximum depth reached]], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[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]' => 'ShProducts' }, 'tags' => [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ], 'meta_image' => 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'meta_image_height' => (int) 707, 'meta_image_width' => (int) 500, 'similar' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [ [maximum depth reached] ], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ShProductsTable) {} }, 'activePage' => 'plakaty', 'totalQuantity' => (int) 0, 'isCart' => false, 'endpoint' => 'bws', 'rootMagazineId' => (int) 1, 'questions' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'questionsPortal' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'categories' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdCategoriesTable) {} }, 'pdTypesMenu' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdTypesTable) {} } ] $choose = (int) 0 $product = object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [], 'sh_products_votes' => [ (int) 0 => object(App\Model\Entity\ShProductsVote) {} ], 'tags' => [ (int) 0 => object(App\Model\Entity\Tag) {}, (int) 1 => object(App\Model\Entity\Tag) {}, (int) 2 => object(App\Model\Entity\Tag) {}, (int) 3 => object(App\Model\Entity\Tag) {}, (int) 4 => object(App\Model\Entity\Tag) {}, (int) 5 => object(App\Model\Entity\Tag) {}, (int) 6 => object(App\Model\Entity\Tag) {}, (int) 7 => object(App\Model\Entity\Tag) {} ], 'pd_topics' => [ (int) 0 => object(Cake\ORM\Entity) {} ], 'gallery' => [], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [], 'sh_product_parents' => [ (int) 0 => object(App\Model\Entity\ShProduct) {} ], 'sh_discounts' => [], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'cart' => true ], '[original]' => [], '[virtual]' => [ (int) 0 => 'full_cover_xs', (int) 1 => 'full_cover_sm', (int) 2 => 'full_cover_md', (int) 3 => 'full_cover', (int) 4 => 'tara', (int) 5 => 'price_brutto_before', (int) 6 => 'price_netto_before', (int) 7 => 'price_brutto', (int) 8 => 'price_netto', (int) 9 => 'price_second_netto', (int) 10 => 'subscription_details', (int) 11 => 'sneak', (int) 12 => 'text' ], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ShProducts' } $tags = [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ] $meta_image = 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg' $meta_image_height = (int) 707 $meta_image_width = (int) 500 $similar = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'ShProducts__id' => 'integer', 'ShProducts.id' => 'integer', 'id' => 'integer', 'ShProducts__name' => 'string', 'ShProducts.name' => 'string', 'name' => 'string', 'ShProducts__invoice_text' => 'string', 'ShProducts.invoice_text' => 'string', 'invoice_text' => 'string', 'ShProducts__sh_subscription_period_id' => 'integer', 'ShProducts.sh_subscription_period_id' => 'integer', 'sh_subscription_period_id' => 'integer', 'ShProducts__text' => 'text', 'ShProducts.text' => 'text', 'text' => 'text', 'ShProducts__text_long' => 'text', 'ShProducts.text_long' => 'text', 'text_long' => 'text', 'ShProducts__price' => 'decimal', 'ShProducts.price' => 'decimal', 'price' => 'decimal', 'ShProducts__price_prv' => 'decimal', 'ShProducts.price_prv' => 'decimal', 'price_prv' => 'decimal', 'ShProducts__price_distributor' => 'decimal', 'ShProducts.price_distributor' => 'decimal', 'price_distributor' => 'decimal', 'ShProducts__price_second' => 'decimal', 'ShProducts.price_second' => 'decimal', 'price_second' => 'decimal', 'ShProducts__sh_product_type_id' => 'integer', 'ShProducts.sh_product_type_id' => 'integer', 'sh_product_type_id' => 'integer', 'ShProducts__magazine_id' => 'integer', 'ShProducts.magazine_id' => 'integer', 'magazine_id' => 'integer', 'ShProducts__issue_id' => 'integer', 'ShProducts.issue_id' => 'integer', 'issue_id' => 'integer', 'ShProducts__sh_addon_id' => 'integer', 'ShProducts.sh_addon_id' => 'integer', 'sh_addon_id' => 'integer', 'ShProducts__items' => 'integer', 'ShProducts.items' => 'integer', 'items' => 'integer', 'ShProducts__created' => 'datetime', 'ShProducts.created' => 'datetime', 'created' => 'datetime', 'ShProducts__modified' => 'datetime', 'ShProducts.modified' => 'datetime', 'modified' => 'datetime', 'ShProducts__slug' => 'string', 'ShProducts.slug' => 'string', 'slug' => 'string', 'ShProducts__product_code' => 'string', 'ShProducts.product_code' => 'string', 'product_code' => 'string', 'ShProducts__sh_shipment_id' => 'integer', 'ShProducts.sh_shipment_id' => 'integer', 'sh_shipment_id' => 'integer', 'ShProducts__priority' => 'integer', 'ShProducts.priority' => 'integer', 'priority' => 'integer', 'ShProducts__main_page' => 'integer', 'ShProducts.main_page' => 'integer', 'main_page' => 'integer', 'ShProducts__main_page_priority' => 'integer', 'ShProducts.main_page_priority' => 'integer', 'main_page_priority' => 'integer', 'ShProducts__active' => 'tinyinteger', 'ShProducts.active' => 'tinyinteger', 'active' => 'tinyinteger', 'ShProducts__annotation' => 'string', 'ShProducts.annotation' => 'string', 'annotation' => 'string', 'ShProducts__monthly' => 'tinyinteger', 'ShProducts.monthly' => 'tinyinteger', 'monthly' => 'tinyinteger', 'ShProducts__image_id' => 'integer', 'ShProducts.image_id' => 'integer', 'image_id' => 'integer', 'ShProducts__file_id' => 'integer', 'ShProducts.file_id' => 'integer', 'file_id' => 'integer', 'ShProducts__preorder' => 'datetime', 'ShProducts.preorder' => 'datetime', 'preorder' => 'datetime', 'ShProducts__pd_format_id' => 'integer', 'ShProducts.pd_format_id' => 'integer', 'pd_format_id' => 'integer', 'ShProducts__pd_main_category_id' => 'integer', 'ShProducts.pd_main_category_id' => 'integer', 'pd_main_category_id' => 'integer', 'ShProducts__stock' => 'integer', 'ShProducts.stock' => 'integer', 'stock' => 'integer', 'ShProducts__seo_description' => 'string', 'ShProducts.seo_description' => 'string', 'seo_description' => 'string', 'ShProducts__rating' => 'decimal', 'ShProducts.rating' => 'decimal', 'rating' => 'decimal', 'ShProducts__article_id' => 'integer', 'ShProducts.article_id' => 'integer', 'article_id' => 'integer', 'ShProducts__reverse_id' => 'integer', 'ShProducts.reverse_id' => 'integer', 'reverse_id' => 'integer', 'PdTopics__id' => 'integer', 'PdTopics.id' => 'integer', 'PdTopics__name' => 'string', 'PdTopics.name' => 'string', 'PdTopics__slug' => 'string', 'PdTopics.slug' => 'string', 'ShProductsPdTopics__id' => 'integer', 'ShProductsPdTopics.id' => 'integer', 'ShProductsPdTopics__sh_product_id' => 'integer', 'ShProductsPdTopics.sh_product_id' => 'integer', 'sh_product_id' => 'integer', 'ShProductsPdTopics__pd_topic_id' => 'integer', 'ShProductsPdTopics.pd_topic_id' => 'integer', 'pd_topic_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [ 'PdTopics' => [ [maximum depth reached] ] ], 'extraOptions' => [], 'repository' => object(App\Model\Table\ShProductsTable) {} } $activePage = 'plakaty' $totalQuantity = (int) 0 $isCart = false $endpoint = 'bws' $rootMagazineId = (int) 1 $questions = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $questionsPortal = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $categories = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdCategories__id' => 'integer', 'PdCategories.id' => 'integer', 'id' => 'integer', 'PdCategories__name' => 'string', 'PdCategories.name' => 'string', 'name' => 'string', 'PdCategories__description' => 'string', 'PdCategories.description' => 'string', 'description' => 'string', 'PdCategories__header' => 'string', 'PdCategories.header' => 'string', 'header' => 'string', 'PdCategories__description2' => 'string', 'PdCategories.description2' => 'string', 'description2' => 'string', 'PdCategories__active' => 'tinyinteger', 'PdCategories.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdCategories__visible' => 'tinyinteger', 'PdCategories.visible' => 'tinyinteger', 'visible' => 'tinyinteger', 'PdCategories__parent_id' => 'integer', 'PdCategories.parent_id' => 'integer', 'parent_id' => 'integer', 'PdCategories__lft' => 'integer', 'PdCategories.lft' => 'integer', 'lft' => 'integer', 'PdCategories__rght' => 'integer', 'PdCategories.rght' => 'integer', 'rght' => 'integer', 'PdCategories__created' => 'datetime', 'PdCategories.created' => 'datetime', 'created' => 'datetime', 'PdCategories__modified' => 'datetime', 'PdCategories.modified' => 'datetime', 'modified' => 'datetime', 'PdCategories__slug' => 'string', 'PdCategories.slug' => 'string', 'slug' => 'string', 'ChildPdCategories__id' => 'integer', 'ChildPdCategories.id' => 'integer', 'ChildPdCategories__name' => 'string', 'ChildPdCategories.name' => 'string', 'ChildPdCategories__description' => 'string', 'ChildPdCategories.description' => 'string', 'ChildPdCategories__header' => 'string', 'ChildPdCategories.header' => 'string', 'ChildPdCategories__description2' => 'string', 'ChildPdCategories.description2' => 'string', 'ChildPdCategories__active' => 'tinyinteger', 'ChildPdCategories.active' => 'tinyinteger', 'ChildPdCategories__visible' => 'tinyinteger', 'ChildPdCategories.visible' => 'tinyinteger', 'ChildPdCategories__parent_id' => 'integer', 'ChildPdCategories.parent_id' => 'integer', 'ChildPdCategories__lft' => 'integer', 'ChildPdCategories.lft' => 'integer', 'ChildPdCategories__rght' => 'integer', 'ChildPdCategories.rght' => 'integer', 'ChildPdCategories__created' => 'datetime', 'ChildPdCategories.created' => 'datetime', 'ChildPdCategories__modified' => 'datetime', 'ChildPdCategories.modified' => 'datetime', 'ChildPdCategories__slug' => 'string', 'ChildPdCategories.slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ChildPdCategories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdCategoriesTable) {} } $pdTypesMenu = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ ':c0' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdTypes__id' => 'integer', 'PdTypes.id' => 'integer', 'id' => 'integer', 'PdTypes__name' => 'string', 'PdTypes.name' => 'string', 'name' => 'string', 'PdTypes__priority' => 'integer', 'PdTypes.priority' => 'integer', 'priority' => 'integer', 'PdTypes__active' => 'tinyinteger', 'PdTypes.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdTypes__slug' => 'string', 'PdTypes.slug' => 'string', 'slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdTypesTable) {} } $site = 'Sklep.biblioteka.pl' $i = (int) 0
include - ROOT/templates/ShProducts/view_poster.php, line 81 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1163 Cake\View\View::_render() - CORE/src/View/View.php, line 1124 Cake\View\View::render() - CORE/src/View/View.php, line 750 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 691 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 533 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 229 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Notice (8): Trying to get property 'name' of non-object [ROOT/templates/ShProducts/view_poster.php, line 81]" data-large="https://images.bibliotekawszkole.pl/sh_products/Code Context<?php if(!count($product->sh_product_childs)): ?>
<img loading="lazy" class="img-fluid" src="https://tmb.bibliotekawszkole.pl/<?= basename($product->gallery[0]->name) ?>" data-large="https://images.bibliotekawszkole.pl/sh_products/<?= basename($product->gallery[0]->name) ?>" alt="<?= $product->gallery[0]->description ?>">
<?php endif; ?>
$templateFile = '/usr/home/sukurs/domains/portal.biblioteka.pl/public_html/templates/ShProducts/view_poster.php' $dataForView = [ 'choose' => (int) 0, 'product' => object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [[maximum depth reached]], 'sh_products_votes' => [ [maximum depth reached] ], 'tags' => [ [maximum depth reached] ], 'pd_topics' => [ [maximum depth reached] ], 'gallery' => [[maximum depth reached]], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [[maximum depth reached]], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [[maximum depth reached]], 'sh_product_parents' => [ [maximum depth reached] ], 'sh_discounts' => [[maximum depth reached]], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[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]' => 'ShProducts' }, 'tags' => [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ], 'meta_image' => 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'meta_image_height' => (int) 707, 'meta_image_width' => (int) 500, 'similar' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [ [maximum depth reached] ], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ShProductsTable) {} }, 'activePage' => 'plakaty', 'totalQuantity' => (int) 0, 'isCart' => false, 'endpoint' => 'bws', 'rootMagazineId' => (int) 1, 'questions' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'questionsPortal' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'categories' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdCategoriesTable) {} }, 'pdTypesMenu' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdTypesTable) {} } ] $choose = (int) 0 $product = object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [], 'sh_products_votes' => [ (int) 0 => object(App\Model\Entity\ShProductsVote) {} ], 'tags' => [ (int) 0 => object(App\Model\Entity\Tag) {}, (int) 1 => object(App\Model\Entity\Tag) {}, (int) 2 => object(App\Model\Entity\Tag) {}, (int) 3 => object(App\Model\Entity\Tag) {}, (int) 4 => object(App\Model\Entity\Tag) {}, (int) 5 => object(App\Model\Entity\Tag) {}, (int) 6 => object(App\Model\Entity\Tag) {}, (int) 7 => object(App\Model\Entity\Tag) {} ], 'pd_topics' => [ (int) 0 => object(Cake\ORM\Entity) {} ], 'gallery' => [], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [], 'sh_product_parents' => [ (int) 0 => object(App\Model\Entity\ShProduct) {} ], 'sh_discounts' => [], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'cart' => true ], '[original]' => [], '[virtual]' => [ (int) 0 => 'full_cover_xs', (int) 1 => 'full_cover_sm', (int) 2 => 'full_cover_md', (int) 3 => 'full_cover', (int) 4 => 'tara', (int) 5 => 'price_brutto_before', (int) 6 => 'price_netto_before', (int) 7 => 'price_brutto', (int) 8 => 'price_netto', (int) 9 => 'price_second_netto', (int) 10 => 'subscription_details', (int) 11 => 'sneak', (int) 12 => 'text' ], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ShProducts' } $tags = [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ] $meta_image = 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg' $meta_image_height = (int) 707 $meta_image_width = (int) 500 $similar = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'ShProducts__id' => 'integer', 'ShProducts.id' => 'integer', 'id' => 'integer', 'ShProducts__name' => 'string', 'ShProducts.name' => 'string', 'name' => 'string', 'ShProducts__invoice_text' => 'string', 'ShProducts.invoice_text' => 'string', 'invoice_text' => 'string', 'ShProducts__sh_subscription_period_id' => 'integer', 'ShProducts.sh_subscription_period_id' => 'integer', 'sh_subscription_period_id' => 'integer', 'ShProducts__text' => 'text', 'ShProducts.text' => 'text', 'text' => 'text', 'ShProducts__text_long' => 'text', 'ShProducts.text_long' => 'text', 'text_long' => 'text', 'ShProducts__price' => 'decimal', 'ShProducts.price' => 'decimal', 'price' => 'decimal', 'ShProducts__price_prv' => 'decimal', 'ShProducts.price_prv' => 'decimal', 'price_prv' => 'decimal', 'ShProducts__price_distributor' => 'decimal', 'ShProducts.price_distributor' => 'decimal', 'price_distributor' => 'decimal', 'ShProducts__price_second' => 'decimal', 'ShProducts.price_second' => 'decimal', 'price_second' => 'decimal', 'ShProducts__sh_product_type_id' => 'integer', 'ShProducts.sh_product_type_id' => 'integer', 'sh_product_type_id' => 'integer', 'ShProducts__magazine_id' => 'integer', 'ShProducts.magazine_id' => 'integer', 'magazine_id' => 'integer', 'ShProducts__issue_id' => 'integer', 'ShProducts.issue_id' => 'integer', 'issue_id' => 'integer', 'ShProducts__sh_addon_id' => 'integer', 'ShProducts.sh_addon_id' => 'integer', 'sh_addon_id' => 'integer', 'ShProducts__items' => 'integer', 'ShProducts.items' => 'integer', 'items' => 'integer', 'ShProducts__created' => 'datetime', 'ShProducts.created' => 'datetime', 'created' => 'datetime', 'ShProducts__modified' => 'datetime', 'ShProducts.modified' => 'datetime', 'modified' => 'datetime', 'ShProducts__slug' => 'string', 'ShProducts.slug' => 'string', 'slug' => 'string', 'ShProducts__product_code' => 'string', 'ShProducts.product_code' => 'string', 'product_code' => 'string', 'ShProducts__sh_shipment_id' => 'integer', 'ShProducts.sh_shipment_id' => 'integer', 'sh_shipment_id' => 'integer', 'ShProducts__priority' => 'integer', 'ShProducts.priority' => 'integer', 'priority' => 'integer', 'ShProducts__main_page' => 'integer', 'ShProducts.main_page' => 'integer', 'main_page' => 'integer', 'ShProducts__main_page_priority' => 'integer', 'ShProducts.main_page_priority' => 'integer', 'main_page_priority' => 'integer', 'ShProducts__active' => 'tinyinteger', 'ShProducts.active' => 'tinyinteger', 'active' => 'tinyinteger', 'ShProducts__annotation' => 'string', 'ShProducts.annotation' => 'string', 'annotation' => 'string', 'ShProducts__monthly' => 'tinyinteger', 'ShProducts.monthly' => 'tinyinteger', 'monthly' => 'tinyinteger', 'ShProducts__image_id' => 'integer', 'ShProducts.image_id' => 'integer', 'image_id' => 'integer', 'ShProducts__file_id' => 'integer', 'ShProducts.file_id' => 'integer', 'file_id' => 'integer', 'ShProducts__preorder' => 'datetime', 'ShProducts.preorder' => 'datetime', 'preorder' => 'datetime', 'ShProducts__pd_format_id' => 'integer', 'ShProducts.pd_format_id' => 'integer', 'pd_format_id' => 'integer', 'ShProducts__pd_main_category_id' => 'integer', 'ShProducts.pd_main_category_id' => 'integer', 'pd_main_category_id' => 'integer', 'ShProducts__stock' => 'integer', 'ShProducts.stock' => 'integer', 'stock' => 'integer', 'ShProducts__seo_description' => 'string', 'ShProducts.seo_description' => 'string', 'seo_description' => 'string', 'ShProducts__rating' => 'decimal', 'ShProducts.rating' => 'decimal', 'rating' => 'decimal', 'ShProducts__article_id' => 'integer', 'ShProducts.article_id' => 'integer', 'article_id' => 'integer', 'ShProducts__reverse_id' => 'integer', 'ShProducts.reverse_id' => 'integer', 'reverse_id' => 'integer', 'PdTopics__id' => 'integer', 'PdTopics.id' => 'integer', 'PdTopics__name' => 'string', 'PdTopics.name' => 'string', 'PdTopics__slug' => 'string', 'PdTopics.slug' => 'string', 'ShProductsPdTopics__id' => 'integer', 'ShProductsPdTopics.id' => 'integer', 'ShProductsPdTopics__sh_product_id' => 'integer', 'ShProductsPdTopics.sh_product_id' => 'integer', 'sh_product_id' => 'integer', 'ShProductsPdTopics__pd_topic_id' => 'integer', 'ShProductsPdTopics.pd_topic_id' => 'integer', 'pd_topic_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [ 'PdTopics' => [ [maximum depth reached] ] ], 'extraOptions' => [], 'repository' => object(App\Model\Table\ShProductsTable) {} } $activePage = 'plakaty' $totalQuantity = (int) 0 $isCart = false $endpoint = 'bws' $rootMagazineId = (int) 1 $questions = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $questionsPortal = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $categories = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdCategories__id' => 'integer', 'PdCategories.id' => 'integer', 'id' => 'integer', 'PdCategories__name' => 'string', 'PdCategories.name' => 'string', 'name' => 'string', 'PdCategories__description' => 'string', 'PdCategories.description' => 'string', 'description' => 'string', 'PdCategories__header' => 'string', 'PdCategories.header' => 'string', 'header' => 'string', 'PdCategories__description2' => 'string', 'PdCategories.description2' => 'string', 'description2' => 'string', 'PdCategories__active' => 'tinyinteger', 'PdCategories.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdCategories__visible' => 'tinyinteger', 'PdCategories.visible' => 'tinyinteger', 'visible' => 'tinyinteger', 'PdCategories__parent_id' => 'integer', 'PdCategories.parent_id' => 'integer', 'parent_id' => 'integer', 'PdCategories__lft' => 'integer', 'PdCategories.lft' => 'integer', 'lft' => 'integer', 'PdCategories__rght' => 'integer', 'PdCategories.rght' => 'integer', 'rght' => 'integer', 'PdCategories__created' => 'datetime', 'PdCategories.created' => 'datetime', 'created' => 'datetime', 'PdCategories__modified' => 'datetime', 'PdCategories.modified' => 'datetime', 'modified' => 'datetime', 'PdCategories__slug' => 'string', 'PdCategories.slug' => 'string', 'slug' => 'string', 'ChildPdCategories__id' => 'integer', 'ChildPdCategories.id' => 'integer', 'ChildPdCategories__name' => 'string', 'ChildPdCategories.name' => 'string', 'ChildPdCategories__description' => 'string', 'ChildPdCategories.description' => 'string', 'ChildPdCategories__header' => 'string', 'ChildPdCategories.header' => 'string', 'ChildPdCategories__description2' => 'string', 'ChildPdCategories.description2' => 'string', 'ChildPdCategories__active' => 'tinyinteger', 'ChildPdCategories.active' => 'tinyinteger', 'ChildPdCategories__visible' => 'tinyinteger', 'ChildPdCategories.visible' => 'tinyinteger', 'ChildPdCategories__parent_id' => 'integer', 'ChildPdCategories.parent_id' => 'integer', 'ChildPdCategories__lft' => 'integer', 'ChildPdCategories.lft' => 'integer', 'ChildPdCategories__rght' => 'integer', 'ChildPdCategories.rght' => 'integer', 'ChildPdCategories__created' => 'datetime', 'ChildPdCategories.created' => 'datetime', 'ChildPdCategories__modified' => 'datetime', 'ChildPdCategories.modified' => 'datetime', 'ChildPdCategories__slug' => 'string', 'ChildPdCategories.slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ChildPdCategories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdCategoriesTable) {} } $pdTypesMenu = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ ':c0' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdTypes__id' => 'integer', 'PdTypes.id' => 'integer', 'id' => 'integer', 'PdTypes__name' => 'string', 'PdTypes.name' => 'string', 'name' => 'string', 'PdTypes__priority' => 'integer', 'PdTypes.priority' => 'integer', 'priority' => 'integer', 'PdTypes__active' => 'tinyinteger', 'PdTypes.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdTypes__slug' => 'string', 'PdTypes.slug' => 'string', 'slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdTypesTable) {} } $site = 'Sklep.biblioteka.pl' $i = (int) 0include - ROOT/templates/ShProducts/view_poster.php, line 81 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1163 Cake\View\View::_render() - CORE/src/View/View.php, line 1124 Cake\View\View::render() - CORE/src/View/View.php, line 750 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 691 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 533 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 229 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Notice (8): Undefined offset: 0 [ROOT/templates/ShProducts/view_poster.php, line 81]Code Context<?php if(!count($product->sh_product_childs)): ?>
<img loading="lazy" class="img-fluid" src="https://tmb.bibliotekawszkole.pl/<?= basename($product->gallery[0]->name) ?>" data-large="https://images.bibliotekawszkole.pl/sh_products/<?= basename($product->gallery[0]->name) ?>" alt="<?= $product->gallery[0]->description ?>">
<?php endif; ?>
$templateFile = '/usr/home/sukurs/domains/portal.biblioteka.pl/public_html/templates/ShProducts/view_poster.php' $dataForView = [ 'choose' => (int) 0, 'product' => object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [[maximum depth reached]], 'sh_products_votes' => [ [maximum depth reached] ], 'tags' => [ [maximum depth reached] ], 'pd_topics' => [ [maximum depth reached] ], 'gallery' => [[maximum depth reached]], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [[maximum depth reached]], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [[maximum depth reached]], 'sh_product_parents' => [ [maximum depth reached] ], 'sh_discounts' => [[maximum depth reached]], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[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]' => 'ShProducts' }, 'tags' => [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ], 'meta_image' => 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'meta_image_height' => (int) 707, 'meta_image_width' => (int) 500, 'similar' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [ [maximum depth reached] ], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ShProductsTable) {} }, 'activePage' => 'plakaty', 'totalQuantity' => (int) 0, 'isCart' => false, 'endpoint' => 'bws', 'rootMagazineId' => (int) 1, 'questions' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'questionsPortal' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'categories' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdCategoriesTable) {} }, 'pdTypesMenu' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdTypesTable) {} } ] $choose = (int) 0 $product = object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [], 'sh_products_votes' => [ (int) 0 => object(App\Model\Entity\ShProductsVote) {} ], 'tags' => [ (int) 0 => object(App\Model\Entity\Tag) {}, (int) 1 => object(App\Model\Entity\Tag) {}, (int) 2 => object(App\Model\Entity\Tag) {}, (int) 3 => object(App\Model\Entity\Tag) {}, (int) 4 => object(App\Model\Entity\Tag) {}, (int) 5 => object(App\Model\Entity\Tag) {}, (int) 6 => object(App\Model\Entity\Tag) {}, (int) 7 => object(App\Model\Entity\Tag) {} ], 'pd_topics' => [ (int) 0 => object(Cake\ORM\Entity) {} ], 'gallery' => [], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [], 'sh_product_parents' => [ (int) 0 => object(App\Model\Entity\ShProduct) {} ], 'sh_discounts' => [], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'cart' => true ], '[original]' => [], '[virtual]' => [ (int) 0 => 'full_cover_xs', (int) 1 => 'full_cover_sm', (int) 2 => 'full_cover_md', (int) 3 => 'full_cover', (int) 4 => 'tara', (int) 5 => 'price_brutto_before', (int) 6 => 'price_netto_before', (int) 7 => 'price_brutto', (int) 8 => 'price_netto', (int) 9 => 'price_second_netto', (int) 10 => 'subscription_details', (int) 11 => 'sneak', (int) 12 => 'text' ], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ShProducts' } $tags = [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ] $meta_image = 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg' $meta_image_height = (int) 707 $meta_image_width = (int) 500 $similar = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'ShProducts__id' => 'integer', 'ShProducts.id' => 'integer', 'id' => 'integer', 'ShProducts__name' => 'string', 'ShProducts.name' => 'string', 'name' => 'string', 'ShProducts__invoice_text' => 'string', 'ShProducts.invoice_text' => 'string', 'invoice_text' => 'string', 'ShProducts__sh_subscription_period_id' => 'integer', 'ShProducts.sh_subscription_period_id' => 'integer', 'sh_subscription_period_id' => 'integer', 'ShProducts__text' => 'text', 'ShProducts.text' => 'text', 'text' => 'text', 'ShProducts__text_long' => 'text', 'ShProducts.text_long' => 'text', 'text_long' => 'text', 'ShProducts__price' => 'decimal', 'ShProducts.price' => 'decimal', 'price' => 'decimal', 'ShProducts__price_prv' => 'decimal', 'ShProducts.price_prv' => 'decimal', 'price_prv' => 'decimal', 'ShProducts__price_distributor' => 'decimal', 'ShProducts.price_distributor' => 'decimal', 'price_distributor' => 'decimal', 'ShProducts__price_second' => 'decimal', 'ShProducts.price_second' => 'decimal', 'price_second' => 'decimal', 'ShProducts__sh_product_type_id' => 'integer', 'ShProducts.sh_product_type_id' => 'integer', 'sh_product_type_id' => 'integer', 'ShProducts__magazine_id' => 'integer', 'ShProducts.magazine_id' => 'integer', 'magazine_id' => 'integer', 'ShProducts__issue_id' => 'integer', 'ShProducts.issue_id' => 'integer', 'issue_id' => 'integer', 'ShProducts__sh_addon_id' => 'integer', 'ShProducts.sh_addon_id' => 'integer', 'sh_addon_id' => 'integer', 'ShProducts__items' => 'integer', 'ShProducts.items' => 'integer', 'items' => 'integer', 'ShProducts__created' => 'datetime', 'ShProducts.created' => 'datetime', 'created' => 'datetime', 'ShProducts__modified' => 'datetime', 'ShProducts.modified' => 'datetime', 'modified' => 'datetime', 'ShProducts__slug' => 'string', 'ShProducts.slug' => 'string', 'slug' => 'string', 'ShProducts__product_code' => 'string', 'ShProducts.product_code' => 'string', 'product_code' => 'string', 'ShProducts__sh_shipment_id' => 'integer', 'ShProducts.sh_shipment_id' => 'integer', 'sh_shipment_id' => 'integer', 'ShProducts__priority' => 'integer', 'ShProducts.priority' => 'integer', 'priority' => 'integer', 'ShProducts__main_page' => 'integer', 'ShProducts.main_page' => 'integer', 'main_page' => 'integer', 'ShProducts__main_page_priority' => 'integer', 'ShProducts.main_page_priority' => 'integer', 'main_page_priority' => 'integer', 'ShProducts__active' => 'tinyinteger', 'ShProducts.active' => 'tinyinteger', 'active' => 'tinyinteger', 'ShProducts__annotation' => 'string', 'ShProducts.annotation' => 'string', 'annotation' => 'string', 'ShProducts__monthly' => 'tinyinteger', 'ShProducts.monthly' => 'tinyinteger', 'monthly' => 'tinyinteger', 'ShProducts__image_id' => 'integer', 'ShProducts.image_id' => 'integer', 'image_id' => 'integer', 'ShProducts__file_id' => 'integer', 'ShProducts.file_id' => 'integer', 'file_id' => 'integer', 'ShProducts__preorder' => 'datetime', 'ShProducts.preorder' => 'datetime', 'preorder' => 'datetime', 'ShProducts__pd_format_id' => 'integer', 'ShProducts.pd_format_id' => 'integer', 'pd_format_id' => 'integer', 'ShProducts__pd_main_category_id' => 'integer', 'ShProducts.pd_main_category_id' => 'integer', 'pd_main_category_id' => 'integer', 'ShProducts__stock' => 'integer', 'ShProducts.stock' => 'integer', 'stock' => 'integer', 'ShProducts__seo_description' => 'string', 'ShProducts.seo_description' => 'string', 'seo_description' => 'string', 'ShProducts__rating' => 'decimal', 'ShProducts.rating' => 'decimal', 'rating' => 'decimal', 'ShProducts__article_id' => 'integer', 'ShProducts.article_id' => 'integer', 'article_id' => 'integer', 'ShProducts__reverse_id' => 'integer', 'ShProducts.reverse_id' => 'integer', 'reverse_id' => 'integer', 'PdTopics__id' => 'integer', 'PdTopics.id' => 'integer', 'PdTopics__name' => 'string', 'PdTopics.name' => 'string', 'PdTopics__slug' => 'string', 'PdTopics.slug' => 'string', 'ShProductsPdTopics__id' => 'integer', 'ShProductsPdTopics.id' => 'integer', 'ShProductsPdTopics__sh_product_id' => 'integer', 'ShProductsPdTopics.sh_product_id' => 'integer', 'sh_product_id' => 'integer', 'ShProductsPdTopics__pd_topic_id' => 'integer', 'ShProductsPdTopics.pd_topic_id' => 'integer', 'pd_topic_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [ 'PdTopics' => [ [maximum depth reached] ] ], 'extraOptions' => [], 'repository' => object(App\Model\Table\ShProductsTable) {} } $activePage = 'plakaty' $totalQuantity = (int) 0 $isCart = false $endpoint = 'bws' $rootMagazineId = (int) 1 $questions = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $questionsPortal = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $categories = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdCategories__id' => 'integer', 'PdCategories.id' => 'integer', 'id' => 'integer', 'PdCategories__name' => 'string', 'PdCategories.name' => 'string', 'name' => 'string', 'PdCategories__description' => 'string', 'PdCategories.description' => 'string', 'description' => 'string', 'PdCategories__header' => 'string', 'PdCategories.header' => 'string', 'header' => 'string', 'PdCategories__description2' => 'string', 'PdCategories.description2' => 'string', 'description2' => 'string', 'PdCategories__active' => 'tinyinteger', 'PdCategories.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdCategories__visible' => 'tinyinteger', 'PdCategories.visible' => 'tinyinteger', 'visible' => 'tinyinteger', 'PdCategories__parent_id' => 'integer', 'PdCategories.parent_id' => 'integer', 'parent_id' => 'integer', 'PdCategories__lft' => 'integer', 'PdCategories.lft' => 'integer', 'lft' => 'integer', 'PdCategories__rght' => 'integer', 'PdCategories.rght' => 'integer', 'rght' => 'integer', 'PdCategories__created' => 'datetime', 'PdCategories.created' => 'datetime', 'created' => 'datetime', 'PdCategories__modified' => 'datetime', 'PdCategories.modified' => 'datetime', 'modified' => 'datetime', 'PdCategories__slug' => 'string', 'PdCategories.slug' => 'string', 'slug' => 'string', 'ChildPdCategories__id' => 'integer', 'ChildPdCategories.id' => 'integer', 'ChildPdCategories__name' => 'string', 'ChildPdCategories.name' => 'string', 'ChildPdCategories__description' => 'string', 'ChildPdCategories.description' => 'string', 'ChildPdCategories__header' => 'string', 'ChildPdCategories.header' => 'string', 'ChildPdCategories__description2' => 'string', 'ChildPdCategories.description2' => 'string', 'ChildPdCategories__active' => 'tinyinteger', 'ChildPdCategories.active' => 'tinyinteger', 'ChildPdCategories__visible' => 'tinyinteger', 'ChildPdCategories.visible' => 'tinyinteger', 'ChildPdCategories__parent_id' => 'integer', 'ChildPdCategories.parent_id' => 'integer', 'ChildPdCategories__lft' => 'integer', 'ChildPdCategories.lft' => 'integer', 'ChildPdCategories__rght' => 'integer', 'ChildPdCategories.rght' => 'integer', 'ChildPdCategories__created' => 'datetime', 'ChildPdCategories.created' => 'datetime', 'ChildPdCategories__modified' => 'datetime', 'ChildPdCategories.modified' => 'datetime', 'ChildPdCategories__slug' => 'string', 'ChildPdCategories.slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ChildPdCategories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdCategoriesTable) {} } $pdTypesMenu = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ ':c0' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdTypes__id' => 'integer', 'PdTypes.id' => 'integer', 'id' => 'integer', 'PdTypes__name' => 'string', 'PdTypes.name' => 'string', 'name' => 'string', 'PdTypes__priority' => 'integer', 'PdTypes.priority' => 'integer', 'priority' => 'integer', 'PdTypes__active' => 'tinyinteger', 'PdTypes.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdTypes__slug' => 'string', 'PdTypes.slug' => 'string', 'slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdTypesTable) {} } $site = 'Sklep.biblioteka.pl' $i = (int) 0include - ROOT/templates/ShProducts/view_poster.php, line 81 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1163 Cake\View\View::_render() - CORE/src/View/View.php, line 1124 Cake\View\View::render() - CORE/src/View/View.php, line 750 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 691 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 533 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 229 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Notice (8): Trying to get property 'name' of non-object [ROOT/templates/ShProducts/view_poster.php, line 81]" alt="Code Context<?php if(!count($product->sh_product_childs)): ?>
<img loading="lazy" class="img-fluid" src="https://tmb.bibliotekawszkole.pl/<?= basename($product->gallery[0]->name) ?>" data-large="https://images.bibliotekawszkole.pl/sh_products/<?= basename($product->gallery[0]->name) ?>" alt="<?= $product->gallery[0]->description ?>">
<?php endif; ?>
$templateFile = '/usr/home/sukurs/domains/portal.biblioteka.pl/public_html/templates/ShProducts/view_poster.php' $dataForView = [ 'choose' => (int) 0, 'product' => object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [[maximum depth reached]], 'sh_products_votes' => [ [maximum depth reached] ], 'tags' => [ [maximum depth reached] ], 'pd_topics' => [ [maximum depth reached] ], 'gallery' => [[maximum depth reached]], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [[maximum depth reached]], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [[maximum depth reached]], 'sh_product_parents' => [ [maximum depth reached] ], 'sh_discounts' => [[maximum depth reached]], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[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]' => 'ShProducts' }, 'tags' => [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ], 'meta_image' => 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'meta_image_height' => (int) 707, 'meta_image_width' => (int) 500, 'similar' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [ [maximum depth reached] ], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ShProductsTable) {} }, 'activePage' => 'plakaty', 'totalQuantity' => (int) 0, 'isCart' => false, 'endpoint' => 'bws', 'rootMagazineId' => (int) 1, 'questions' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'questionsPortal' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'categories' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdCategoriesTable) {} }, 'pdTypesMenu' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdTypesTable) {} } ] $choose = (int) 0 $product = object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [], 'sh_products_votes' => [ (int) 0 => object(App\Model\Entity\ShProductsVote) {} ], 'tags' => [ (int) 0 => object(App\Model\Entity\Tag) {}, (int) 1 => object(App\Model\Entity\Tag) {}, (int) 2 => object(App\Model\Entity\Tag) {}, (int) 3 => object(App\Model\Entity\Tag) {}, (int) 4 => object(App\Model\Entity\Tag) {}, (int) 5 => object(App\Model\Entity\Tag) {}, (int) 6 => object(App\Model\Entity\Tag) {}, (int) 7 => object(App\Model\Entity\Tag) {} ], 'pd_topics' => [ (int) 0 => object(Cake\ORM\Entity) {} ], 'gallery' => [], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [], 'sh_product_parents' => [ (int) 0 => object(App\Model\Entity\ShProduct) {} ], 'sh_discounts' => [], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'cart' => true ], '[original]' => [], '[virtual]' => [ (int) 0 => 'full_cover_xs', (int) 1 => 'full_cover_sm', (int) 2 => 'full_cover_md', (int) 3 => 'full_cover', (int) 4 => 'tara', (int) 5 => 'price_brutto_before', (int) 6 => 'price_netto_before', (int) 7 => 'price_brutto', (int) 8 => 'price_netto', (int) 9 => 'price_second_netto', (int) 10 => 'subscription_details', (int) 11 => 'sneak', (int) 12 => 'text' ], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ShProducts' } $tags = [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ] $meta_image = 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg' $meta_image_height = (int) 707 $meta_image_width = (int) 500 $similar = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'ShProducts__id' => 'integer', 'ShProducts.id' => 'integer', 'id' => 'integer', 'ShProducts__name' => 'string', 'ShProducts.name' => 'string', 'name' => 'string', 'ShProducts__invoice_text' => 'string', 'ShProducts.invoice_text' => 'string', 'invoice_text' => 'string', 'ShProducts__sh_subscription_period_id' => 'integer', 'ShProducts.sh_subscription_period_id' => 'integer', 'sh_subscription_period_id' => 'integer', 'ShProducts__text' => 'text', 'ShProducts.text' => 'text', 'text' => 'text', 'ShProducts__text_long' => 'text', 'ShProducts.text_long' => 'text', 'text_long' => 'text', 'ShProducts__price' => 'decimal', 'ShProducts.price' => 'decimal', 'price' => 'decimal', 'ShProducts__price_prv' => 'decimal', 'ShProducts.price_prv' => 'decimal', 'price_prv' => 'decimal', 'ShProducts__price_distributor' => 'decimal', 'ShProducts.price_distributor' => 'decimal', 'price_distributor' => 'decimal', 'ShProducts__price_second' => 'decimal', 'ShProducts.price_second' => 'decimal', 'price_second' => 'decimal', 'ShProducts__sh_product_type_id' => 'integer', 'ShProducts.sh_product_type_id' => 'integer', 'sh_product_type_id' => 'integer', 'ShProducts__magazine_id' => 'integer', 'ShProducts.magazine_id' => 'integer', 'magazine_id' => 'integer', 'ShProducts__issue_id' => 'integer', 'ShProducts.issue_id' => 'integer', 'issue_id' => 'integer', 'ShProducts__sh_addon_id' => 'integer', 'ShProducts.sh_addon_id' => 'integer', 'sh_addon_id' => 'integer', 'ShProducts__items' => 'integer', 'ShProducts.items' => 'integer', 'items' => 'integer', 'ShProducts__created' => 'datetime', 'ShProducts.created' => 'datetime', 'created' => 'datetime', 'ShProducts__modified' => 'datetime', 'ShProducts.modified' => 'datetime', 'modified' => 'datetime', 'ShProducts__slug' => 'string', 'ShProducts.slug' => 'string', 'slug' => 'string', 'ShProducts__product_code' => 'string', 'ShProducts.product_code' => 'string', 'product_code' => 'string', 'ShProducts__sh_shipment_id' => 'integer', 'ShProducts.sh_shipment_id' => 'integer', 'sh_shipment_id' => 'integer', 'ShProducts__priority' => 'integer', 'ShProducts.priority' => 'integer', 'priority' => 'integer', 'ShProducts__main_page' => 'integer', 'ShProducts.main_page' => 'integer', 'main_page' => 'integer', 'ShProducts__main_page_priority' => 'integer', 'ShProducts.main_page_priority' => 'integer', 'main_page_priority' => 'integer', 'ShProducts__active' => 'tinyinteger', 'ShProducts.active' => 'tinyinteger', 'active' => 'tinyinteger', 'ShProducts__annotation' => 'string', 'ShProducts.annotation' => 'string', 'annotation' => 'string', 'ShProducts__monthly' => 'tinyinteger', 'ShProducts.monthly' => 'tinyinteger', 'monthly' => 'tinyinteger', 'ShProducts__image_id' => 'integer', 'ShProducts.image_id' => 'integer', 'image_id' => 'integer', 'ShProducts__file_id' => 'integer', 'ShProducts.file_id' => 'integer', 'file_id' => 'integer', 'ShProducts__preorder' => 'datetime', 'ShProducts.preorder' => 'datetime', 'preorder' => 'datetime', 'ShProducts__pd_format_id' => 'integer', 'ShProducts.pd_format_id' => 'integer', 'pd_format_id' => 'integer', 'ShProducts__pd_main_category_id' => 'integer', 'ShProducts.pd_main_category_id' => 'integer', 'pd_main_category_id' => 'integer', 'ShProducts__stock' => 'integer', 'ShProducts.stock' => 'integer', 'stock' => 'integer', 'ShProducts__seo_description' => 'string', 'ShProducts.seo_description' => 'string', 'seo_description' => 'string', 'ShProducts__rating' => 'decimal', 'ShProducts.rating' => 'decimal', 'rating' => 'decimal', 'ShProducts__article_id' => 'integer', 'ShProducts.article_id' => 'integer', 'article_id' => 'integer', 'ShProducts__reverse_id' => 'integer', 'ShProducts.reverse_id' => 'integer', 'reverse_id' => 'integer', 'PdTopics__id' => 'integer', 'PdTopics.id' => 'integer', 'PdTopics__name' => 'string', 'PdTopics.name' => 'string', 'PdTopics__slug' => 'string', 'PdTopics.slug' => 'string', 'ShProductsPdTopics__id' => 'integer', 'ShProductsPdTopics.id' => 'integer', 'ShProductsPdTopics__sh_product_id' => 'integer', 'ShProductsPdTopics.sh_product_id' => 'integer', 'sh_product_id' => 'integer', 'ShProductsPdTopics__pd_topic_id' => 'integer', 'ShProductsPdTopics.pd_topic_id' => 'integer', 'pd_topic_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [ 'PdTopics' => [ [maximum depth reached] ] ], 'extraOptions' => [], 'repository' => object(App\Model\Table\ShProductsTable) {} } $activePage = 'plakaty' $totalQuantity = (int) 0 $isCart = false $endpoint = 'bws' $rootMagazineId = (int) 1 $questions = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $questionsPortal = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $categories = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdCategories__id' => 'integer', 'PdCategories.id' => 'integer', 'id' => 'integer', 'PdCategories__name' => 'string', 'PdCategories.name' => 'string', 'name' => 'string', 'PdCategories__description' => 'string', 'PdCategories.description' => 'string', 'description' => 'string', 'PdCategories__header' => 'string', 'PdCategories.header' => 'string', 'header' => 'string', 'PdCategories__description2' => 'string', 'PdCategories.description2' => 'string', 'description2' => 'string', 'PdCategories__active' => 'tinyinteger', 'PdCategories.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdCategories__visible' => 'tinyinteger', 'PdCategories.visible' => 'tinyinteger', 'visible' => 'tinyinteger', 'PdCategories__parent_id' => 'integer', 'PdCategories.parent_id' => 'integer', 'parent_id' => 'integer', 'PdCategories__lft' => 'integer', 'PdCategories.lft' => 'integer', 'lft' => 'integer', 'PdCategories__rght' => 'integer', 'PdCategories.rght' => 'integer', 'rght' => 'integer', 'PdCategories__created' => 'datetime', 'PdCategories.created' => 'datetime', 'created' => 'datetime', 'PdCategories__modified' => 'datetime', 'PdCategories.modified' => 'datetime', 'modified' => 'datetime', 'PdCategories__slug' => 'string', 'PdCategories.slug' => 'string', 'slug' => 'string', 'ChildPdCategories__id' => 'integer', 'ChildPdCategories.id' => 'integer', 'ChildPdCategories__name' => 'string', 'ChildPdCategories.name' => 'string', 'ChildPdCategories__description' => 'string', 'ChildPdCategories.description' => 'string', 'ChildPdCategories__header' => 'string', 'ChildPdCategories.header' => 'string', 'ChildPdCategories__description2' => 'string', 'ChildPdCategories.description2' => 'string', 'ChildPdCategories__active' => 'tinyinteger', 'ChildPdCategories.active' => 'tinyinteger', 'ChildPdCategories__visible' => 'tinyinteger', 'ChildPdCategories.visible' => 'tinyinteger', 'ChildPdCategories__parent_id' => 'integer', 'ChildPdCategories.parent_id' => 'integer', 'ChildPdCategories__lft' => 'integer', 'ChildPdCategories.lft' => 'integer', 'ChildPdCategories__rght' => 'integer', 'ChildPdCategories.rght' => 'integer', 'ChildPdCategories__created' => 'datetime', 'ChildPdCategories.created' => 'datetime', 'ChildPdCategories__modified' => 'datetime', 'ChildPdCategories.modified' => 'datetime', 'ChildPdCategories__slug' => 'string', 'ChildPdCategories.slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ChildPdCategories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdCategoriesTable) {} } $pdTypesMenu = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ ':c0' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdTypes__id' => 'integer', 'PdTypes.id' => 'integer', 'id' => 'integer', 'PdTypes__name' => 'string', 'PdTypes.name' => 'string', 'name' => 'string', 'PdTypes__priority' => 'integer', 'PdTypes.priority' => 'integer', 'priority' => 'integer', 'PdTypes__active' => 'tinyinteger', 'PdTypes.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdTypes__slug' => 'string', 'PdTypes.slug' => 'string', 'slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdTypesTable) {} } $site = 'Sklep.biblioteka.pl' $i = (int) 0include - ROOT/templates/ShProducts/view_poster.php, line 81 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1163 Cake\View\View::_render() - CORE/src/View/View.php, line 1124 Cake\View\View::render() - CORE/src/View/View.php, line 750 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 691 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 533 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 229 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Notice (8): Undefined offset: 0 [ROOT/templates/ShProducts/view_poster.php, line 81]Code Context<?php if(!count($product->sh_product_childs)): ?>
<img loading="lazy" class="img-fluid" src="https://tmb.bibliotekawszkole.pl/<?= basename($product->gallery[0]->name) ?>" data-large="https://images.bibliotekawszkole.pl/sh_products/<?= basename($product->gallery[0]->name) ?>" alt="<?= $product->gallery[0]->description ?>">
<?php endif; ?>
$templateFile = '/usr/home/sukurs/domains/portal.biblioteka.pl/public_html/templates/ShProducts/view_poster.php' $dataForView = [ 'choose' => (int) 0, 'product' => object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [[maximum depth reached]], 'sh_products_votes' => [ [maximum depth reached] ], 'tags' => [ [maximum depth reached] ], 'pd_topics' => [ [maximum depth reached] ], 'gallery' => [[maximum depth reached]], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [[maximum depth reached]], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [[maximum depth reached]], 'sh_product_parents' => [ [maximum depth reached] ], 'sh_discounts' => [[maximum depth reached]], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[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]' => 'ShProducts' }, 'tags' => [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ], 'meta_image' => 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'meta_image_height' => (int) 707, 'meta_image_width' => (int) 500, 'similar' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [ [maximum depth reached] ], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ShProductsTable) {} }, 'activePage' => 'plakaty', 'totalQuantity' => (int) 0, 'isCart' => false, 'endpoint' => 'bws', 'rootMagazineId' => (int) 1, 'questions' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'questionsPortal' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'categories' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdCategoriesTable) {} }, 'pdTypesMenu' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdTypesTable) {} } ] $choose = (int) 0 $product = object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [], 'sh_products_votes' => [ (int) 0 => object(App\Model\Entity\ShProductsVote) {} ], 'tags' => [ (int) 0 => object(App\Model\Entity\Tag) {}, (int) 1 => object(App\Model\Entity\Tag) {}, (int) 2 => object(App\Model\Entity\Tag) {}, (int) 3 => object(App\Model\Entity\Tag) {}, (int) 4 => object(App\Model\Entity\Tag) {}, (int) 5 => object(App\Model\Entity\Tag) {}, (int) 6 => object(App\Model\Entity\Tag) {}, (int) 7 => object(App\Model\Entity\Tag) {} ], 'pd_topics' => [ (int) 0 => object(Cake\ORM\Entity) {} ], 'gallery' => [], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [], 'sh_product_parents' => [ (int) 0 => object(App\Model\Entity\ShProduct) {} ], 'sh_discounts' => [], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'cart' => true ], '[original]' => [], '[virtual]' => [ (int) 0 => 'full_cover_xs', (int) 1 => 'full_cover_sm', (int) 2 => 'full_cover_md', (int) 3 => 'full_cover', (int) 4 => 'tara', (int) 5 => 'price_brutto_before', (int) 6 => 'price_netto_before', (int) 7 => 'price_brutto', (int) 8 => 'price_netto', (int) 9 => 'price_second_netto', (int) 10 => 'subscription_details', (int) 11 => 'sneak', (int) 12 => 'text' ], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ShProducts' } $tags = [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ] $meta_image = 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg' $meta_image_height = (int) 707 $meta_image_width = (int) 500 $similar = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'ShProducts__id' => 'integer', 'ShProducts.id' => 'integer', 'id' => 'integer', 'ShProducts__name' => 'string', 'ShProducts.name' => 'string', 'name' => 'string', 'ShProducts__invoice_text' => 'string', 'ShProducts.invoice_text' => 'string', 'invoice_text' => 'string', 'ShProducts__sh_subscription_period_id' => 'integer', 'ShProducts.sh_subscription_period_id' => 'integer', 'sh_subscription_period_id' => 'integer', 'ShProducts__text' => 'text', 'ShProducts.text' => 'text', 'text' => 'text', 'ShProducts__text_long' => 'text', 'ShProducts.text_long' => 'text', 'text_long' => 'text', 'ShProducts__price' => 'decimal', 'ShProducts.price' => 'decimal', 'price' => 'decimal', 'ShProducts__price_prv' => 'decimal', 'ShProducts.price_prv' => 'decimal', 'price_prv' => 'decimal', 'ShProducts__price_distributor' => 'decimal', 'ShProducts.price_distributor' => 'decimal', 'price_distributor' => 'decimal', 'ShProducts__price_second' => 'decimal', 'ShProducts.price_second' => 'decimal', 'price_second' => 'decimal', 'ShProducts__sh_product_type_id' => 'integer', 'ShProducts.sh_product_type_id' => 'integer', 'sh_product_type_id' => 'integer', 'ShProducts__magazine_id' => 'integer', 'ShProducts.magazine_id' => 'integer', 'magazine_id' => 'integer', 'ShProducts__issue_id' => 'integer', 'ShProducts.issue_id' => 'integer', 'issue_id' => 'integer', 'ShProducts__sh_addon_id' => 'integer', 'ShProducts.sh_addon_id' => 'integer', 'sh_addon_id' => 'integer', 'ShProducts__items' => 'integer', 'ShProducts.items' => 'integer', 'items' => 'integer', 'ShProducts__created' => 'datetime', 'ShProducts.created' => 'datetime', 'created' => 'datetime', 'ShProducts__modified' => 'datetime', 'ShProducts.modified' => 'datetime', 'modified' => 'datetime', 'ShProducts__slug' => 'string', 'ShProducts.slug' => 'string', 'slug' => 'string', 'ShProducts__product_code' => 'string', 'ShProducts.product_code' => 'string', 'product_code' => 'string', 'ShProducts__sh_shipment_id' => 'integer', 'ShProducts.sh_shipment_id' => 'integer', 'sh_shipment_id' => 'integer', 'ShProducts__priority' => 'integer', 'ShProducts.priority' => 'integer', 'priority' => 'integer', 'ShProducts__main_page' => 'integer', 'ShProducts.main_page' => 'integer', 'main_page' => 'integer', 'ShProducts__main_page_priority' => 'integer', 'ShProducts.main_page_priority' => 'integer', 'main_page_priority' => 'integer', 'ShProducts__active' => 'tinyinteger', 'ShProducts.active' => 'tinyinteger', 'active' => 'tinyinteger', 'ShProducts__annotation' => 'string', 'ShProducts.annotation' => 'string', 'annotation' => 'string', 'ShProducts__monthly' => 'tinyinteger', 'ShProducts.monthly' => 'tinyinteger', 'monthly' => 'tinyinteger', 'ShProducts__image_id' => 'integer', 'ShProducts.image_id' => 'integer', 'image_id' => 'integer', 'ShProducts__file_id' => 'integer', 'ShProducts.file_id' => 'integer', 'file_id' => 'integer', 'ShProducts__preorder' => 'datetime', 'ShProducts.preorder' => 'datetime', 'preorder' => 'datetime', 'ShProducts__pd_format_id' => 'integer', 'ShProducts.pd_format_id' => 'integer', 'pd_format_id' => 'integer', 'ShProducts__pd_main_category_id' => 'integer', 'ShProducts.pd_main_category_id' => 'integer', 'pd_main_category_id' => 'integer', 'ShProducts__stock' => 'integer', 'ShProducts.stock' => 'integer', 'stock' => 'integer', 'ShProducts__seo_description' => 'string', 'ShProducts.seo_description' => 'string', 'seo_description' => 'string', 'ShProducts__rating' => 'decimal', 'ShProducts.rating' => 'decimal', 'rating' => 'decimal', 'ShProducts__article_id' => 'integer', 'ShProducts.article_id' => 'integer', 'article_id' => 'integer', 'ShProducts__reverse_id' => 'integer', 'ShProducts.reverse_id' => 'integer', 'reverse_id' => 'integer', 'PdTopics__id' => 'integer', 'PdTopics.id' => 'integer', 'PdTopics__name' => 'string', 'PdTopics.name' => 'string', 'PdTopics__slug' => 'string', 'PdTopics.slug' => 'string', 'ShProductsPdTopics__id' => 'integer', 'ShProductsPdTopics.id' => 'integer', 'ShProductsPdTopics__sh_product_id' => 'integer', 'ShProductsPdTopics.sh_product_id' => 'integer', 'sh_product_id' => 'integer', 'ShProductsPdTopics__pd_topic_id' => 'integer', 'ShProductsPdTopics.pd_topic_id' => 'integer', 'pd_topic_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [ 'PdTopics' => [ [maximum depth reached] ] ], 'extraOptions' => [], 'repository' => object(App\Model\Table\ShProductsTable) {} } $activePage = 'plakaty' $totalQuantity = (int) 0 $isCart = false $endpoint = 'bws' $rootMagazineId = (int) 1 $questions = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $questionsPortal = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $categories = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdCategories__id' => 'integer', 'PdCategories.id' => 'integer', 'id' => 'integer', 'PdCategories__name' => 'string', 'PdCategories.name' => 'string', 'name' => 'string', 'PdCategories__description' => 'string', 'PdCategories.description' => 'string', 'description' => 'string', 'PdCategories__header' => 'string', 'PdCategories.header' => 'string', 'header' => 'string', 'PdCategories__description2' => 'string', 'PdCategories.description2' => 'string', 'description2' => 'string', 'PdCategories__active' => 'tinyinteger', 'PdCategories.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdCategories__visible' => 'tinyinteger', 'PdCategories.visible' => 'tinyinteger', 'visible' => 'tinyinteger', 'PdCategories__parent_id' => 'integer', 'PdCategories.parent_id' => 'integer', 'parent_id' => 'integer', 'PdCategories__lft' => 'integer', 'PdCategories.lft' => 'integer', 'lft' => 'integer', 'PdCategories__rght' => 'integer', 'PdCategories.rght' => 'integer', 'rght' => 'integer', 'PdCategories__created' => 'datetime', 'PdCategories.created' => 'datetime', 'created' => 'datetime', 'PdCategories__modified' => 'datetime', 'PdCategories.modified' => 'datetime', 'modified' => 'datetime', 'PdCategories__slug' => 'string', 'PdCategories.slug' => 'string', 'slug' => 'string', 'ChildPdCategories__id' => 'integer', 'ChildPdCategories.id' => 'integer', 'ChildPdCategories__name' => 'string', 'ChildPdCategories.name' => 'string', 'ChildPdCategories__description' => 'string', 'ChildPdCategories.description' => 'string', 'ChildPdCategories__header' => 'string', 'ChildPdCategories.header' => 'string', 'ChildPdCategories__description2' => 'string', 'ChildPdCategories.description2' => 'string', 'ChildPdCategories__active' => 'tinyinteger', 'ChildPdCategories.active' => 'tinyinteger', 'ChildPdCategories__visible' => 'tinyinteger', 'ChildPdCategories.visible' => 'tinyinteger', 'ChildPdCategories__parent_id' => 'integer', 'ChildPdCategories.parent_id' => 'integer', 'ChildPdCategories__lft' => 'integer', 'ChildPdCategories.lft' => 'integer', 'ChildPdCategories__rght' => 'integer', 'ChildPdCategories.rght' => 'integer', 'ChildPdCategories__created' => 'datetime', 'ChildPdCategories.created' => 'datetime', 'ChildPdCategories__modified' => 'datetime', 'ChildPdCategories.modified' => 'datetime', 'ChildPdCategories__slug' => 'string', 'ChildPdCategories.slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ChildPdCategories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdCategoriesTable) {} } $pdTypesMenu = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ ':c0' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdTypes__id' => 'integer', 'PdTypes.id' => 'integer', 'id' => 'integer', 'PdTypes__name' => 'string', 'PdTypes.name' => 'string', 'name' => 'string', 'PdTypes__priority' => 'integer', 'PdTypes.priority' => 'integer', 'priority' => 'integer', 'PdTypes__active' => 'tinyinteger', 'PdTypes.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdTypes__slug' => 'string', 'PdTypes.slug' => 'string', 'slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdTypesTable) {} } $site = 'Sklep.biblioteka.pl' $i = (int) 0include - ROOT/templates/ShProducts/view_poster.php, line 81 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1163 Cake\View\View::_render() - CORE/src/View/View.php, line 1124 Cake\View\View::render() - CORE/src/View/View.php, line 750 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 691 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 533 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 229 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Notice (8): Trying to get property 'description' of non-object [ROOT/templates/ShProducts/view_poster.php, line 81]">Code Context<?php if(!count($product->sh_product_childs)): ?>
<img loading="lazy" class="img-fluid" src="https://tmb.bibliotekawszkole.pl/<?= basename($product->gallery[0]->name) ?>" data-large="https://images.bibliotekawszkole.pl/sh_products/<?= basename($product->gallery[0]->name) ?>" alt="<?= $product->gallery[0]->description ?>">
<?php endif; ?>
$templateFile = '/usr/home/sukurs/domains/portal.biblioteka.pl/public_html/templates/ShProducts/view_poster.php' $dataForView = [ 'choose' => (int) 0, 'product' => object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [[maximum depth reached]], 'sh_products_votes' => [ [maximum depth reached] ], 'tags' => [ [maximum depth reached] ], 'pd_topics' => [ [maximum depth reached] ], 'gallery' => [[maximum depth reached]], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [[maximum depth reached]], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [[maximum depth reached]], 'sh_product_parents' => [ [maximum depth reached] ], 'sh_discounts' => [[maximum depth reached]], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[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]' => 'ShProducts' }, 'tags' => [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ], 'meta_image' => 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'meta_image_height' => (int) 707, 'meta_image_width' => (int) 500, 'similar' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [ [maximum depth reached] ], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\ShProductsTable) {} }, 'activePage' => 'plakaty', 'totalQuantity' => (int) 0, 'isCart' => false, 'endpoint' => 'bws', 'rootMagazineId' => (int) 1, 'questions' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'questionsPortal' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\QuestionsTable) {} }, 'categories' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdCategoriesTable) {} }, 'pdTypesMenu' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [[maximum depth reached]], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\PdTypesTable) {} } ] $choose = (int) 0 $product = object(App\Model\Entity\ShProduct) { 'id' => (int) 735, 'name' => 'Wisła - rzeka', 'invoice_text' => 'Wisła - rzeka (B2-W1578-5-D2)', 'sh_subscription_period_id' => null, 'text' => null, 'text_long' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', 'price' => '11.90', 'price_prv' => '11.90', 'price_distributor' => null, 'price_second' => null, 'sh_product_type_id' => (int) 7, 'magazine_id' => null, 'issue_id' => null, 'sh_addon_id' => null, 'items' => (int) 1, 'created' => object(Cake\I18n\FrozenTime) {}, 'modified' => object(Cake\I18n\FrozenTime) {}, 'slug' => 'Wisla-rzeka', 'product_code' => 'B2-W1578-5-D2', 'sh_shipment_id' => null, 'priority' => (int) 4, 'main_page' => (int) 0, 'main_page_priority' => null, 'active' => (int) 1, 'annotation' => '', 'monthly' => (int) 0, 'image_id' => (int) 82838, 'file_id' => null, 'preorder' => null, 'pd_format_id' => (int) 1, 'pd_main_category_id' => (int) 72, 'stock' => (int) 87, 'seo_description' => '', 'rating' => '5.00', 'article_id' => null, 'reverse_id' => null, 'image' => object(App\Model\Entity\Image) {}, 'replacements' => [], 'sh_products_votes' => [ (int) 0 => object(App\Model\Entity\ShProductsVote) {} ], 'tags' => [ (int) 0 => object(App\Model\Entity\Tag) {}, (int) 1 => object(App\Model\Entity\Tag) {}, (int) 2 => object(App\Model\Entity\Tag) {}, (int) 3 => object(App\Model\Entity\Tag) {}, (int) 4 => object(App\Model\Entity\Tag) {}, (int) 5 => object(App\Model\Entity\Tag) {}, (int) 6 => object(App\Model\Entity\Tag) {}, (int) 7 => object(App\Model\Entity\Tag) {} ], 'pd_topics' => [ (int) 0 => object(Cake\ORM\Entity) {} ], 'gallery' => [], 'pd_format' => object(Cake\ORM\Entity) {}, 'sh_product_type' => object(App\Model\Entity\ShProductType) {}, 'sh_attributes' => [], 'pd_main_category' => object(App\Model\Entity\PdCategory) {}, 'sh_product_childs' => [], 'sh_product_parents' => [ (int) 0 => object(App\Model\Entity\ShProduct) {} ], 'sh_discounts' => [], 'cart' => (int) 0, 'full_cover_xs' => 'f10890f2-584e-4570-a5be-3b28b4d7784cxs.jpg', 'full_cover_sm' => 'f10890f2-584e-4570-a5be-3b28b4d7784csm.jpg', 'full_cover_md' => 'f10890f2-584e-4570-a5be-3b28b4d7784cm.jpg', 'full_cover' => 'f10890f2-584e-4570-a5be-3b28b4d7784c.jpg', 'tara' => 'netto', 'price_brutto_before' => null, 'price_netto_before' => null, 'price_brutto' => '11.90', 'price_netto' => '9.67', 'price_second_netto' => null, 'subscription_details' => false, 'sneak' => '<p>Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.</p> <p> </p> <p> </p>', '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [ 'cart' => true ], '[original]' => [], '[virtual]' => [ (int) 0 => 'full_cover_xs', (int) 1 => 'full_cover_sm', (int) 2 => 'full_cover_md', (int) 3 => 'full_cover', (int) 4 => 'tara', (int) 5 => 'price_brutto_before', (int) 6 => 'price_netto_before', (int) 7 => 'price_brutto', (int) 8 => 'price_netto', (int) 9 => 'price_second_netto', (int) 10 => 'subscription_details', (int) 11 => 'sneak', (int) 12 => 'text' ], '[hasErrors]' => false, '[errors]' => [], '[invalid]' => [], '[repository]' => 'ShProducts' } $tags = [ (int) 1 => 'przyroda', (int) 2 => 'Przyrodnicze', (int) 3 => 'polskie rzeki', (int) 4 => 'geografia', (int) 5 => 'szkoła podstawowa', (int) 6 => 'liceum', (int) 7 => 'szkoła średnia' ] $meta_image = 'https://tmb.bibliotekawszkole.pl/f10890f2-584e-4570-a5be-3b28b4d7784c.jpg' $meta_image_height = (int) 707 $meta_image_width = (int) 500 $similar = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT ShProducts.id AS ShProducts__id, ShProducts.name AS ShProducts__name, ShProducts.price AS ShProducts__price, ShProducts.stock AS ShProducts__stock, ShProducts.active AS ShProducts__active, ShProducts.image_id AS ShProducts__image_id, ShProducts.slug AS ShProducts__slug FROM sh_products ShProducts INNER JOIN sh_products_pd_topics ShProductsPdTopics ON ShProducts.id = (ShProductsPdTopics.sh_product_id) INNER JOIN pd_topics PdTopics ON (PdTopics.name in (:c0) AND PdTopics.id = (ShProductsPdTopics.pd_topic_id)) WHERE (active = :c1 AND stock > :c2 AND ShProducts.id != :c3 AND ShProducts.sh_product_type_id = :c4) GROUP BY ShProducts.id ORDER BY ShProducts.priority desc, ShProducts.sh_product_type_id desc LIMIT 12', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'ShProducts__id' => 'integer', 'ShProducts.id' => 'integer', 'id' => 'integer', 'ShProducts__name' => 'string', 'ShProducts.name' => 'string', 'name' => 'string', 'ShProducts__invoice_text' => 'string', 'ShProducts.invoice_text' => 'string', 'invoice_text' => 'string', 'ShProducts__sh_subscription_period_id' => 'integer', 'ShProducts.sh_subscription_period_id' => 'integer', 'sh_subscription_period_id' => 'integer', 'ShProducts__text' => 'text', 'ShProducts.text' => 'text', 'text' => 'text', 'ShProducts__text_long' => 'text', 'ShProducts.text_long' => 'text', 'text_long' => 'text', 'ShProducts__price' => 'decimal', 'ShProducts.price' => 'decimal', 'price' => 'decimal', 'ShProducts__price_prv' => 'decimal', 'ShProducts.price_prv' => 'decimal', 'price_prv' => 'decimal', 'ShProducts__price_distributor' => 'decimal', 'ShProducts.price_distributor' => 'decimal', 'price_distributor' => 'decimal', 'ShProducts__price_second' => 'decimal', 'ShProducts.price_second' => 'decimal', 'price_second' => 'decimal', 'ShProducts__sh_product_type_id' => 'integer', 'ShProducts.sh_product_type_id' => 'integer', 'sh_product_type_id' => 'integer', 'ShProducts__magazine_id' => 'integer', 'ShProducts.magazine_id' => 'integer', 'magazine_id' => 'integer', 'ShProducts__issue_id' => 'integer', 'ShProducts.issue_id' => 'integer', 'issue_id' => 'integer', 'ShProducts__sh_addon_id' => 'integer', 'ShProducts.sh_addon_id' => 'integer', 'sh_addon_id' => 'integer', 'ShProducts__items' => 'integer', 'ShProducts.items' => 'integer', 'items' => 'integer', 'ShProducts__created' => 'datetime', 'ShProducts.created' => 'datetime', 'created' => 'datetime', 'ShProducts__modified' => 'datetime', 'ShProducts.modified' => 'datetime', 'modified' => 'datetime', 'ShProducts__slug' => 'string', 'ShProducts.slug' => 'string', 'slug' => 'string', 'ShProducts__product_code' => 'string', 'ShProducts.product_code' => 'string', 'product_code' => 'string', 'ShProducts__sh_shipment_id' => 'integer', 'ShProducts.sh_shipment_id' => 'integer', 'sh_shipment_id' => 'integer', 'ShProducts__priority' => 'integer', 'ShProducts.priority' => 'integer', 'priority' => 'integer', 'ShProducts__main_page' => 'integer', 'ShProducts.main_page' => 'integer', 'main_page' => 'integer', 'ShProducts__main_page_priority' => 'integer', 'ShProducts.main_page_priority' => 'integer', 'main_page_priority' => 'integer', 'ShProducts__active' => 'tinyinteger', 'ShProducts.active' => 'tinyinteger', 'active' => 'tinyinteger', 'ShProducts__annotation' => 'string', 'ShProducts.annotation' => 'string', 'annotation' => 'string', 'ShProducts__monthly' => 'tinyinteger', 'ShProducts.monthly' => 'tinyinteger', 'monthly' => 'tinyinteger', 'ShProducts__image_id' => 'integer', 'ShProducts.image_id' => 'integer', 'image_id' => 'integer', 'ShProducts__file_id' => 'integer', 'ShProducts.file_id' => 'integer', 'file_id' => 'integer', 'ShProducts__preorder' => 'datetime', 'ShProducts.preorder' => 'datetime', 'preorder' => 'datetime', 'ShProducts__pd_format_id' => 'integer', 'ShProducts.pd_format_id' => 'integer', 'pd_format_id' => 'integer', 'ShProducts__pd_main_category_id' => 'integer', 'ShProducts.pd_main_category_id' => 'integer', 'pd_main_category_id' => 'integer', 'ShProducts__stock' => 'integer', 'ShProducts.stock' => 'integer', 'stock' => 'integer', 'ShProducts__seo_description' => 'string', 'ShProducts.seo_description' => 'string', 'seo_description' => 'string', 'ShProducts__rating' => 'decimal', 'ShProducts.rating' => 'decimal', 'rating' => 'decimal', 'ShProducts__article_id' => 'integer', 'ShProducts.article_id' => 'integer', 'article_id' => 'integer', 'ShProducts__reverse_id' => 'integer', 'ShProducts.reverse_id' => 'integer', 'reverse_id' => 'integer', 'PdTopics__id' => 'integer', 'PdTopics.id' => 'integer', 'PdTopics__name' => 'string', 'PdTopics.name' => 'string', 'PdTopics__slug' => 'string', 'PdTopics.slug' => 'string', 'ShProductsPdTopics__id' => 'integer', 'ShProductsPdTopics.id' => 'integer', 'ShProductsPdTopics__sh_product_id' => 'integer', 'ShProductsPdTopics.sh_product_id' => 'integer', 'sh_product_id' => 'integer', 'ShProductsPdTopics__pd_topic_id' => 'integer', 'ShProductsPdTopics.pd_topic_id' => 'integer', 'pd_topic_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [ 'PdTopics' => [ [maximum depth reached] ] ], 'extraOptions' => [], 'repository' => object(App\Model\Table\ShProductsTable) {} } $activePage = 'plakaty' $totalQuantity = (int) 0 $isCart = false $endpoint = 'bws' $rootMagazineId = (int) 1 $questions = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.sklep = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $questionsPortal = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Questions.id AS Questions__id, Questions.name AS Questions__name, Questions.title AS Questions__title, Questions.answer AS Questions__answer, Questions.active AS Questions__active, Questions.priority AS Questions__priority, Questions.portal AS Questions__portal, Questions.sklep AS Questions__sklep FROM questions Questions WHERE (active = :c0 AND Questions.portal = :c1) ORDER BY priority desc, id asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Questions__id' => 'integer', 'Questions.id' => 'integer', 'id' => 'integer', 'Questions__name' => 'string', 'Questions.name' => 'string', 'name' => 'string', 'Questions__title' => 'string', 'Questions.title' => 'string', 'title' => 'string', 'Questions__answer' => 'text', 'Questions.answer' => 'text', 'answer' => 'text', 'Questions__active' => 'tinyinteger', 'Questions.active' => 'tinyinteger', 'active' => 'tinyinteger', 'Questions__priority' => 'integer', 'Questions.priority' => 'integer', 'priority' => 'integer', 'Questions__portal' => 'integer', 'Questions.portal' => 'integer', 'portal' => 'integer', 'Questions__sklep' => 'integer', 'Questions.sklep' => 'integer', 'sklep' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 1, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\QuestionsTable) {} } $categories = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdCategories.id AS PdCategories__id, PdCategories.name AS PdCategories__name, PdCategories.description AS PdCategories__description, PdCategories.header AS PdCategories__header, PdCategories.description2 AS PdCategories__description2, PdCategories.active AS PdCategories__active, PdCategories.visible AS PdCategories__visible, PdCategories.parent_id AS PdCategories__parent_id, PdCategories.lft AS PdCategories__lft, PdCategories.rght AS PdCategories__rght, PdCategories.created AS PdCategories__created, PdCategories.modified AS PdCategories__modified, PdCategories.slug AS PdCategories__slug FROM pd_categories PdCategories WHERE (active = :c0 AND name != :c1 AND (parent_id) IS NULL) ORDER BY lft asc', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdCategories__id' => 'integer', 'PdCategories.id' => 'integer', 'id' => 'integer', 'PdCategories__name' => 'string', 'PdCategories.name' => 'string', 'name' => 'string', 'PdCategories__description' => 'string', 'PdCategories.description' => 'string', 'description' => 'string', 'PdCategories__header' => 'string', 'PdCategories.header' => 'string', 'header' => 'string', 'PdCategories__description2' => 'string', 'PdCategories.description2' => 'string', 'description2' => 'string', 'PdCategories__active' => 'tinyinteger', 'PdCategories.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdCategories__visible' => 'tinyinteger', 'PdCategories.visible' => 'tinyinteger', 'visible' => 'tinyinteger', 'PdCategories__parent_id' => 'integer', 'PdCategories.parent_id' => 'integer', 'parent_id' => 'integer', 'PdCategories__lft' => 'integer', 'PdCategories.lft' => 'integer', 'lft' => 'integer', 'PdCategories__rght' => 'integer', 'PdCategories.rght' => 'integer', 'rght' => 'integer', 'PdCategories__created' => 'datetime', 'PdCategories.created' => 'datetime', 'created' => 'datetime', 'PdCategories__modified' => 'datetime', 'PdCategories.modified' => 'datetime', 'modified' => 'datetime', 'PdCategories__slug' => 'string', 'PdCategories.slug' => 'string', 'slug' => 'string', 'ChildPdCategories__id' => 'integer', 'ChildPdCategories.id' => 'integer', 'ChildPdCategories__name' => 'string', 'ChildPdCategories.name' => 'string', 'ChildPdCategories__description' => 'string', 'ChildPdCategories.description' => 'string', 'ChildPdCategories__header' => 'string', 'ChildPdCategories.header' => 'string', 'ChildPdCategories__description2' => 'string', 'ChildPdCategories.description2' => 'string', 'ChildPdCategories__active' => 'tinyinteger', 'ChildPdCategories.active' => 'tinyinteger', 'ChildPdCategories__visible' => 'tinyinteger', 'ChildPdCategories.visible' => 'tinyinteger', 'ChildPdCategories__parent_id' => 'integer', 'ChildPdCategories.parent_id' => 'integer', 'ChildPdCategories__lft' => 'integer', 'ChildPdCategories.lft' => 'integer', 'ChildPdCategories__rght' => 'integer', 'ChildPdCategories.rght' => 'integer', 'ChildPdCategories__created' => 'datetime', 'ChildPdCategories.created' => 'datetime', 'ChildPdCategories__modified' => 'datetime', 'ChildPdCategories.modified' => 'datetime', 'ChildPdCategories__slug' => 'string', 'ChildPdCategories.slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ChildPdCategories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdCategoriesTable) {} } $pdTypesMenu = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT PdTypes.id AS PdTypes__id, PdTypes.name AS PdTypes__name, PdTypes.priority AS PdTypes__priority, PdTypes.active AS PdTypes__active, PdTypes.slug AS PdTypes__slug FROM pd_types PdTypes WHERE active = :c0 ORDER BY PdTypes.priority asc', 'params' => [ ':c0' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'PdTypes__id' => 'integer', 'PdTypes.id' => 'integer', 'id' => 'integer', 'PdTypes__name' => 'string', 'PdTypes.name' => 'string', 'name' => 'string', 'PdTypes__priority' => 'integer', 'PdTypes.priority' => 'integer', 'priority' => 'integer', 'PdTypes__active' => 'tinyinteger', 'PdTypes.active' => 'tinyinteger', 'active' => 'tinyinteger', 'PdTypes__slug' => 'string', 'PdTypes.slug' => 'string', 'slug' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\PdTypesTable) {} } $site = 'Sklep.biblioteka.pl' $i = (int) 0include - ROOT/templates/ShProducts/view_poster.php, line 81 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1163 Cake\View\View::_render() - CORE/src/View/View.php, line 1124 Cake\View\View::render() - CORE/src/View/View.php, line 750 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 691 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 533 Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79 Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 229 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77 Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 124 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73 Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68 Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Plakat
Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.
11,90 zł
{{formatPrice(product.price_brutto)}} {{formatPrice(product.price_brutto_before)}}
Produkt niedostępny
Plakat dydaktyczny przedstawiający informacje na temat rzeki Wisły - jej dopływów, biegu i statystyk.
Ponad 8000
zadowolonych szkół, bibliotek, instytucji i prywatnych klientów{{formatPrice(product.price_brutto)}} {{formatPrice(product.price_brutto_before)}}
Produkt niedostępny
Szkołom i instytucjom wystawiamy fakturę VAT z 14-dniowym terminem płatności. Formularz jest przystosowany do podania danych nabywcy i odbiorcy.
Szkoły i instytucje mogą zrezygnować w każdym momencie prenumeraty i otrzymać proporcjonalny zwrot środków
Jeżeli reprezentujesz instytucję i masz specjalne życzenia dotyczące terminu płatności, skontaktuj się