/home/www/resatest.fr/htdocs/protected/views/user/createnew.php(118)
106 <script type="text/javascript" 107 src="//www.googleadservices.com/pagead/conversion_async.js"> 108 </script> 109 110 <?php 111 112 $town_name = $appointmentInfo['town_name']; 113 $start_date = date("d-m-Y", strtotime($appointmentInfo['param_date'])); 114 115 $timeStart = DateTime::createFromFormat('Y-m-d H:i', sprintf("%s %s", $appointmentInfo['param_date'], date('H:i', $appointmentInfo['time_start']))); 116 $timeEnd = DateTime::createFromFormat('Y-m-d H:i', sprintf("%s %s", $appointmentInfo['param_date'], date('H:i', $appointmentInfo['time_end']))); 117 118 $start = $timeStart->format(DateTime::ISO8601); 119 $end = $timeEnd->format(DateTime::ISO8601); 120 121 $region_code = $appointmentInfo['region_code']; 122 $region_name = $appointmentInfo['region_name']; 123 $app_region_name_url = Service::createUrlFromString($region_name); 124 $app_town_url = Service::createUrlFromString($town_name); 125 $code_postal = $appointmentInfo['code_postal']; 126 $app_address = $appointmentInfo['center_address']; 127 128 $microdata .= <<<microdata 129 { 130 "@context": "http://schema.org",
#0 |
+
–
/home/www/resatest.fr/htdocs/framework/web/CBaseController.php(126): require() 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#1 |
+
–
/home/www/resatest.fr/htdocs/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/www/resatest.fr/htdocs/protected/views/user/createnew.php", array("appointmentInfo" => array("name" => "PHP Notice", "message" => "Trying to get property 'townPrice' of non-object", "code" => 8, "type" => "yii\base\ErrorException", ...), "coordinates" => array(), "annulationReason" => array(4 => "Vitesse", 5 => "Alcool", 6 => "Stupéfiants", 7 => "Accident", ...), "annulationSuspension" => array(5 => "Annulation 6 mois ou plus", 4 => "Annulation moins de 6 mois", 8 => "Autre", 7 => "Suspension 6 mois ou plus", ...)), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#2 |
+
–
/home/www/resatest.fr/htdocs/framework/web/CController.php(872): CBaseController->renderFile("/home/www/resatest.fr/htdocs/protected/views/user/createnew.php", array("appointmentInfo" => array("name" => "PHP Notice", "message" => "Trying to get property 'townPrice' of non-object", "code" => 8, "type" => "yii\base\ErrorException", ...), "coordinates" => array(), "annulationReason" => array(4 => "Vitesse", 5 => "Alcool", 6 => "Stupéfiants", 7 => "Accident", ...), "annulationSuspension" => array(5 => "Annulation 6 mois ou plus", 4 => "Annulation moins de 6 mois", 8 => "Autre", 7 => "Suspension 6 mois ou plus", ...)), true) 867 */ 868 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 869 { 870 if(($viewFile=$this->getViewFile($view))!==false) 871 { 872 $output=$this->renderFile($viewFile,$data,true); 873 if($processOutput) 874 $output=$this->processOutput($output); 875 if($return) 876 return $output; 877 else |
#3 |
+
–
/home/www/resatest.fr/htdocs/framework/web/CController.php(785): CController->renderPartial("createnew", array("appointmentInfo" => array("name" => "PHP Notice", "message" => "Trying to get property 'townPrice' of non-object", "code" => 8, "type" => "yii\base\ErrorException", ...), "coordinates" => array(), "annulationReason" => array(4 => "Vitesse", 5 => "Alcool", 6 => "Stupéfiants", 7 => "Accident", ...), "annulationSuspension" => array(5 => "Annulation 6 mois ou plus", 4 => "Annulation moins de 6 mois", 8 => "Autre", 7 => "Suspension 6 mois ou plus", ...)), true) 780 */ 781 public function render($view,$data=null,$return=false) 782 { 783 if($this->beforeRender($view)) 784 { 785 $output=$this->renderPartial($view,$data,true); 786 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 787 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 788 789 $this->afterRender($view,$output); 790 |
#4 |
+
–
/home/www/resatest.fr/htdocs/protected/controllers/UserController.php(469): CController->render("createnew", array("appointmentInfo" => array("name" => "PHP Notice", "message" => "Trying to get property 'townPrice' of non-object", "code" => 8, "type" => "yii\base\ErrorException", ...), "coordinates" => array(), "annulationReason" => array(4 => "Vitesse", 5 => "Alcool", 6 => "Stupéfiants", 7 => "Accident", ...), "annulationSuspension" => array(5 => "Annulation 6 mois ou plus", 4 => "Annulation moins de 6 mois", 8 => "Autre", 7 => "Suspension 6 mois ou plus", ...))) 464 465 $this->render('createnew', [ 466 'appointmentInfo' => $appointmentInfo, 467 'coordinates' => $coordinates, 468 'annulationReason' => $annulationReason, 469 'annulationSuspension'=> $annulationSuspension 470 ] 471 ); 472 } 473 } 474 |
#5 |
+
–
/home/www/resatest.fr/htdocs/framework/web/actions/CInlineAction.php(49): UserController->actionCreate() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#6 |
+
–
/home/www/resatest.fr/htdocs/framework/web/CController.php(311): CInlineAction->runWithParams(array("time_start" => "1670927400", "time_end" => "1670929200", "region_name" => "val-d-oise", "town" => "pontoise", ...)) 306 { 307 $priorAction=$this->_action; 308 $this->_action=$action; 309 if($this->beforeAction($action)) 310 { 311 if($action->runWithParams($this->getActionParams())===false) 312 $this->invalidActionParams($action); 313 else 314 $this->afterAction($action); 315 } 316 $this->_action=$priorAction; |
#7 |
+
–
/home/www/resatest.fr/htdocs/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction) 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#8 |
+
–
/home/www/resatest.fr/htdocs/framework/web/filters/CFilter.php(40): CFilterChain->run() 35 */ 36 public function filter($filterChain) 37 { 38 if($this->preFilter($filterChain)) 39 { 40 $filterChain->run(); 41 $this->postFilter($filterChain); 42 } 43 } 44 45 /** |
#9 |
+
–
/home/www/resatest.fr/htdocs/framework/web/CController.php(1197): CFilter->filter(CFilterChain) 1192 */ 1193 public function filterAccessControl($filterChain) 1194 { 1195 $filter=new CAccessControlFilter; 1196 $filter->setRules($this->accessRules()); 1197 $filter->filter($filterChain); 1198 } 1199 1200 /** 1201 * Returns a persistent page state value. 1202 * A page state is a variable that is persistent across POST requests of the same page. |
#10 |
+
–
/home/www/resatest.fr/htdocs/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain) 53 * @param CFilterChain $filterChain the filter chain that the filter is on. 54 */ 55 public function filter($filterChain) 56 { 57 $method='filter'.$this->name; 58 $filterChain->controller->$method($filterChain); 59 } 60 } |
#11 |
+
–
/home/www/resatest.fr/htdocs/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain) 125 { 126 if($this->offsetExists($this->filterIndex)) 127 { 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#12 |
+
–
/home/www/resatest.fr/htdocs/framework/web/CController.php(294): CFilterChain->run() 289 $this->runAction($action); 290 else 291 { 292 $priorAction=$this->_action; 293 $this->_action=$action; 294 CFilterChain::create($this,$action,$filters)->run(); 295 $this->_action=$priorAction; 296 } 297 } 298 299 /** |
#13 |
+
–
/home/www/resatest.fr/htdocs/framework/web/CController.php(268): CController->runActionWithFilters(CInlineAction, array("accessControl", "postOnly + delete, confirm, cancel")) 263 { 264 if(($parent=$this->getModule())===null) 265 $parent=Yii::app(); 266 if($parent->beforeControllerAction($this,$action)) 267 { 268 $this->runActionWithFilters($action,$this->filters()); 269 $parent->afterControllerAction($this,$action); 270 } 271 } 272 else 273 $this->missingAction($actionID); |
#14 |
+
–
/home/www/resatest.fr/htdocs/framework/web/CWebApplication.php(282): CController->run("create") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#15 |
+
–
/home/www/resatest.fr/htdocs/framework/web/CWebApplication.php(141): CWebApplication->runController("user/create") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#16 |
+
–
/home/www/resatest.fr/htdocs/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#17 |
+
–
/home/www/resatest.fr/htdocs/index.php(14): CApplication->run() 09 defined('YII_DEBUG') or define('YII_DEBUG',true); 10 // specify how many levels of call stack should be shown in each log message 11 //defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 12 13 require_once($yii); 14 Yii::createWebApplication($config)->run(); |