TPhpErrorException

Description

[Notice] Undefined offset: 0 (@line 154 in file /var/www/web/sitephp/protected/layouts/MasterPage.php).

Source File

/var/www/web/sitephp/protected/layouts/MasterPage.php (154)

0143:             $idrubrique= $ListRUB[0]['ID_RUBRIQUE'];
0144:             //On recupere les données de la rubrique à lauquelle appartient la sous-rubrique
0145:             $ListRUB= $this->MeMaster->listerrub($idrubrique,'1RUB')->fetchall();
0146:             $srub= $rub;
0147:             $rub= $ListRUB[0]['LIB_COURT'];
0148:             }
0149:             else
0150:             {
0151:             $srub= $rub;
0152:             //On recherche la rubrique à laquelle appartient la page
0153:             $ListRUB= $this->MeMaster->listerrub($rub,'1RUB')->fetchall();
0154: $idrubrique= $ListRUB[0]['ID_RUBRIQUE'];
0155: } 0156: //On recupere le libelle de la rubrique 0157: $Rubrique=$ListRUB[0]['LIBELLE_RUBRIQUE']; 0158: //On recherche l'espace auquel appartient la rubrique 0159: $ListRUB= $this->MeMaster->listerrub($rub,'SPCE')->fetchall(); 0160: $espace= $ListRUB[0]['ID_ESPACE']; 0161: //On affiche les espaces 0162: if ($espace==1) 0163: { 0164: $this->ImgInfoblanc->Visible=True; 0165: $this->ImgInforang->Visible=False; 0166: $this->ImgDouanorang->Visible=True;

Stack Trace

#0 /var/www/web/sitephp/protected/layouts/MasterPage.php(154): PradoBase::phpErrorHandler(8, 'Undefined offse...', '/var/www/web/si...', 154, Array)
#1 /var/www/web/prado/framework/Web/UI/TControl.php(1286): MasterPage->onLoad(NULL)
#2 /var/www/web/prado/framework/Web/UI/TControl.php(1293): TControl->loadRecursive()
#3 /var/www/web/prado/framework/Web/UI/TPage.php(210): TControl->loadRecursive()
#4 /var/www/web/prado/framework/Web/UI/TPage.php(193): TPage->processNormalRequest(Object(THtmlWriter))
#5 /var/www/web/prado/framework/Web/Services/TPageService.php(474): TPage->run(Object(THtmlWriter))
#6 /var/www/web/prado/framework/Web/Services/TPageService.php(420): TPageService->runPage(Object(Accueil), Array)
#7 /var/www/web/prado/framework/TApplication.php(1066): TPageService->run()
#8 /var/www/web/prado/framework/TApplication.php(376): TApplication->runService()
#9 /var/www/web/sitephp/index.php(22): TApplication->run()
#10 {main}
2014-12-18 13:14 Apache/2.2.3 (Red Hat) PRADO/3.1.2