«
»
Sorry, there were no current results in this market.
Notice (8): Undefined offset: 0 [APP/Controller/MarketplaceController.php, line 217]Code Context[$typeId]
);
$itemName = $details[0]['Type']['name'];
$typeId = '1720' $title = 'Eatdrink Magazine' $limit = (int) 20 $page = '1' $items = array() $itemCount = '0' $pageCount = (float) 0 $db = object(Mysql) { description => 'MySQL DBO Driver' startQuote => '`' endQuote => '`' fieldParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'comment' => array( [maximum depth reached] ) ) tableParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'engine' => array( [maximum depth reached] ) ) columns => array( 'primary_key' => array( [maximum depth reached] ), 'string' => array( [maximum depth reached] ), 'text' => array( [maximum depth reached] ), 'biginteger' => array( [maximum depth reached] ), 'integer' => array( [maximum depth reached] ), 'float' => array( [maximum depth reached] ), 'datetime' => array( [maximum depth reached] ), 'timestamp' => array( [maximum depth reached] ), 'time' => array( [maximum depth reached] ), 'date' => array( [maximum depth reached] ), 'binary' => array( [maximum depth reached] ), 'boolean' => array( [maximum depth reached] ) ) index => array( 'PRI' => 'primary', 'MUL' => 'index', 'UNI' => 'unique' ) alias => 'AS ' cacheMethods => true useNestedTransactions => false fullDebug => false affected => null numRows => null took => null configKeyName => 'default' virtualFieldSeparator => '__' connected => true config => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'persistent' => true, 'datasource' => 'Database/Mysql' ) cacheSources => true map => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) [protected] _baseConfig => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'persistent' => true ) [protected] _connection => object(PDO) {} [protected] _useAlias => true [protected] _charsets => array() [protected] _result => object(PDOStatement) {} [protected] _queriesCnt => (int) 0 [protected] _queriesTime => null [protected] _queriesLog => array() [protected] _queriesLogMax => (int) 200 [protected] _queryCache => array( 'SELECT Category.id, Category.name, Category.slug, SUM(Item.item_count) AS total FROM categories AS Category INNER JOIN categories_types ON (categories_types.category_id = Category.id) INNER JOIN (SELECT COUNT(DISTINCT Product.id) AS item_count, pt.type_id FROM products AS Product INNER JOIN products_types AS pt ON (pt.product_id = Product.id) INNER JOIN products_profiles AS Market ON (Market.product_id = Product.id) WHERE Product.status = 1 AND Market.profile_id = :profile GROUP BY pt.type_id) AS Item ON (Item.type_id = categories_types.type_id) WHERE Category.id <> 50273 GROUP BY Category.id, Category.name ORDER BY total DESC LIMIT 10' => array( [maximum depth reached] ), 'SELECT * FROM( SELECT Product.id, Product.title, 'Product' AS type, Product.image, Product.price, ProductOwnerProfile.id AS advertiser_id, ProductOwnerProfile.title AS advertiser_name FROM products AS Product LEFT JOIN profiles AS ProductUploaderProfile ON (Product.uploader_id = ProductUploaderProfile.id) LEFT JOIN profiles AS ProductOwnerProfile ON (Product.owner_id = ProductOwnerProfile.id) INNER JOIN products_types AS ProductsType ON ( Product.id = ProductsType.product_id AND ProductsType.type_id = :type_id ) INNER JOIN products_profiles AS Market ON (Market.profile_id = :profile and Market.product_id = Product.id) WHERE Product.status = 1 AND Product.owner_id!=0 GROUP BY Product.id ) as Item LIMIT 0,20' => array( [maximum depth reached] ), 'SELECT count(*) AS item_count FROM( SELECT Product.id, Product.title, 'Product' AS type, Product.image, Product.price, ProductOwnerProfile.id AS advertiser_id, ProductOwnerProfile.title AS advertiser_name FROM products AS Product LEFT JOIN profiles AS ProductUploaderProfile ON (Product.uploader_id = ProductUploaderProfile.id) LEFT JOIN profiles AS ProductOwnerProfile ON (Product.owner_id = ProductOwnerProfile.id) INNER JOIN products_types AS ProductsType ON ( Product.id = ProductsType.product_id AND ProductsType.type_id = :type_id ) INNER JOIN products_profiles AS Market ON (Market.profile_id = :profile and Market.product_id = Product.id) WHERE Product.status = 1 AND Product.owner_id!=0 GROUP BY Product.id ) as Item' => array( [maximum depth reached] ), ' SELECT Type.name, Category.id FROM types as Type JOIN categories_types on type_id = Type.id JOIN categories as Category on Category.id = category_id WHERE Type.id = ? limit 1' => array( [maximum depth reached] ) ) [protected] _sqlOps => array( (int) 0 => 'like', (int) 1 => 'ilike', (int) 2 => 'or', (int) 3 => 'not', (int) 4 => 'in', (int) 5 => 'between', (int) 6 => 'regexp', (int) 7 => 'similar to' ) [protected] _transactionNesting => (int) 0 [protected] _queryDefaults => array( 'conditions' => array([maximum depth reached]), 'fields' => null, 'table' => null, 'alias' => null, 'order' => null, 'limit' => null, 'joins' => array([maximum depth reached]), 'group' => null, 'offset' => null ) [protected] _methodCacheChange => false [protected] _descriptions => array( 'c0gofurb.profiles' => array( [maximum depth reached] ), 'c0gofurb.types' => array( [maximum depth reached] ), 'c0gofurb.contacts' => array( [maximum depth reached] ) ) [protected] _sources => array( (int) 0 => 'addresses', (int) 1 => 'ads', (int) 2 => 'ads_deals', (int) 3 => 'ads_fulltexts', (int) 4 => 'ads_profiles_zones', (int) 5 => 'ads_types', (int) 6 => 'advertiser_contents', (int) 7 => 'archetypes', (int) 8 => 'attributes', (int) 9 => 'categories', (int) 10 => 'categories_types', (int) 11 => 'clicktocall_campaigns', (int) 12 => 'contacts', (int) 13 => 'cpv_packages', (int) 14 => 'customers', (int) 15 => 'customers_invoices', (int) 16 => 'deals', (int) 17 => 'deals_fulltexts', (int) 18 => 'deals_profiles_zones', (int) 19 => 'deals_types', (int) 20 => 'groups', (int) 21 => 'groups_profiles_zones', (int) 22 => 'invoices', (int) 23 => 'invoices_ads', (int) 24 => 'invoices_products', (int) 25 => 'migrations', (int) 26 => 'modules', (int) 27 => 'modules_profiles', (int) 28 => 'oauth_access_token_scopes', (int) 29 => 'oauth_access_tokens', (int) 30 => 'oauth_auth_code_scopes', (int) 31 => 'oauth_auth_codes', (int) 32 => 'oauth_client_endpoints', (int) 33 => 'oauth_client_grants', (int) 34 => 'oauth_client_scopes', (int) 35 => 'oauth_clients', (int) 36 => 'oauth_grant_scopes', (int) 37 => 'oauth_grants', (int) 38 => 'oauth_refresh_tokens', (int) 39 => 'oauth_scopes', (int) 40 => 'oauth_session_scopes', (int) 41 => 'oauth_sessions', (int) 42 => 'prices', (int) 43 => 'products', (int) 44 => 'products_fulltexts', (int) 45 => 'products_profiles', (int) 46 => 'products_profiles_zones', (int) 47 => 'products_types', (int) 48 => 'profile_sigs', (int) 49 => 'profiles', (int) 50 => 'profiles_fulltexts', (int) 51 => 'profiles_profiles_zones', (int) 52 => 'profiles_transactions', (int) 53 => 'profiles_types', (int) 54 => 'profiles_users', (int) 55 => 'profiles_zones', (int) 56 => 'referers', (int) 57 => 'tempreferers', (int) 58 => 'transactions', (int) 59 => 'types', (int) 60 => 'users', (int) 61 => 'views', (int) 62 => 'zone_types', (int) 63 => 'zones' ) [protected] _transactionStarted => false } $details = array()MarketplaceController::itemsByType() - APP/Controller/MarketplaceController.php, line 217 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 92
Notice (8): Undefined offset: 0 [APP/Controller/MarketplaceController.php, line 218]Code Context);
$itemName = $details[0]['Type']['name'];
$cat_id = $details[0]['Category']['id'];
$typeId = '1720' $title = 'Eatdrink Magazine' $limit = (int) 20 $page = '1' $items = array() $itemCount = '0' $pageCount = (float) 0 $db = object(Mysql) { description => 'MySQL DBO Driver' startQuote => '`' endQuote => '`' fieldParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'comment' => array( [maximum depth reached] ) ) tableParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'engine' => array( [maximum depth reached] ) ) columns => array( 'primary_key' => array( [maximum depth reached] ), 'string' => array( [maximum depth reached] ), 'text' => array( [maximum depth reached] ), 'biginteger' => array( [maximum depth reached] ), 'integer' => array( [maximum depth reached] ), 'float' => array( [maximum depth reached] ), 'datetime' => array( [maximum depth reached] ), 'timestamp' => array( [maximum depth reached] ), 'time' => array( [maximum depth reached] ), 'date' => array( [maximum depth reached] ), 'binary' => array( [maximum depth reached] ), 'boolean' => array( [maximum depth reached] ) ) index => array( 'PRI' => 'primary', 'MUL' => 'index', 'UNI' => 'unique' ) alias => 'AS ' cacheMethods => true useNestedTransactions => false fullDebug => false affected => null numRows => null took => null configKeyName => 'default' virtualFieldSeparator => '__' connected => true config => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'persistent' => true, 'datasource' => 'Database/Mysql' ) cacheSources => true map => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) [protected] _baseConfig => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'persistent' => true ) [protected] _connection => object(PDO) {} [protected] _useAlias => true [protected] _charsets => array() [protected] _result => object(PDOStatement) {} [protected] _queriesCnt => (int) 0 [protected] _queriesTime => null [protected] _queriesLog => array() [protected] _queriesLogMax => (int) 200 [protected] _queryCache => array( 'SELECT Category.id, Category.name, Category.slug, SUM(Item.item_count) AS total FROM categories AS Category INNER JOIN categories_types ON (categories_types.category_id = Category.id) INNER JOIN (SELECT COUNT(DISTINCT Product.id) AS item_count, pt.type_id FROM products AS Product INNER JOIN products_types AS pt ON (pt.product_id = Product.id) INNER JOIN products_profiles AS Market ON (Market.product_id = Product.id) WHERE Product.status = 1 AND Market.profile_id = :profile GROUP BY pt.type_id) AS Item ON (Item.type_id = categories_types.type_id) WHERE Category.id <> 50273 GROUP BY Category.id, Category.name ORDER BY total DESC LIMIT 10' => array( [maximum depth reached] ), 'SELECT * FROM( SELECT Product.id, Product.title, 'Product' AS type, Product.image, Product.price, ProductOwnerProfile.id AS advertiser_id, ProductOwnerProfile.title AS advertiser_name FROM products AS Product LEFT JOIN profiles AS ProductUploaderProfile ON (Product.uploader_id = ProductUploaderProfile.id) LEFT JOIN profiles AS ProductOwnerProfile ON (Product.owner_id = ProductOwnerProfile.id) INNER JOIN products_types AS ProductsType ON ( Product.id = ProductsType.product_id AND ProductsType.type_id = :type_id ) INNER JOIN products_profiles AS Market ON (Market.profile_id = :profile and Market.product_id = Product.id) WHERE Product.status = 1 AND Product.owner_id!=0 GROUP BY Product.id ) as Item LIMIT 0,20' => array( [maximum depth reached] ), 'SELECT count(*) AS item_count FROM( SELECT Product.id, Product.title, 'Product' AS type, Product.image, Product.price, ProductOwnerProfile.id AS advertiser_id, ProductOwnerProfile.title AS advertiser_name FROM products AS Product LEFT JOIN profiles AS ProductUploaderProfile ON (Product.uploader_id = ProductUploaderProfile.id) LEFT JOIN profiles AS ProductOwnerProfile ON (Product.owner_id = ProductOwnerProfile.id) INNER JOIN products_types AS ProductsType ON ( Product.id = ProductsType.product_id AND ProductsType.type_id = :type_id ) INNER JOIN products_profiles AS Market ON (Market.profile_id = :profile and Market.product_id = Product.id) WHERE Product.status = 1 AND Product.owner_id!=0 GROUP BY Product.id ) as Item' => array( [maximum depth reached] ), ' SELECT Type.name, Category.id FROM types as Type JOIN categories_types on type_id = Type.id JOIN categories as Category on Category.id = category_id WHERE Type.id = ? limit 1' => array( [maximum depth reached] ) ) [protected] _sqlOps => array( (int) 0 => 'like', (int) 1 => 'ilike', (int) 2 => 'or', (int) 3 => 'not', (int) 4 => 'in', (int) 5 => 'between', (int) 6 => 'regexp', (int) 7 => 'similar to' ) [protected] _transactionNesting => (int) 0 [protected] _queryDefaults => array( 'conditions' => array([maximum depth reached]), 'fields' => null, 'table' => null, 'alias' => null, 'order' => null, 'limit' => null, 'joins' => array([maximum depth reached]), 'group' => null, 'offset' => null ) [protected] _methodCacheChange => false [protected] _descriptions => array( 'c0gofurb.profiles' => array( [maximum depth reached] ), 'c0gofurb.types' => array( [maximum depth reached] ), 'c0gofurb.contacts' => array( [maximum depth reached] ) ) [protected] _sources => array( (int) 0 => 'addresses', (int) 1 => 'ads', (int) 2 => 'ads_deals', (int) 3 => 'ads_fulltexts', (int) 4 => 'ads_profiles_zones', (int) 5 => 'ads_types', (int) 6 => 'advertiser_contents', (int) 7 => 'archetypes', (int) 8 => 'attributes', (int) 9 => 'categories', (int) 10 => 'categories_types', (int) 11 => 'clicktocall_campaigns', (int) 12 => 'contacts', (int) 13 => 'cpv_packages', (int) 14 => 'customers', (int) 15 => 'customers_invoices', (int) 16 => 'deals', (int) 17 => 'deals_fulltexts', (int) 18 => 'deals_profiles_zones', (int) 19 => 'deals_types', (int) 20 => 'groups', (int) 21 => 'groups_profiles_zones', (int) 22 => 'invoices', (int) 23 => 'invoices_ads', (int) 24 => 'invoices_products', (int) 25 => 'migrations', (int) 26 => 'modules', (int) 27 => 'modules_profiles', (int) 28 => 'oauth_access_token_scopes', (int) 29 => 'oauth_access_tokens', (int) 30 => 'oauth_auth_code_scopes', (int) 31 => 'oauth_auth_codes', (int) 32 => 'oauth_client_endpoints', (int) 33 => 'oauth_client_grants', (int) 34 => 'oauth_client_scopes', (int) 35 => 'oauth_clients', (int) 36 => 'oauth_grant_scopes', (int) 37 => 'oauth_grants', (int) 38 => 'oauth_refresh_tokens', (int) 39 => 'oauth_scopes', (int) 40 => 'oauth_session_scopes', (int) 41 => 'oauth_sessions', (int) 42 => 'prices', (int) 43 => 'products', (int) 44 => 'products_fulltexts', (int) 45 => 'products_profiles', (int) 46 => 'products_profiles_zones', (int) 47 => 'products_types', (int) 48 => 'profile_sigs', (int) 49 => 'profiles', (int) 50 => 'profiles_fulltexts', (int) 51 => 'profiles_profiles_zones', (int) 52 => 'profiles_transactions', (int) 53 => 'profiles_types', (int) 54 => 'profiles_users', (int) 55 => 'profiles_zones', (int) 56 => 'referers', (int) 57 => 'tempreferers', (int) 58 => 'transactions', (int) 59 => 'types', (int) 60 => 'users', (int) 61 => 'views', (int) 62 => 'zone_types', (int) 63 => 'zones' ) [protected] _transactionStarted => false } $details = array() $itemName = nullMarketplaceController::itemsByType() - APP/Controller/MarketplaceController.php, line 218 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 92
Warning (2): Cannot modify header information - headers already sent by (output started at /home/deploy/releases/1470159164/lib/Cake/Utility/Debugger.php:804) [APP/View/Layouts/marketplace.ctp, line 1]Code Context
<?php header('Content-Type:text/html; charset=UTF-8'); ?>
$viewFile = '/home/deploy/releases/1470159164/app/View/Layouts/marketplace.ctp' $dataForView = array( 'paginator' => object(SLN\Query\Paginator) { [private] total => '0' [private] request => object(CakeRequest) {} [private] show => (int) 20 }, 'items' => array(), 'itemCount' => '0', 'pageCount' => (float) 0, 'page' => '1', 'itemName' => null, 'cat_id' => null, 'title_for_layout' => 'Eatdrink Magazine : ', 'popularCategories' => array(), 'banner' => '/files/profile/banner/banner_190578.jpg', 'marketplaceProfile' => object(SLN\Accounts\Profile) { timestamps => true [protected] attributes => array( [maximum depth reached] ) [protected] original => array([maximum depth reached]) [protected] changes => array([maximum depth reached]) [protected] casts => array([maximum depth reached]) [protected] dates => array([maximum depth reached]) [protected] dateFormat => null [protected] appends => array([maximum depth reached]) [protected] mutatorCache => array([maximum depth reached]) }, 'metaDescription' => '<p>Eatdrink serves the community of London, Stratford and area with entertaining and enlightening news, views and stories about the finer aspects of eating and drinking. Our tightly focused magazine is published monthly in order to stay fresh, current to the season and timely with news. Our frequency also enables us to profile more of the exciting businesses and vibrant personalities that populate our region, print more wonderful recipes, recommend more great products and share more great stories.</p>', 'content_for_layout' => '<div id="ads_list" class="box"> <div class="header"> <h2 class="title">0 Results </h2> <div class="item-toggle"> <a id="listview" class="basic-btn active" href="#list"> <span aria-hidden="true" data-icon=""></span> <span class="hide-text">List</span> </a> <a id="gridview" class="basic-btn" href="#grid"> <span aria-hidden="true" data-icon=""></span> <span class="hide-text">Grid</span> </a> </div> </div> <section id="items" class="box items list group" data-behavior="scroll"> <div class="paginator"> <span class="prev disabled">«</span> <span class="next"><a href="/marketplace/itemsByType/1720/directory?page=2" rel="next">»</a></span> </div> <div id="empty-market" class="empty" data-market="shoplocalnow.ca" data-query="/marketplace/itemsByType/1720/directory?page=1" data-post="POST" data-field="" data-category="" > <p>Sorry, there were no current results in this market.</p> </div> </section> </div> ', 'scripts_for_layout' => '<script type="text/javascript" src="/js/empty-market.js"></script>' ) $paginator = object(SLN\Query\Paginator) { [private] total => '0' [private] request => object(CakeRequest) {} [private] show => (int) 20 } $items = array() $itemCount = '0' $pageCount = (float) 0 $page = '1' $itemName = null $cat_id = null $title_for_layout = 'Eatdrink Magazine : ' $popularCategories = array() $banner = '/files/profile/banner/banner_190578.jpg' $marketplaceProfile = object(SLN\Accounts\Profile) { timestamps => true [protected] attributes => array( 'id' => '190578', 'type' => 'Mediapartner', 'identifier' => 'eatdrink', 'alias' => 'localnews.eatdrink.ca', 'wikidomo_id' => null, 'title' => 'Eatdrink Magazine', 'description' => '<p>Eatdrink serves the community of London, Stratford and area with entertaining and enlightening news, views and stories about the finer aspects of eating and drinking. Our tightly focused magazine is published monthly in order to stay fresh, current to the season and timely with news. Our frequency also enables us to profile more of the exciting businesses and vibrant personalities that populate our region, print more wonderful recipes, recommend more great products and share more great stories.</p>', 'latitude' => '', 'longitude' => '', 'logo' => 'logo_190578.png', 'banner' => 'banner_190578.jpg', 'website_link_text' => '', 'website_url' => 'http://eatdrink.ca', 'facebook_url' => '', 'twitter_url' => '', 'custom_html' => '<style> #nav .deals, #nav .ads {display: none; } </style>', 'use_custom_menu' => false, 'menu' => null, 'propay_id' => null, 'percentage_share' => null, 'amount_share' => null, 'viafoura_enabled' => true, 'created' => '2012-03-02 15:46:59', 'modified' => '2018-04-05 00:26:55', 'status' => '1', 'primary_zone' => '', 'use_gofurb' => false, 'zone_identifier' => null, 'zone' => (int) 1 ) [protected] original => array() [protected] changes => array() [protected] casts => array() [protected] dates => array() [protected] dateFormat => null [protected] appends => array() [protected] mutatorCache => array() } $metaDescription = '<p>Eatdrink serves the community of London, Stratford and area with entertaining and enlightening news, views and stories about the finer aspects of eating and drinking. Our tightly focused magazine is published monthly in order to stay fresh, current to the season and timely with news. Our frequency also enables us to profile more of the exciting businesses and vibrant personalities that populate our region, print more wonderful recipes, recommend more great products and share more great stories.</p>' $content_for_layout = '<div id="ads_list" class="box"> <div class="header"> <h2 class="title">0 Results </h2> <div class="item-toggle"> <a id="listview" class="basic-btn active" href="#list"> <span aria-hidden="true" data-icon=""></span> <span class="hide-text">List</span> </a> <a id="gridview" class="basic-btn" href="#grid"> <span aria-hidden="true" data-icon=""></span> <span class="hide-text">Grid</span> </a> </div> </div> <section id="items" class="box items list group" data-behavior="scroll"> <div class="paginator"> <span class="prev disabled">«</span> <span class="next"><a href="/marketplace/itemsByType/1720/directory?page=2" rel="next">»</a></span> </div> <div id="empty-market" class="empty" data-market="shoplocalnow.ca" data-query="/marketplace/itemsByType/1720/directory?page=1" data-post="POST" data-field="" data-category="" > <p>Sorry, there were no current results in this market.</p> </div> </section> </div> ' $scripts_for_layout = '<script type="text/javascript" src="/js/empty-market.js"></script>'header - [internal], line ?? include - APP/View/Layouts/marketplace.ctp, line 1 View::_evaluate() - CORE/Cake/View/View.php, line 931 View::_render() - CORE/Cake/View/View.php, line 893 View::renderLayout() - CORE/Cake/View/View.php, line 525 View::render() - CORE/Cake/View/View.php, line 470 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 MarketplaceController::itemsByType() - APP/Controller/MarketplaceController.php, line 227 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 92