Be A Pepper.
Click HERE to register.


 Forgot your info?
Remember me

Don't mess
with the bull.
JOIN!!!
7 COMMENTS
RETRORATING:
FAVORITED TIMES

By:
Digg Share
Looking for more from ?
READ TIMES
Wolverine a Reader's Perspective Part 21

The Uncanny X-Men art by Dave Cockrum   Wolverine a Reader's Perspective Part 21 Continuing our journey to understand the Wolverin...

Pok'emon Power Magazine

In September of 1998, Pok'emon was introduced to the U.S. and the staff at Nintendo Power did their part to help give it the impact it got when brough...

Action Figure Reclamation Project Phase 6

It’s been a while but I’m back again with the 6th installment of my ongoing Action Figure Reclamation Project series. For the uninitiated, through...

A Closer Look At: Nickellennium

            A new year has come and a new decade to boot, and as it chugs along I thought to look back at a bit...

Pok'emon Spinoff Games

At the height of the Pok'emon fad, it wasn't just the merchandise that helped make a profit, but a variety of spinoff video games were made to also ca...

PHP warning

PHP warning

Creating default object from empty value

/home/ghostofvapor/public_html/protected/controllers/SiteController.php(1157)

1145             //$allArticles = Articles::model()->findAllByAttributes(array('status'=>'Approved'), array('order'=>'id desc', 'limit'=>10));
1146 
1147             if (isset(Yii::app()->user->uid)) {
1148                 $ifFavorited = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Favorited'));
1149                 $ifApproved = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Approved'));
1150                 $ifDisapproved = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Disapproved'));
1151                 $ifAction = $ifApproved + $ifDisapproved;
1152             } else {
1153                 $ifFavorited = $ifAction = 0;
1154             }
1155 
1156             $this->render('article', array('model' => $model, 'article' => $article, 'postedBy' => $postedBy, 'comments' => $comments, 'commentCount' => $commentCount, 'ifFavorited' => $ifFavorited, 'ifAction' => $ifAction, 'allArticles' => $allArticles, 'pages' => $pages));
1157             $article->reads += 1;
1158             $article->update();
1159         } else {
1160             $this->redirect(Yii::app()->createUrl('site/error', array('code' => 404, 'message' => 'This page was not found.')));
1161             exit();
1162         }
1163     }
1164 
1165     public function actiontest() {
1166         if (isset($_GET['order']) && $_GET['order'] == 'title')
1167             $order = 'title ASC';
1168         else
1169             $order = 'posted_on DESC';

Stack Trace

#12
+
 /home/ghostofvapor/public_html/index.php(16): CApplication->run()
11 defined('YII_DEBUG') or define('YII_DEBUG',true);
12 // specify how many levels of call stack should be shown in each log message
13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
14 
15 require_once($yii);
16 Yii::createWebApplication($config)->run();
2020-07-12 22:34:03 LiteSpeed Yii Framework/1.1.11