Error in PHP Script
/index.php
PHP Version: 5.2.14;  Zend Engine Version: 2.2.0;  Qcodo Version: 0.2.10 (Qcodo Beta 2)
Operating System: ;  Application: Apache/2.2.3 (CentOS);  Server Name: www.gsaib.com.au
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:   /var/www/vhosts/gsaib.com.au/httpdocs/frontend/handlers/client_centre_form.php     Line:   268

Line 263:    		
Line 264:    		protected function lstState_Create() {
Line 265:    			
Line 266:    			$wsapi_stateId = QApplication::GetSessionVar('ClientAccountInfo','CDF240067');
Line 267:    			$stateId = SalesnetStateAcct::LoadBySalesnetId($wsapi_stateId);
Line 268:    			$this->intStateID = $stateId->LocationId;
Line 269:    			
Line 270:    			$this->lstState = new QListBox($this);
Line 271:    			$this->lstState->Name = 'State';
Line 272:    			$this->lstState->AddItem('- Select One -', null);
Line 273:    			

Call Stack:

#0 /var/www/vhosts/gsaib.com.au/httpdocs/frontend/handlers/client_centre_form.php(268): QcodoHandleError()
#1 /var/www/vhosts/gsaib.com.au/httpdocs/frontend/handlers/client_centre_form.php(55): ClientCentreForm->lstState_Create()
#2 /var/www/vhosts/gsaib.com.au/httpdocs/admin/includes/qcodo/qform_objects/QFormBase.inc(239): ClientCentreForm->Form_Create()
#3 /var/www/vhosts/gsaib.com.au/httpdocs/frontend/handlers/client_centre_form.php(541): QFormBase::Run()
#4 /var/www/vhosts/gsaib.com.au/httpdocs/frontend/page_types/client_centre.php(63): require_once()
#5 /var/www/vhosts/gsaib.com.au/httpdocs/index.php(208): Client_Centre->getOutput()

Variable Dump:   Show/Hide



Error Report Generated:  Saturday, May 19 2012, 7:17:55 AM