TPhpErrorException

Description

[Notice] Undefined variable: lesactus (@line 67 in file /var/www/vhosts/hydroreunion.re/httpdocs/protected/pages/Front/News/View.php).

Source File

/var/www/vhosts/hydroreunion.re/httpdocs/protected/pages/Front/News/View.php (67)

0056: 
0057: 
0058:         if(sizeof($lesActus)>0) {
0059:             $lesactus="<ul>";
0060:             foreach ($lesActus as $uneActu) {
0061:                 $actu = $uneActu->getObjetTraduit();
0062:                 $lesactus.="<li>".$uneActu->getLink("",$actu["titre"] . "<br /><span style='font-size:14px'>".date("d/m/Y", $actu["date"])."</span>")."</a></li>";
0063:             }
0064:             $lesactus.="</ul>";
0065:         }
0066: 
0067: $this->sousMenu->Controls[]=$lesactus;
0068: } 0069: 0070: public function getRecord(){ 0071: $uuid = $this->Request->itemAt("id"); 0072: 0073: $lang = Prado::getApplication()->getModule('lang')->getLang(); 0074: $reqLang=""; 0075: if($lang=="en"){ 0076: $reqLang="EN"; 0077: } 0078: 0079: $d = $this->getManager()->findOneByCriteria("urlrewrite='$uuid' OR urlrewriteEN='$uuid'");

Stack Trace

#0 /var/www/vhosts/hydroreunion.re/httpdocs/protected/pages/Front/News/View.php(67): PradoBase::phpErrorHandler(8, 'Undefined varia...', '/var/www/vhosts...', 67, Array)
#1 /var/www/vhosts/hydroreunion.re/httpdocs/protected/Classes/AppPage.php(64): View->allwaysLoad()
#2 /var/www/vhosts/hydroreunion.re/httpdocs/prado/Web/UI/TControl.php(1313): AppPage->onPreRender(NULL)
#3 /var/www/vhosts/hydroreunion.re/httpdocs/prado/Web/UI/TPage.php(220): TControl->preRenderRecursive()
#4 /var/www/vhosts/hydroreunion.re/httpdocs/prado/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#5 /var/www/vhosts/hydroreunion.re/httpdocs/prado/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#6 /var/www/vhosts/hydroreunion.re/httpdocs/prado/Web/Services/TPageService.php(444): TPageService->runPage(Object(View), Array)
#7 /var/www/vhosts/hydroreunion.re/httpdocs/prado/TApplication.php(1095): TPageService->run()
#8 /var/www/vhosts/hydroreunion.re/httpdocs/prado/TApplication.php(382): TApplication->runService()
#9 /var/www/vhosts/hydroreunion.re/httpdocs/index.php(29): TApplication->run()
#10 {main}
2017-12-13 11:07 Apache PRADO/3.1.7