TPhpErrorException

Description

[Notice] Trying to get property of non-object (@line 235 in file /var/www/web0/html/saalachtal.net/protected/pages/frontend/details.php).

Source File

/var/www/web0/html/saalachtal.net/protected/pages/frontend/details.php (235)

0224:                     require_once("protected/3rdparty/classTextile.php");
0225:                     $textile = new Textile();                   
0226:                    
0227:                    $contentFinder = contentNewRecord::finder();                   
0228:                    $sql = "SELECT * FROM content_new WHERE accommodation_oid=$accommodationOid AND language='$languageCode'";    
0229:                    $contentRecord = $contentFinder->findBySQL($sql);
0230:                    
0231:                    $content  = "";
0232:                                        
0233:                     
0234: 
0235: $item = $contentRecord->accommodation_text;
0236: if ($item!="") 0237: { 0238: $title = $contentRecord->accommodation_title; 0239: if ($title!="") 0240: { 0241: $content .= $textile->TextileThis("\n\nh2. $title\n"); 0242: } 0243: $content .= $textile->TextileThis("\n$item\n"); 0244: } 0245: 0246: 0247: $item = $contentRecord->interior_text;

Stack Trace

#0 /var/www/web0/html/saalachtal.net/protected/pages/frontend/details.php(235): PradoBase::phpErrorHandler(8, 'Trying to get p...', '/var/www/web0/h...', 235, Array)
#1 /var/www/web0/html/saalachtal.net/3rdparty/prado-3.1.4.r2603/framework/Web/UI/TControl.php(1286): details->onLoad(NULL)
#2 /var/www/web0/html/saalachtal.net/3rdparty/prado-3.1.4.r2603/framework/Web/UI/TPage.php(210): TControl->loadRecursive()
#3 /var/www/web0/html/saalachtal.net/3rdparty/prado-3.1.4.r2603/framework/Web/UI/TPage.php(193): TPage->processNormalRequest(Object(THtmlWriter))
#4 /var/www/web0/html/saalachtal.net/3rdparty/prado-3.1.4.r2603/framework/Web/Services/TPageService.php(474): TPage->run(Object(THtmlWriter))
#5 /var/www/web0/html/saalachtal.net/3rdparty/prado-3.1.4.r2603/framework/Web/Services/TPageService.php(420): TPageService->runPage(Object(details), Array)
#6 /var/www/web0/html/saalachtal.net/3rdparty/prado-3.1.4.r2603/framework/TApplication.php(1095): TPageService->run()
#7 /var/www/web0/html/saalachtal.net/3rdparty/prado-3.1.4.r2603/framework/TApplication.php(382): TApplication->runService()
#8 /var/www/web0/html/saalachtal.net/index.php(35): TApplication->run()
#9 {main}
2012-02-06 01:31 Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 PRADO/3.1.4