Notice (8): Undefined offset: 0 [APP/views/information/view.ctp, line 4]Code |
Context<?php if( $select == 'Recipe' ) {
echo '<div align="right"><h3><a href="javascript:history.go(-1)">GO BACK</a></h3></div><br />';
echo $this->element('information/post',array('info' => $data_list['data'][0] ));
$___viewFn = "/usr/local/www/vhosts/ontariohoney.com/htdocs/app/views/information/view.ctp"
$___dataForView = array(
"page" => 1,
"select" => "Recipe",
"data_list" => array(
"data" => array(),
"link" => "",
"grand_total" => 0,
"total" => 0,
"page" => 1
),
"category_arr" => array(
"Salads",
"Breads",
"Sauces",
"Main Dishes",
"Beverages",
"Desserts",
"1001 Other Uses"
),
"favorate_recipe" => array(
"data" => array(),
"link" => "Page <b>1</b> of <b>1</b> Pages",
"grand_total" => 5,
"total" => 5,
"page" => 1
),
"site_info" => array(
"status" => "Non_Nember",
"member_info" => null,
"site_config" => array()
)
)
$loadHelpers = true
$cached = false
$form = FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = ""
FormHelper::$webroot = "/"
FormHelper::$theme = NULL
FormHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
FormHelper::$params = array
FormHelper::$action = "view"
FormHelper::$plugin = NULL
FormHelper::$data = NULL
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object
$html = HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = ""
HtmlHelper::$webroot = "/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
HtmlHelper::$params = array
HtmlHelper::$action = "view"
HtmlHelper::$plugin = NULL
HtmlHelper::$data = NULL
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL
$session = SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "b260d25dcd9c138e5e653c28eaa88044"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "medium"
SessionHelper::$time = 1328535542
SessionHelper::$sessionTime = 1328547542
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = ""
SessionHelper::$webroot = "/"
SessionHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
SessionHelper::$params = array
SessionHelper::$action = "view"
SessionHelper::$data = NULL
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
$time = TimeHelper
TimeHelper::$helpers = NULL
TimeHelper::$base = ""
TimeHelper::$webroot = "/"
TimeHelper::$theme = NULL
TimeHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
TimeHelper::$params = array
TimeHelper::$action = "view"
TimeHelper::$plugin = NULL
TimeHelper::$data = NULL
TimeHelper::$namedArgs = NULL
TimeHelper::$argSeparator = NULL
TimeHelper::$validationErrors = NULL
TimeHelper::$tags = array
TimeHelper::$__tainted = NULL
TimeHelper::$__cleaned = NULL
$page = 1
$select = "Recipe"
$data_list = array(
"data" => array(),
"link" => "",
"grand_total" => 0,
"total" => 0,
"page" => 1
)
$category_arr = array(
"Salads",
"Breads",
"Sauces",
"Main Dishes",
"Beverages",
"Desserts",
"1001 Other Uses"
)
$favorate_recipe = array(
"data" => array(
array(),
array(),
array(),
array(),
array()
),
"link" => "Page <b>1</b> of <b>1</b> Pages",
"grand_total" => 5,
"total" => 5,
"page" => 1
)
$site_info = array(
"status" => "Non_Nember",
"member_info" => null,
"site_config" => array(
"default_paging" => "15",
"thumb_width" => "150",
"admin_name" => "admin",
"admin_password" => "admin",
"site_title" => "OntarioHoney.ca.",
"admin_email" => "media@ontariobee.com",
"admin_title" => "The Ontario Honey Recipe Team",
"left_box1" => "Welcome",
"left_box2" => "Recipe Categories",
"left_box3" => "Chef`s Selection",
"baseurl" => "http://www.ontariohoney.ca",
"recipe_first_view" => "Detail"
)
)
include - APP/views/information/view.ctp, line 4
View::_render() - CORE/cake/libs/view/view.php, line 723
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 911
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Undefined offset: 1 [APP/views/elements/information/post.ctp, line 8]Code |
Context $arr = explode('|',$post['rating'] );
if( $arr[1] == 0 )
$___viewFn = "/usr/local/www/vhosts/ontariohoney.com/htdocs/app/views/elements/information/post.ctp"
$___dataForView = array(
"page" => 1,
"select" => "Recipe",
"data_list" => array(
"data" => array(),
"link" => "",
"grand_total" => 0,
"total" => 0,
"page" => 1
),
"category_arr" => array(
"Salads",
"Breads",
"Sauces",
"Main Dishes",
"Beverages",
"Desserts",
"1001 Other Uses"
),
"favorate_recipe" => array(
"data" => array(),
"link" => "Page <b>1</b> of <b>1</b> Pages",
"grand_total" => 5,
"total" => 5,
"page" => 1
),
"site_info" => array(
"status" => "Non_Nember",
"member_info" => null,
"site_config" => array()
),
"info" => null,
"form" => FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = ""
FormHelper::$webroot = "/"
FormHelper::$theme = NULL
FormHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
FormHelper::$params = array
FormHelper::$action = "view"
FormHelper::$plugin = NULL
FormHelper::$data = NULL
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object,
"html" => HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = ""
HtmlHelper::$webroot = "/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
HtmlHelper::$params = array
HtmlHelper::$action = "view"
HtmlHelper::$plugin = NULL
HtmlHelper::$data = NULL
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL,
"session" => SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "b260d25dcd9c138e5e653c28eaa88044"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "medium"
SessionHelper::$time = 1328535542
SessionHelper::$sessionTime = 1328547542
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = ""
SessionHelper::$webroot = "/"
SessionHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
SessionHelper::$params = array
SessionHelper::$action = "view"
SessionHelper::$data = NULL
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL,
"time" => TimeHelper
TimeHelper::$helpers = NULL
TimeHelper::$base = ""
TimeHelper::$webroot = "/"
TimeHelper::$theme = NULL
TimeHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
TimeHelper::$params = array
TimeHelper::$action = "view"
TimeHelper::$plugin = NULL
TimeHelper::$data = NULL
TimeHelper::$namedArgs = NULL
TimeHelper::$argSeparator = NULL
TimeHelper::$validationErrors = NULL
TimeHelper::$tags = array
TimeHelper::$__tainted = NULL
TimeHelper::$__cleaned = NULL
)
$loadHelpers = false
$cached = false
$loadedHelpers = array()
$page = 1
$select = "Recipe"
$data_list = array(
"data" => array(),
"link" => "",
"grand_total" => 0,
"total" => 0,
"page" => 1
)
$category_arr = array(
"Salads",
"Breads",
"Sauces",
"Main Dishes",
"Beverages",
"Desserts",
"1001 Other Uses"
)
$favorate_recipe = array(
"data" => array(
array(),
array(),
array(),
array(),
array()
),
"link" => "Page <b>1</b> of <b>1</b> Pages",
"grand_total" => 5,
"total" => 5,
"page" => 1
)
$site_info = array(
"status" => "Non_Nember",
"member_info" => null,
"site_config" => array(
"default_paging" => "15",
"thumb_width" => "150",
"admin_name" => "admin",
"admin_password" => "admin",
"site_title" => "OntarioHoney.ca.",
"admin_email" => "media@ontariobee.com",
"admin_title" => "The Ontario Honey Recipe Team",
"left_box1" => "Welcome",
"left_box2" => "Recipe Categories",
"left_box3" => "Chef`s Selection",
"baseurl" => "http://www.ontariohoney.ca",
"recipe_first_view" => "Detail"
)
)
$info = null
$form = FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = ""
FormHelper::$webroot = "/"
FormHelper::$theme = NULL
FormHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
FormHelper::$params = array
FormHelper::$action = "view"
FormHelper::$plugin = NULL
FormHelper::$data = NULL
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object
$html = HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = ""
HtmlHelper::$webroot = "/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
HtmlHelper::$params = array
HtmlHelper::$action = "view"
HtmlHelper::$plugin = NULL
HtmlHelper::$data = NULL
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL
$session = SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "b260d25dcd9c138e5e653c28eaa88044"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "medium"
SessionHelper::$time = 1328535542
SessionHelper::$sessionTime = 1328547542
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = ""
SessionHelper::$webroot = "/"
SessionHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
SessionHelper::$params = array
SessionHelper::$action = "view"
SessionHelper::$data = NULL
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
$time = TimeHelper
TimeHelper::$helpers = NULL
TimeHelper::$base = ""
TimeHelper::$webroot = "/"
TimeHelper::$theme = NULL
TimeHelper::$here = "/Information/view/Recipe/19/Honey-Lemon-Pancakes"
TimeHelper::$params = array
TimeHelper::$action = "view"
TimeHelper::$plugin = NULL
TimeHelper::$data = NULL
TimeHelper::$namedArgs = NULL
TimeHelper::$argSeparator = NULL
TimeHelper::$validationErrors = NULL
TimeHelper::$tags = array
TimeHelper::$__tainted = NULL
TimeHelper::$__cleaned = NULL
$post = null
$member = null
$arr = array(
""
)
include - APP/views/elements/information/post.ctp, line 8
View::_render() - CORE/cake/libs/view/view.php, line 723
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/information/view.ctp, line 4
View::_render() - CORE/cake/libs/view/view.php, line 723
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 911
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83