TPhpErrorException

Description

[Runtime Notice] Declaration of home::onLoad() should be compatible with TControl::onLoad($param) (@line 65 in file /customers/c/a/8/blodtyper.dk/httpd.www/front/protected/pages/home.php).

Source File

/customers/c/a/8/blodtyper.dk/httpd.www/prado313/Web/Services/TPageService.php (443)

0432:         $path=$this->getBasePath().DIRECTORY_SEPARATOR.strtr($pagePath,'.',DIRECTORY_SEPARATOR);
0433:         $hasTemplateFile=is_file($path.self::PAGE_FILE_EXT);
0434:         $hasClassFile=is_file($path.Prado::CLASS_FILE_EXT);
0435: 
0436:         if(!$hasTemplateFile && !$hasClassFile)
0437:             throw new THttpException(404,'pageservice_page_unknown',$pagePath);
0438: 
0439:         if($hasClassFile)
0440:         {
0441:             $className=basename($path);
0442:             if(!class_exists($className,false))
0443: include_once($path.Prado::CLASS_FILE_EXT);
0444: } 0445: else 0446: { 0447: $className=$this->getBasePageClass(); 0448: Prado::using($className); 0449: if(($pos=strrpos($className,'.'))!==false) 0450: $className=substr($className,$pos+1); 0451: } 0452: 0453: if(!class_exists($className,false) || ($className!=='TPage' && !is_subclass_of($className,'TPage'))) 0454: throw new THttpException(404,'pageservice_page_unknown',$pagePath); 0455:

Stack Trace

#0 /customers/c/a/8/blodtyper.dk/httpd.www/prado313/Web/Services/TPageService.php(443): PradoBase::phpErrorHandler(2048, 'Declaration of ...', '/customers/c/a/...', 65, Array)
#1 /customers/c/a/8/blodtyper.dk/httpd.www/prado313/Web/Services/TPageService.php(443): TPageService::createPage()
#2 /customers/c/a/8/blodtyper.dk/httpd.www/prado313/Web/Services/TPageService.php(419): TPageService->createPage('home')
#3 /customers/c/a/8/blodtyper.dk/httpd.www/prado313/TApplication.php(1091): TPageService->run()
#4 /customers/c/a/8/blodtyper.dk/httpd.www/prado313/TApplication.php(382): TApplication->runService()
#5 /customers/c/a/8/blodtyper.dk/httpd.www/front/index.php(25): TApplication->run()
#6 {main}
2015-03-02 11:07 Apache PRADO/3.1.3