TPhpErrorException

Description

[Notice] Trying to get property of non-object (@line 55 in file /var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/protected/pages/Contenu/RenderContenu.php).

Source File

/var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/protected/pages/Contenu/RenderContenu.php (55)

0044:                     }
0045:                     
0046:                     $this->contenu->Controls[]=$article->texte."<div style='clear:both'></div>";
0047:                 }
0048:             }else{
0049:                 $sousrub=$m->findOneByCriteria("ob.isactif=1 and ob.parent.uuid='".$p->uuid."' order by ob.ordre ASC");
0050:                 if(!empty($sousrub))
0051:                     $this->Response->redirect(ConfigSite::$pathAbsolute.$sousrub->parent->urlrewriting."/rubrique-".$sousrub->urlrewriting.".html");
0052:             }
0053:         }
0054: 
0055: if ($p->metaTitle != "")
0056: $this->Master->myhead->myhead->Title = $p->metaTitle; 0057: if ($p->metaDescription != "") 0058: $this->Master->myhead->description->Text = $p->metaDescription; 0059: 0060: 0061: } 0062: 0063: public function getTitrePage(){ 0064: $req = $this->Request; 0065: $oid = $req->itemAt("uuid"); 0066: $m = new RubriqueManager(); 0067: $p = $m->findOneByCriteria("ob.oid='".BDUtils::cleanQuery($oid)."' and ob.isactif=1");

Stack Trace

#0 /var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/protected/pages/Contenu/RenderContenu.php(55): PradoBase::phpErrorHandler(8, 'Trying to get p...', '/var/www/vhosts...', 55, Array)
#1 /var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/framework/prado-3.1.7/framework/Web/UI/TControl.php(1313): RenderContenu->onPreRender(NULL)
#2 /var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/framework/prado-3.1.7/framework/Web/UI/TPage.php(220): TControl->preRenderRecursive()
#3 /var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/framework/prado-3.1.7/framework/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#4 /var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/framework/prado-3.1.7/framework/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#5 /var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/framework/prado-3.1.7/framework/Web/Services/TPageService.php(444): TPageService->runPage(Object(RenderContenu), Array)
#6 /var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/framework/prado-3.1.7/framework/TApplication.php(1095): TPageService->run()
#7 /var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/framework/prado-3.1.7/framework/TApplication.php(382): TApplication->runService()
#8 /var/www/vhosts/scp-aubert-sidney-notaires.fr/httpdocs/index.php(28): TApplication->run()
#9 {main}
2020-07-15 06:09 Apache PRADO/3.1.7