You're
out of your
element.
Click HERE to register.


 Forgot your info?
Remember me

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

By:
Digg Share
Looking for more from ?
READ TIMES
The Corner Store

By Anthony J. Rapino When I talk to friends about childhood memories, invariably discussions meander to a seemingly innocuous mention of The Co...

Homesick: Rochester Museum and Science Center

      As a kid, I loved science, everything about it from being curious of how things work, to experiments, and to learning new thin...

The Game Boy Advance Launch

The original Game Boy that released back in 1989 left a monumental impact for handheld gaming, releasing millions of units and having a boatload of ti...

Pokemania: Pokemon Snap

      People love to take pictures. Normally really nice ones to capture that right moment to remember or that of nature. Now take that...

12 Retro Snacks & Drinks I want to see Come Back

Growing up, we all had foods and drinks that we love to consume as kids. Whether it was a couple Pop-Tarts and a glass of Tang for breakfast, Lunchabl...

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();
2021-06-12 21:35:21 LiteSpeed Yii Framework/1.1.11