Notice (8): Undefined variable: postLink [APP/View/Posts/category.ctp, line 6]Code Context <?php foreach ($posts as $post) { ?>
<div id="post<?php echo $post['Post']['id']; ?>" class="post">
<h2><?php $postLink->getPostLink($post['Post']); ?></h2>
$___viewFn = "/home/skwigger/public_html/sethcardoza/app/View/Posts/category.ctp"
$___dataForView = array(
"current_nav" => "index",
"links" => array(
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array()
),
"posts" => array(
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array()
)
)
$current_nav = "index"
$links = array(
array(
"Link" => array()
),
array(
"Link" => array()
),
array(
"Link" => array()
),
array(
"Link" => array()
),
array(
"Link" => array()
),
array(
"Link" => array()
),
array(
"Link" => array()
),
array(
"Link" => array()
)
)
$posts = array(
array(
"Post" => array(),
"PostCategory" => array(),
"User" => array()
),
array(
"Post" => array(),
"PostCategory" => array(),
"User" => array()
),
array(
"Post" => array(),
"PostCategory" => array(),
"User" => array()
),
array(
"Post" => array(),
"PostCategory" => array(),
"User" => array()
),
array(
"Post" => array(),
"PostCategory" => array(),
"User" => array()
),
array(
"Post" => array(),
"PostCategory" => array(),
"User" => array()
),
array(
"Post" => array(),
"PostCategory" => array(),
"User" => array()
),
array(
"Post" => array(),
"PostCategory" => array(),
"User" => array()
),
array(
"Post" => array(),
"PostCategory" => array(),
"User" => array()
),
array(
"Post" => array(),
"PostCategory" => array(),
"User" => array()
)
)
$post = array(
"Post" => array(
"id" => "53",
"title" => "The Man Grooveshark Playlist",
"body" => "<p>Here's another Grooveshark playlist I put together. All song titles have the word "man" somewhere in them. If you have any suggestions, I'll take them into consideration. One noted omission is <em>Black Sabbath - Iron Man</em>, as I hear it way too often, and it doesn't really add to the quality of the playlist.</p>
<p><a href="http://listen.grooveshark.com/playlist/The_Man/39352484">Listen to "The Man" on Grooveshark</a>.</p>",
"created" => "2010-12-15 11:53:07",
"modified" => "2010-12-15 11:53:07",
"status" => true,
"post_category_id" => "15",
"user_id" => "1"
),
"PostCategory" => array(
"id" => "15",
"title" => "Grooveshark Playlists"
),
"User" => array(
"id" => "1",
"username" => "SethCardoza",
"password" => "*****",
"email" => "scardoza@gmail.com",
"is_admin" => "1"
)
)
include - APP/View/Posts/category.ctp, line 6
View::_render() - CORE/Cake/View/View.php, line 598
View::render() - CORE/Cake/View/View.php, line 365
Controller::render() - CORE/Cake/Controller/Controller.php, line 898
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 114
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 89
[main] - APP/webroot/index.php, line 96
Fatal error: Call to a member function getPostLink() on a non-object in /home/skwigger/public_html/sethcardoza/app/View/Posts/category.ctp on line 6
Code Context
<?php foreach ($posts as $post) { ?><div id="post<?php echo $post['Post']['id']; ?>" class="post"><h2><?php $postLink->getPostLink($post['Post']); ?></h2>
$___viewFn = "/home/skwigger/public_html/sethcardoza/app/View/Posts/category.ctp" $___dataForView = array( "current_nav" => "index", "links" => array( array(), array(), array(), array(), array(), array(), array(), array() ), "posts" => array( array(), array(), array(), array(), array(), array(), array(), array(), array(), array() ) ) $current_nav = "index" $links = array( array( "Link" => array() ), array( "Link" => array() ), array( "Link" => array() ), array( "Link" => array() ), array( "Link" => array() ), array( "Link" => array() ), array( "Link" => array() ), array( "Link" => array() ) ) $posts = array( array( "Post" => array(), "PostCategory" => array(), "User" => array() ), array( "Post" => array(), "PostCategory" => array(), "User" => array() ), array( "Post" => array(), "PostCategory" => array(), "User" => array() ), array( "Post" => array(), "PostCategory" => array(), "User" => array() ), array( "Post" => array(), "PostCategory" => array(), "User" => array() ), array( "Post" => array(), "PostCategory" => array(), "User" => array() ), array( "Post" => array(), "PostCategory" => array(), "User" => array() ), array( "Post" => array(), "PostCategory" => array(), "User" => array() ), array( "Post" => array(), "PostCategory" => array(), "User" => array() ), array( "Post" => array(), "PostCategory" => array(), "User" => array() ) ) $post = array( "Post" => array( "id" => "53", "title" => "The Man Grooveshark Playlist", "body" => "<p>Here's another Grooveshark playlist I put together. All song titles have the word "man" somewhere in them. If you have any suggestions, I'll take them into consideration. One noted omission is <em>Black Sabbath - Iron Man</em>, as I hear it way too often, and it doesn't really add to the quality of the playlist.</p> <p><a href="http://listen.grooveshark.com/playlist/The_Man/39352484">Listen to "The Man" on Grooveshark</a>.</p>", "created" => "2010-12-15 11:53:07", "modified" => "2010-12-15 11:53:07", "status" => true, "post_category_id" => "15", "user_id" => "1" ), "PostCategory" => array( "id" => "15", "title" => "Grooveshark Playlists" ), "User" => array( "id" => "1", "username" => "SethCardoza", "password" => "*****", "email" => "scardoza@gmail.com", "is_admin" => "1" ) )
include - APP/View/Posts/category.ctp, line 6 View::_render() - CORE/Cake/View/View.php, line 598 View::render() - CORE/Cake/View/View.php, line 365 Controller::render() - CORE/Cake/Controller/Controller.php, line 898 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 114 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 89 [main] - APP/webroot/index.php, line 96