Error in PHP Script
/news.php
PHP Version: 5.2.9-1;  Zend Engine Version: 2.2.0;  Qcubed Version: 1.0.0 RC2 (QCubed 1.0 RC2)
Application: Apache/2.2.18 (Win32) PHP/5.2.9-1;  Server Name: www.42lcdtvs.co.uk
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Trying to get property of non-object
Error Type:   E_NOTICE

Source File:   D:\other_sites\42lcdtvs.co.uk\news.php     Line:   33

Line 28:        }
Line 29:        $strNewsId = $arrTemp[count($arrTemp)-1];
Line 30:    
Line 31:        $objNews = News::Load($strNewsId);
Line 32:    
Line 33:        $this->strBody = $objNews->Body;
Line 34:        $this->strSubject = $objNews->Subject;
Line 35:        $this->strAuthor =   $objNews->Author;
Line 36:        $objDateCreated = $objNews->DateCreated;
Line 37:        $this->strDate = Common::formatDate($objDateCreated);
Line 38:        $this->strBreadCrumb = UiManager::getNewsPageBreadCrumb($this->strSubject,$strNewsId);

Call Stack:

#0 D:\other_sites\42lcdtvs.co.uk\news.php(33): QcodoHandleError()
#1 D:\other_sites\42lcdtvs.co.uk\qcodo\includes\qcodo\_core\qform\QFormBase.class.php(276): Index->Form_Create()
#2 D:\other_sites\42lcdtvs.co.uk\news.php(44): QFormBase::Run()

Variable Dump:   Show/Hide



Error Report Generated:  Sunday, February 5 2012, 2:33:08 PM