Notice: Trying to get property of non-object in /home/cbtaedum/public_html/core/app/view/post-view.php on line 3

Fatal error: Uncaught Error: Call to a member function fetch_array() on boolean in /home/cbtaedum/public_html/admin/core/controller/Model.php:24 Stack trace: #0 /home/cbtaedum/public_html/admin/core/app/model/CommentData.php(104): Model::many(false, Object(CommentData)) #1 /home/cbtaedum/public_html/core/app/view/post-view.php(3): CommentData::getApprovedByPostId(NULL) #2 /home/cbtaedum/public_html/admin/core/controller/View.php(31): include('/home/cbtaedum/...') #3 /home/cbtaedum/public_html/core/app/layouts/layout.php(210): View::load('index') #4 /home/cbtaedum/public_html/admin/core/controller/Module.php(14): include('/home/cbtaedum/...') #5 /home/cbtaedum/public_html/core/app/init.php(8): Module::loadLayout('index') #6 /home/cbtaedum/public_html/admin/core/controller/Lb.php(13): include('/home/cbtaedum/...') #7 /home/cbtaedum/public_html/index.php(25): Lb->start() #8 {main} thrown in /home/cbtaedum/public_html/admin/core/controller/Model.php on line 24