Notice (8): Undefined variable: user_name [APP/Template/Element/user_info.ctp, line 38]Code Context <div class="dropdown-menu" aria-labelledby="userMenuButton"> <span class="dropdown-item user-name">Hello, <?php echo $user_name['first_name']; ?></span> <a class="dropdown-item" href="<?php echo ''.$COMMON_BASE.'/dashboards'; ?>">Dashboard</a>$viewFile = '/var/www/snacy/public_html/src/Template/Element/user_info.ctp' $dataForView = [ 'post' => object(App\Model\Entity\Post) { 'id' => (int) 10, 'user_id' => (int) 22, 'title' => 'Testimonials', 'slug' => 'testimonials', 'content' => '<p>Coming Soon!!</p>', 'publish' => true, 'created' => object(Cake\I18n\FrozenDate) {}, 'modified' => object(Cake\I18n\FrozenDate) {}, '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Posts' }, 'breadcrumb' => [ (int) 0 => [ 'title' => 'Home', 'url' => '/' ], (int) 1 => [ 'title' => 'Testimonials' ] ], 'title' => 'Testimonials', 'body_class' => '', 'pagetitle_for_layout' => 'Testimonials', 'cart_count' => (int) 0, 'user_login' => (int) 0, 'APP_NAME' => 'Snacy', 'WEB_URL' => 'https://snacy.com', 'COMMON_BASE' => '' ] $post = object(App\Model\Entity\Post) { 'id' => (int) 10, 'user_id' => (int) 22, 'title' => 'Testimonials', 'slug' => 'testimonials', 'content' => '<p>Coming Soon!!</p>', 'publish' => true, 'created' => object(Cake\I18n\FrozenDate) {}, 'modified' => object(Cake\I18n\FrozenDate) {}, '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Posts' } $breadcrumb = [ (int) 0 => [ 'title' => 'Home', 'url' => '/' ], (int) 1 => [ 'title' => 'Testimonials' ] ] $title = 'Testimonials' $body_class = '' $pagetitle_for_layout = 'Testimonials' $cart_count = (int) 0 $user_login = (int) 0 $APP_NAME = 'Snacy' $WEB_URL = 'https://snacy.com' $COMMON_BASE = '' $login = (int) 0include - APP/Template/Element/user_info.ctp, line 38 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1598 Cake\View\View::element() - CORE/src/View/View.php, line 706 include - APP/Template/Element/top_header.ctp, line 20 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1598 Cake\View\View::element() - CORE/src/View/View.php, line 706 include - APP/Template/Layout/default.ctp, line 65 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 850 Cake\View\View::render() - CORE/src/View/View.php, line 808 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
<div class="dropdown-menu" aria-labelledby="userMenuButton"> <span class="dropdown-item user-name">Hello, <?php echo $user_name['first_name']; ?></span> <a class="dropdown-item" href="<?php echo ''.$COMMON_BASE.'/dashboards'; ?>">Dashboard</a>
<div class="dropdown-menu" aria-labelledby="userMenuButton">
<span class="dropdown-item user-name">Hello, <?php echo $user_name['first_name']; ?></span>
<a class="dropdown-item" href="<?php echo ''.$COMMON_BASE.'/dashboards'; ?>">Dashboard</a>
$viewFile = '/var/www/snacy/public_html/src/Template/Element/user_info.ctp' $dataForView = [ 'post' => object(App\Model\Entity\Post) { 'id' => (int) 10, 'user_id' => (int) 22, 'title' => 'Testimonials', 'slug' => 'testimonials', 'content' => '<p>Coming Soon!!</p>', 'publish' => true, 'created' => object(Cake\I18n\FrozenDate) {}, 'modified' => object(Cake\I18n\FrozenDate) {}, '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Posts' }, 'breadcrumb' => [ (int) 0 => [ 'title' => 'Home', 'url' => '/' ], (int) 1 => [ 'title' => 'Testimonials' ] ], 'title' => 'Testimonials', 'body_class' => '', 'pagetitle_for_layout' => 'Testimonials', 'cart_count' => (int) 0, 'user_login' => (int) 0, 'APP_NAME' => 'Snacy', 'WEB_URL' => 'https://snacy.com', 'COMMON_BASE' => '' ] $post = object(App\Model\Entity\Post) { 'id' => (int) 10, 'user_id' => (int) 22, 'title' => 'Testimonials', 'slug' => 'testimonials', 'content' => '<p>Coming Soon!!</p>', 'publish' => true, 'created' => object(Cake\I18n\FrozenDate) {}, 'modified' => object(Cake\I18n\FrozenDate) {}, '[new]' => false, '[accessible]' => [ '*' => true, 'id' => false ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Posts' } $breadcrumb = [ (int) 0 => [ 'title' => 'Home', 'url' => '/' ], (int) 1 => [ 'title' => 'Testimonials' ] ] $title = 'Testimonials' $body_class = '' $pagetitle_for_layout = 'Testimonials' $cart_count = (int) 0 $user_login = (int) 0 $APP_NAME = 'Snacy' $WEB_URL = 'https://snacy.com' $COMMON_BASE = '' $login = (int) 0
include - APP/Template/Element/user_info.ctp, line 38 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1598 Cake\View\View::element() - CORE/src/View/View.php, line 706 include - APP/Template/Element/top_header.ctp, line 20 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1598 Cake\View\View::element() - CORE/src/View/View.php, line 706 include - APP/Template/Layout/default.ctp, line 65 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::renderLayout() - CORE/src/View/View.php, line 850 Cake\View\View::render() - CORE/src/View/View.php, line 808 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Coming Soon!!
One fine body…