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/TemplateConfiguration.php(824): TemplateConfig->prepareTemplateRendering("4GR") #4 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/base/CComponent.php(111): TemplateConfiguration->getHasOptionPage() #5 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/db/ar/CActiveRecord.php(145): CComponent->__get("hasOptionPage") #6 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/models/TemplateConfiguration.php(1479): CActiveRecord->__get("hasOptionPage") #7 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/models/TemplateConfiguration.php(735): TemplateConfiguration->__get("hasOptionPage") #8 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/base/CComponent.php(111): TemplateConfiguration->getButtons() #9 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/db/ar/CActiveRecord.php(145): CComponent->__get("buttons") #10 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/models/TemplateConfiguration.php(1479): CActiveRecord->__get("buttons") #11 /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/base/CComponent.php(614) : eval()'d code(1): TemplateConfiguration->__get("buttons") #12 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/base/CComponent.php(614): eval() #13 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/zii/widgets/grid/CDataColumn.php(142): CComponent->evaluateExpression("$data->buttons", array("data" => TemplateConfiguration, "row" => 0)) #14 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/zii/widgets/grid/CGridColumn.php(231): CDataColumn->getDataCellContent(0) #15 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/zii/widgets/grid/CGridColumn.php(154): CGridColumn->renderDataCellContent(0, TemplateConfiguration) #16 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/zii/widgets/grid/CGridView.php(639): CGridColumn->renderDataCell(0) #17 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/zii/widgets/grid/CGridView.php(623): CGridView->renderDataCell(TbDataColumn, 0) #18 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/zii/widgets/grid/CGridView.php(579): CGridView->renderTableRow(0) #19 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/zii/widgets/grid/CGridView.php(489): CGridView->renderTableBody() #20 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/zii/widgets/CBaseListView.php(181): CGridView->renderItems() #21 unknown(0): CBaseListView->renderSection(array("{items}", "items")) #22 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/zii/widgets/CBaseListView.php(164): preg_replace_callback("/{(\w+)}/", array(TbGridView, "renderSection"), "{items}
{pager}
<...") #23 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/zii/widgets/CBaseListView.php(149): CBaseListView->renderContent() #24 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CBaseController.php(182): CBaseListView->run() #25 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/views/admin/themeoptions/surveythemelist.php(88): CBaseController->widget("bootstrap.widgets.TbGridView", array("dataProvider" => CActiveDataProvider, "filter" => TemplateConfiguration, "id" => "themeoptions-grid", "summaryText" => "Displaying {start}-{end} of {count} result(s).
renderInternal("/usr/home/chrislt/public_html/guernseyresearch.com/survey/applic...", array("oSurveyTheme" => TemplateConfiguration, "pageSize" => 10), true) #28 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CController.php(872): CBaseController->renderFile("/usr/home/chrislt/public_html/guernseyresearch.com/survey/applic...", array("oSurveyTheme" => TemplateConfiguration, "pageSize" => 10), true) #29 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/controllers/AdminController.php(240): CController->renderPartial("themeoptions/surveythemelist", array("oSurveyTheme" => TemplateConfiguration, "pageSize" => 10), false, false) #30 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/views/admin/themeoptions/index.php(39): AdminController->renderPartial("themeoptions/surveythemelist", array("oSurveyTheme" => TemplateConfiguration, "pageSize" => 10)) #31 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CBaseController.php(126): require("/usr/home/chrislt/public_html/guernseyresearch.com/survey/applic...") #32 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CBaseController.php(95): CBaseController->renderInternal("/usr/home/chrislt/public_html/guernseyresearch.com/survey/applic...", array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...), true) #33 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CController.php(872): CBaseController->renderFile("/usr/home/chrislt/public_html/guernseyresearch.com/survey/applic...", array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...), true) #34 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/controllers/AdminController.php(240): CController->renderPartial("/admin/themeoptions/index", array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...), true, false) #35 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/core/Survey_Common_Action.php(274): AdminController->renderPartial("/admin/themeoptions/index", array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...), true) #36 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/core/Survey_Common_Action.php(357): Survey_Common_Action->renderCentralContents("themeoptions", array("index"), array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...)) #37 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/controllers/admin/themeoptions.php(425): Survey_Common_Action->_renderWrappedTemplate("themeoptions", "index", array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...)) #38 unknown(0): themeoptions->index() #39 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(themeoptions, array()) #40 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal(themeoptions, ReflectionMethod, array()) #41 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array()) #42 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CController.php(286): CController->runAction(themeoptions) #43 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CController.php(265): CController->runActionWithFilters(themeoptions, array()) #44 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/application/controllers/AdminController.php(180): CController->run("themeoptions") #45 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CWebApplication.php(282): AdminController->run("themeoptions") #46 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/themeoptions") #47 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/framework/base/CApplication.php(185): CWebApplication->processRequest() #48 + /usr/home/chrislt/public_html/guernseyresearch.com/survey/index.php(182): CApplication->run() 2020-05-29 23:26:33 Apache Yii Framework/1.1.22-dev