Notice (8): Undefined offset: 0 [APP/Controller/AppController.php, line 172]Code Context //$select_city = $addrDetailsArr['geoplugin_city'];
$country_id = $this->Tbl_countries->query("select country_id from tbl_countries where country_name = '" .$country_name . "' LIMIT 1");
$select_country = $country_id[0]['tbl_countries']['country_id'];
$mosicsStatus = array(
'Mosaic' => array(
'id' => '4',
'size' => '50x50',
'status' => '1'
)
)
$b_cookies_style = 'block'
$number_of_days = (int) 30
$date_of_expiry = (int) 1578801120
$value = 'baksite'
$activation = array(
'MosaicActivation' => array(
'id' => '1',
'activation' => '1'
)
)
$singleNotification = array()
$countryflag = ''
$country_name = 'United States'
$city = ''
$country_url = ''
$time_zone = ''
$cities = array()
$city_information = array()
$ip_ary = array()
$url = array(
(int) 0 => 'markets',
(int) 1 => 'login_market'
)
$worldHeaderGroupId = '6'
$worldFooterGroupId = '7'
$headerconditions = array(
'AND' => array(
(int) 0 => array(
'Admin_menu.group_id' => '6'
),
(int) 1 => array(
'Admin_menu.status' => '1'
)
)
)
$world_header_menu = array(
(int) 0 => array(
'Admin_menu' => array(
'id' => '24',
'menu_name' => 'Home',
'menu_url' => 'http://www.bakoos.com/local/',
'menu_location' => '1',
'menu_parent' => '',
'status' => true,
'group_id' => '6',
'created_date' => '2014-07-23 15:07:19'
)
),
(int) 1 => array(
'Admin_menu' => array(
'id' => '27',
'menu_name' => 'Help',
'menu_url' => '#',
'menu_location' => '4',
'menu_parent' => '',
'status' => true,
'group_id' => '6',
'created_date' => '2014-07-23 16:07:11'
)
),
(int) 2 => array(
'Admin_menu' => array(
'id' => '28',
'menu_name' => 'Countries',
'menu_url' => 'http://www.bakoos.com/local/locations/countries_list/',
'menu_location' => '5',
'menu_parent' => '',
'status' => true,
'group_id' => '6',
'created_date' => '2014-07-23 16:07:48'
)
),
(int) 3 => array(
'Admin_menu' => array(
'id' => '25',
'menu_name' => 'FAQs',
'menu_url' => 'http://www.bakoos.com/dashboards/faqs',
'menu_location' => '6',
'menu_parent' => '',
'status' => true,
'group_id' => '6',
'created_date' => '2014-07-23 15:07:22'
)
)
)
$in_arr = array(
(int) 0 => '27'
)
$submenuFlag = array(
'Admin_menu' => array(
'id' => '25',
'menu_name' => 'FAQs',
'menu_url' => 'http://www.bakoos.com/dashboards/faqs',
'menu_location' => '6',
'menu_parent' => '',
'status' => true,
'group_id' => '6',
'created_date' => '2014-07-23 15:07:22'
)
)
$header_submenu_conditions = array(
'AND' => array(
(int) 0 => array(
'Admin_sub_menu.menu_parent' => '25'
),
(int) 1 => array(
'Admin_sub_menu.status' => '1'
)
)
)
$world_header_submenu = array()
$header_submenu = array(
(int) 0 => array(
(int) 0 => array(
'Admin_sub_menu' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Admin_sub_menu' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Admin_sub_menu' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Admin_sub_menu' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'Admin_sub_menu' => array(
[maximum depth reached]
)
)
)
)
$footerconditions = array(
'AND' => array(
(int) 0 => array(
'Admin_menu.group_id' => '7'
),
(int) 1 => array(
'Admin_menu.status' => '1'
)
)
)
$world_footer_menu = array(
(int) 0 => array(
'Admin_menu' => array(
'id' => '29',
'menu_name' => 'Home',
'menu_url' => 'http://www.bakoos.com/local/',
'menu_location' => '1',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:42'
)
),
(int) 1 => array(
'Admin_menu' => array(
'id' => '30',
'menu_name' => 'How it Works',
'menu_url' => 'http://www.bakoos.com/dashboards/how_it_works/',
'menu_location' => '2',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:30'
)
),
(int) 2 => array(
'Admin_menu' => array(
'id' => '31',
'menu_name' => 'World Site',
'menu_url' => 'http://www.bakoos.com/',
'menu_location' => '3',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:24'
)
),
(int) 3 => array(
'Admin_menu' => array(
'id' => '32',
'menu_name' => 'FAQs',
'menu_url' => 'http://www.bakoos.com/dashboards/faqs',
'menu_location' => '4',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:07'
)
),
(int) 4 => array(
'Admin_menu' => array(
'id' => '33',
'menu_name' => 'Countries',
'menu_url' => 'http://www.bakoos.com/local/locations/countries_list/',
'menu_location' => '5',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:58'
)
),
(int) 5 => array(
'Admin_menu' => array(
'id' => '34',
'menu_name' => 'Contact Us',
'menu_url' => 'http://www.bakoos.com/local/dashboards/contact_us/',
'menu_location' => '6',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:19'
)
)
)
$select_country = (int) 0
$select_city = (int) 0
$ip_address = '18.207.255.49'
$geopluginURL = 'http://www.geoplugin.net/php.gp?ip=18.207.255.49'
$http_response_header = array(
(int) 0 => 'HTTP/1.1 200 OK',
(int) 1 => 'Date: Fri, 13 Dec 2019 03:52:01 GMT',
(int) 2 => 'Content-Type: text/plain; charset=utf-8',
(int) 3 => 'Content-Length: 1109',
(int) 4 => 'Connection: close',
(int) 5 => 'Server: Apache',
(int) 6 => 'Access-Control-Allow-Origin: *'
)
$addrDetailsArr = array(
'geoplugin_request' => '18.207.255.49',
'geoplugin_status' => (int) 200,
'geoplugin_delay' => '2ms',
'geoplugin_credit' => 'Some of the returned data includes GeoLite data created by MaxMind, available from <a href=\'http://www.maxmind.com\'>http://www.maxmind.com</a>.',
'geoplugin_city' => 'Ashburn',
'geoplugin_region' => 'Virginia',
'geoplugin_regionCode' => 'VA',
'geoplugin_regionName' => 'Virginia',
'geoplugin_areaCode' => '',
'geoplugin_dmaCode' => '511',
'geoplugin_countryCode' => 'US',
'geoplugin_countryName' => 'United States',
'geoplugin_inEU' => (int) 0,
'geoplugin_euVATrate' => false,
'geoplugin_continentCode' => 'NA',
'geoplugin_continentName' => 'North America',
'geoplugin_latitude' => '39.0481',
'geoplugin_longitude' => '-77.4728',
'geoplugin_locationAccuracyRadius' => '1000',
'geoplugin_timezone' => 'America/New_York',
'geoplugin_currencyCode' => 'USD',
'geoplugin_currencySymbol' => '$',
'geoplugin_currencySymbol_UTF8' => '$',
'geoplugin_currencyConverter' => '1'
)
$country_id = array()
AppController::beforeFilter() - APP/Controller/AppController.php, line 172
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 247
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 182
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108
Notice (8): Undefined offset: 0 [APP/Controller/AppController.php, line 179]Code Context $i = rand(0,$citycount);
//echo $i;
$select_city = $all_cities[$i]['prm_id'];
$mosicsStatus = array(
'Mosaic' => array(
'id' => '4',
'size' => '50x50',
'status' => '1'
)
)
$b_cookies_style = 'block'
$number_of_days = (int) 30
$date_of_expiry = (int) 1578801120
$value = 'baksite'
$activation = array(
'MosaicActivation' => array(
'id' => '1',
'activation' => '1'
)
)
$singleNotification = array()
$countryflag = ''
$country_name = 'United States'
$city = ''
$country_url = ''
$time_zone = ''
$cities = array()
$city_information = array()
$ip_ary = array()
$url = array(
(int) 0 => 'markets',
(int) 1 => 'login_market'
)
$worldHeaderGroupId = '6'
$worldFooterGroupId = '7'
$headerconditions = array(
'AND' => array(
(int) 0 => array(
'Admin_menu.group_id' => '6'
),
(int) 1 => array(
'Admin_menu.status' => '1'
)
)
)
$world_header_menu = array(
(int) 0 => array(
'Admin_menu' => array(
'id' => '24',
'menu_name' => 'Home',
'menu_url' => 'http://www.bakoos.com/local/',
'menu_location' => '1',
'menu_parent' => '',
'status' => true,
'group_id' => '6',
'created_date' => '2014-07-23 15:07:19'
)
),
(int) 1 => array(
'Admin_menu' => array(
'id' => '27',
'menu_name' => 'Help',
'menu_url' => '#',
'menu_location' => '4',
'menu_parent' => '',
'status' => true,
'group_id' => '6',
'created_date' => '2014-07-23 16:07:11'
)
),
(int) 2 => array(
'Admin_menu' => array(
'id' => '28',
'menu_name' => 'Countries',
'menu_url' => 'http://www.bakoos.com/local/locations/countries_list/',
'menu_location' => '5',
'menu_parent' => '',
'status' => true,
'group_id' => '6',
'created_date' => '2014-07-23 16:07:48'
)
),
(int) 3 => array(
'Admin_menu' => array(
'id' => '25',
'menu_name' => 'FAQs',
'menu_url' => 'http://www.bakoos.com/dashboards/faqs',
'menu_location' => '6',
'menu_parent' => '',
'status' => true,
'group_id' => '6',
'created_date' => '2014-07-23 15:07:22'
)
)
)
$in_arr = array(
(int) 0 => '27'
)
$submenuFlag = array(
'Admin_menu' => array(
'id' => '25',
'menu_name' => 'FAQs',
'menu_url' => 'http://www.bakoos.com/dashboards/faqs',
'menu_location' => '6',
'menu_parent' => '',
'status' => true,
'group_id' => '6',
'created_date' => '2014-07-23 15:07:22'
)
)
$header_submenu_conditions = array(
'AND' => array(
(int) 0 => array(
'Admin_sub_menu.menu_parent' => '25'
),
(int) 1 => array(
'Admin_sub_menu.status' => '1'
)
)
)
$world_header_submenu = array()
$header_submenu = array(
(int) 0 => array(
(int) 0 => array(
'Admin_sub_menu' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Admin_sub_menu' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Admin_sub_menu' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Admin_sub_menu' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'Admin_sub_menu' => array(
[maximum depth reached]
)
)
)
)
$footerconditions = array(
'AND' => array(
(int) 0 => array(
'Admin_menu.group_id' => '7'
),
(int) 1 => array(
'Admin_menu.status' => '1'
)
)
)
$world_footer_menu = array(
(int) 0 => array(
'Admin_menu' => array(
'id' => '29',
'menu_name' => 'Home',
'menu_url' => 'http://www.bakoos.com/local/',
'menu_location' => '1',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:42'
)
),
(int) 1 => array(
'Admin_menu' => array(
'id' => '30',
'menu_name' => 'How it Works',
'menu_url' => 'http://www.bakoos.com/dashboards/how_it_works/',
'menu_location' => '2',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:30'
)
),
(int) 2 => array(
'Admin_menu' => array(
'id' => '31',
'menu_name' => 'World Site',
'menu_url' => 'http://www.bakoos.com/',
'menu_location' => '3',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:24'
)
),
(int) 3 => array(
'Admin_menu' => array(
'id' => '32',
'menu_name' => 'FAQs',
'menu_url' => 'http://www.bakoos.com/dashboards/faqs',
'menu_location' => '4',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:07'
)
),
(int) 4 => array(
'Admin_menu' => array(
'id' => '33',
'menu_name' => 'Countries',
'menu_url' => 'http://www.bakoos.com/local/locations/countries_list/',
'menu_location' => '5',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:58'
)
),
(int) 5 => array(
'Admin_menu' => array(
'id' => '34',
'menu_name' => 'Contact Us',
'menu_url' => 'http://www.bakoos.com/local/dashboards/contact_us/',
'menu_location' => '6',
'menu_parent' => '',
'status' => true,
'group_id' => '7',
'created_date' => '2014-07-23 16:07:19'
)
)
)
$select_country = null
$select_city = (int) 0
$ip_address = '18.207.255.49'
$geopluginURL = 'http://www.geoplugin.net/php.gp?ip=18.207.255.49'
$http_response_header = array(
(int) 0 => 'HTTP/1.1 200 OK',
(int) 1 => 'Date: Fri, 13 Dec 2019 03:52:01 GMT',
(int) 2 => 'Content-Type: text/plain; charset=utf-8',
(int) 3 => 'Content-Length: 1109',
(int) 4 => 'Connection: close',
(int) 5 => 'Server: Apache',
(int) 6 => 'Access-Control-Allow-Origin: *'
)
$addrDetailsArr = array(
'geoplugin_request' => '18.207.255.49',
'geoplugin_status' => (int) 200,
'geoplugin_delay' => '2ms',
'geoplugin_credit' => 'Some of the returned data includes GeoLite data created by MaxMind, available from <a href=\'http://www.maxmind.com\'>http://www.maxmind.com</a>.',
'geoplugin_city' => 'Ashburn',
'geoplugin_region' => 'Virginia',
'geoplugin_regionCode' => 'VA',
'geoplugin_regionName' => 'Virginia',
'geoplugin_areaCode' => '',
'geoplugin_dmaCode' => '511',
'geoplugin_countryCode' => 'US',
'geoplugin_countryName' => 'United States',
'geoplugin_inEU' => (int) 0,
'geoplugin_euVATrate' => false,
'geoplugin_continentCode' => 'NA',
'geoplugin_continentName' => 'North America',
'geoplugin_latitude' => '39.0481',
'geoplugin_longitude' => '-77.4728',
'geoplugin_locationAccuracyRadius' => '1000',
'geoplugin_timezone' => 'America/New_York',
'geoplugin_currencyCode' => 'USD',
'geoplugin_currencySymbol' => '$',
'geoplugin_currencySymbol_UTF8' => '$',
'geoplugin_currencyConverter' => '1'
)
$country_id = array()
$all_cities = array()
$citycount = (int) -1
$i = (int) 0
AppController::beforeFilter() - APP/Controller/AppController.php, line 179
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 247
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 182
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108