Notice (8): Undefined index: Promotion [APP/View/Home/promotion.ctp, line 95]Code Context
<div class="col-twelve address text-center">
<h3><?php echo ucfirst($Promotion['Promotion']['title']); ?></h3>
$viewFile = '/home/eachacup/public_html/app/View/Home/promotion.ctp'
$dataForView = array(
'title_for_layout' => null,
'Promotion' => array()
)
$title_for_layout = null
$Promotion = array()
include - APP/View/Home/promotion.ctp, line 95
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108
Notice (8): Undefined index: Promotion [APP/View/Home/promotion.ctp, line 96]Code Context <div class="col-twelve address text-center">
<h3><?php echo ucfirst($Promotion['Promotion']['title']); ?></h3>
<p><?php echo date("jS F, Y", strtotime($Promotion['Promotion']['created'])); ?></p>
$viewFile = '/home/eachacup/public_html/app/View/Home/promotion.ctp'
$dataForView = array(
'title_for_layout' => null,
'Promotion' => array()
)
$title_for_layout = null
$Promotion = array()
include - APP/View/Home/promotion.ctp, line 96
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108
1st January, 1970
Notice (8): Undefined index: Promotion [APP/View/Home/promotion.ctp, line 97]Code Context <h3><?php echo ucfirst($Promotion['Promotion']['title']); ?></h3>
<p><?php echo date("jS F, Y", strtotime($Promotion['Promotion']['created'])); ?></p>
<p><?php echo $Promotion['Promotion']['description']; ?></p>
$viewFile = '/home/eachacup/public_html/app/View/Home/promotion.ctp'
$dataForView = array(
'title_for_layout' => null,
'Promotion' => array()
)
$title_for_layout = null
$Promotion = array()
include - APP/View/Home/promotion.ctp, line 97
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108
Notice (8): Undefined index: Promotion [APP/View/Home/promotion.ctp, line 99]Code Context <p><?php echo $Promotion['Promotion']['description']; ?></p>
<br/>
<?php if(file_exists(WWW_ROOT."uploads/tour_packages/".$Promotion['Promotion']['image1'])){ ?>
$viewFile = '/home/eachacup/public_html/app/View/Home/promotion.ctp'
$dataForView = array(
'title_for_layout' => null,
'Promotion' => array()
)
$title_for_layout = null
$Promotion = array()
include - APP/View/Home/promotion.ctp, line 99
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108
Notice (8): Undefined index: Promotion [
APP/View/Home/promotion.ctp, line
100]
Code Context <br/>
<?php if(file_exists(WWW_ROOT."uploads/tour_packages/".$Promotion['Promotion']['image1'])){ ?>
<img src="<?php echo SITE_URL."uploads/tour_packages/".$Promotion['Promotion']['image1']; ?>" alt=""/>
$viewFile = '/home/eachacup/public_html/app/View/Home/promotion.ctp'
$dataForView = array(
'title_for_layout' => null,
'Promotion' => array()
)
$title_for_layout = null
$Promotion = array()
include - APP/View/Home/promotion.ctp, line 100
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108
http://each-a-cup.com/uploads/tour_packages/" alt=""/>
Notice (8): Undefined index: Promotion [
APP/View/Home/promotion.ctp, line
113]
Code Context
<!-- Facebook -->
<a href="http://www.facebook.com/sharer.php?u=<?php echo SITE_URL."home/promotion/".base64_encode($Promotion['Promotion']['id']); ?>" target="_blank">
$viewFile = '/home/eachacup/public_html/app/View/Home/promotion.ctp'
$dataForView = array(
'title_for_layout' => null,
'Promotion' => array()
)
$title_for_layout = null
$Promotion = array()
include - APP/View/Home/promotion.ctp, line 113
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108
http://each-a-cup.com/home/promotion/" target="_blank">
Notice (8): Undefined index: Promotion [
APP/View/Home/promotion.ctp, line
117]
Code Context </a>
<!-- Twitter -->
<a href="https://twitter.com/share?url=<?php echo SITE_URL."home/promotion/".base64_encode($Promotion['Promotion']['id']); ?>&text=Simple%20Share%20Buttons&hashtags=simplesharebuttons" target="_blank">
$viewFile = '/home/eachacup/public_html/app/View/Home/promotion.ctp'
$dataForView = array(
'title_for_layout' => null,
'Promotion' => array()
)
$title_for_layout = null
$Promotion = array()
include - APP/View/Home/promotion.ctp, line 117
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108
http://each-a-cup.com/home/promotion/&text=Simple%20Share%20Buttons&hashtags=simplesharebuttons" target="_blank">
Notice (8): Undefined index: Promotion [
APP/View/Home/promotion.ctp, line
121]
Code Context </a>
<!-- Google+ -->
<a href="https://plus.google.com/share?url=<?php echo SITE_URL."home/promotion/".base64_encode($Promotion['Promotion']['id']); ?>" target="_blank">
$viewFile = '/home/eachacup/public_html/app/View/Home/promotion.ctp'
$dataForView = array(
'title_for_layout' => null,
'Promotion' => array()
)
$title_for_layout = null
$Promotion = array()
include - APP/View/Home/promotion.ctp, line 121
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::render() - CORE/Cake/View/View.php, line 471
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108
http://each-a-cup.com/home/promotion/" target="_blank">