Notice: Object of class stdClass could not be converted to int in /var/www/html/application/models/TemplateConfiguration.php on line 1527 Notice: Object of class stdClass could not be converted to int in /var/www/html/application/models/TemplateConfiguration.php on line 1527 Notice: Object of class stdClass could not be converted to int in /var/www/html/application/models/TemplateConfiguration.php on line 1527 Recoverable error Object of class stdClass could not be converted to string /var/www/html/application/models/TemplateConfiguration.php(1591) 1579 gT("Small screens"), 1580 gT("Off")), 1581 $value 1582 ); 1583 } else { 1584 $oOptions[$key] = str_replace( 1585 array('on', 'off', 'top', 'bottom'), 1586 array( 1587 gT("Yes"), 1588 gT("No"), 1589 gT("Top"), 1590 gT("Bottom")), 1591 $value 1592 ); 1593 } 1594 } 1595 return $oOptions; 1596 } 1597 } Stack Trace #0 – /var/www/html/application/models/TemplateConfiguration.php(1591): str_replace(array("on", "off", "top", "bottom"), array("Yes", "No", "Top", "Bottom"), stdClass) 1586 array( 1587 gT("Yes"), 1588 gT("No"), 1589 gT("Top"), 1590 gT("Bottom")), 1591 $value 1592 ); 1593 } 1594 } 1595 return $oOptions; 1596 } #1 – /var/www/html/application/models/TemplateConfiguration.php(1021): TemplateConfiguration::translateOptionLabels(array("container" => stdClass, "zebrastriping" => stdClass, "stickymatrixheaders" => stdClass, "greyoutselected" => stdClass, ...)) 1016 $oTemplate->setToInherit(); 1017 $oTemplate->setOptions(); 1018 $oTemplate->setOptionInheritance(); 1019 1020 $oOptions = (array) $oSimpleInheritanceTemplate->oOptions; 1021 $oOptions = TemplateConfiguration::translateOptionLabels($oOptions); 1022 1023 //We add some extra values to the option page 1024 //This is just a dirty hack, and somewhere in the future we will correct it 1025 $renderArray['oParentOptions'] = array_merge( 1026 ($oOptions), #2 + /var/www/html/framework/base/CComponent.php(111): TemplateConfiguration->getOptionPage() #3 + /var/www/html/framework/db/ar/CActiveRecord.php(145): CComponent->__get("optionPage") #4 – /var/www/html/application/models/TemplateConfiguration.php(1479): CActiveRecord->__get("optionPage") 1474 // NOTE: this is object recursive (if parent configuration field is set to inherit, 1475 // then it will lead to this method again.) 1476 $sAttribute = $this->getParentConfiguration()->$name; 1477 } 1478 } else { 1479 $sAttribute = parent::__get($name); 1480 } 1481 1482 return $sAttribute; 1483 } 1484 #5 + /var/www/html/application/controllers/admin/themeoptions.php(602): TemplateConfiguration->__get("optionPage") #6 + /var/www/html/application/controllers/admin/themeoptions.php(245): themeoptions->updateCommon(TemplateConfiguration) #7 unknown(0): themeoptions->update("6") #8 + /var/www/html/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(themeoptions, array("6")) #9 + /var/www/html/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal(themeoptions, ReflectionMethod, array("id" => "6", "sa" => "update", "iId" => "6")) #10 + /var/www/html/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("id" => "6", "sa" => "update", "iId" => "6")) #11 + /var/www/html/framework/web/CController.php(286): CController->runAction(themeoptions) #12 + /var/www/html/framework/web/CController.php(265): CController->runActionWithFilters(themeoptions, array()) #13 + /var/www/html/application/controllers/AdminController.php(180): CController->run("themeoptions") #14 + /var/www/html/framework/web/CWebApplication.php(282): AdminController->run("themeoptions") #15 + /var/www/html/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/themeoptions/sa/update") #16 + /var/www/html/framework/base/CApplication.php(185): CWebApplication->processRequest() #17 + /var/www/html/index.php(182): CApplication->run() 2020-05-08 13:55:46 Apache/2.4.38 (Debian) Yii Framework/1.1.22-dev