PHP notice Object of class stdClass could not be converted to int /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/models/TemplateConfiguration.php(1527) 1515 [':template_name'=>$this->template_name] 1516 ); 1517 } 1518 1519 /** 1520 * Get showpopups value from config or template configuration 1521 */ 1522 public function getshowpopups() 1523 { 1524 $config = (int) App()->getConfig('showpopups'); 1525 if ($config == 2) { 1526 if (isset($this->oOptions->showpopups)) { 1527 $this->showpopups = (int)$this->oOptions->showpopups; 1528 } else { 1529 $this->showpopups = 1; 1530 } 1531 } else { 1532 $this->showpopups = $config; 1533 } 1534 } 1535 1536 /** 1537 * Set each option key value to 'inherit' instead of having only one 'inherit' value for options. 1538 * Keys are fetched from parent xml configuration. 1539 */ Stack Trace #0 – /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/models/TemplateConfig.php(162): TemplateConfiguration->getshowpopups() 157 $this->setBasics($sTemplateName, $iSurveyId, $bUseMagicInherit); 158 $this->setMotherTemplates(); // Recursive mother templates configuration 159 $this->setThisTemplate(); // Set the main config values of this template 160 $this->createTemplatePackage($this); // Create an asset package ready to be loaded 161 $this->removeFiles(); 162 $this->getshowpopups(); 163 164 if (!empty($sTemplateName) && !empty($iSurveyId)) { 165 self::$aPreparedToRender[$sTemplateName][$iSurveyId][$bUseMagicInherit] = $this; 166 } 167 return $this; #1 – /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/models/TemplateConfiguration.php(1158): TemplateConfig->prepareTemplateRendering("vanilla", null) 1153 { 1154 if (!empty($this->template->extends)) { 1155 $sMotherTemplateName = $this->template->extends; 1156 $instance = TemplateConfiguration::getInstanceFromTemplateName($sMotherTemplateName); 1157 $instance->template->checkTemplate(); 1158 $this->oMotherTemplate = $instance->prepareTemplateRendering($sMotherTemplateName, null); 1159 } 1160 } 1161 1162 /** 1163 * @todo document me #2 – /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/models/TemplateConfig.php(158): TemplateConfiguration->setMotherTemplates() 153 self::$aPreparedToRender[$sTemplateName][$iSurveyId][$bUseMagicInherit] = array(); 154 } 155 } 156 157 $this->setBasics($sTemplateName, $iSurveyId, $bUseMagicInherit); 158 $this->setMotherTemplates(); // Recursive mother templates configuration 159 $this->setThisTemplate(); // Set the main config values of this template 160 $this->createTemplatePackage($this); // Create an asset package ready to be loaded 161 $this->removeFiles(); 162 $this->getshowpopups(); 163 #3 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/models/Template.php(505): TemplateConfig->prepareTemplateRendering("fruity", null) #4 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/controllers/SurveysController.php(34): Template::getInstance("fruity") #5 unknown(0): SurveysController->actionPublicList("en") #6 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SurveysController, array(null)) #7 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(SurveysController, ReflectionMethod, array()) #8 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CController.php(308): CInlineAction->runWithParams(array()) #9 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CController.php(286): CController->runAction(CInlineAction) #10 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) #11 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CWebApplication.php(282): CController->run("") #12 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CWebApplication.php(141): CWebApplication->runController("") #13 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/base/CApplication.php(185): CWebApplication->processRequest() #14 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/index.php(182): CApplication->run() 2020-06-08 14:10:58 Apache Yii Framework/1.1.22-dev