beats23 Posted December 6 Posted December 6 I install Beta6 on a copy of my live website. When I try to display a Pages App article, the web page is blank and gives these two errors. Do you have any idea if the issue is a bug? [[Template core/front/global/widgetArea is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] [[Template core/front/global/sidebar is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Error logs. Quote TypeError: count(): Argument #1 ($value) must be of type Countable|array, IPS\Widget\Area given in /Users/beats23/Sites/www.My-WebSite.com/system/Output/Output.php:1599 Stack trace: #0 /Users/beats23/Sites/www.My-WebSite.com/system/Output/Output.php(1578): IPS\Output->sidebarHasContent() #1 /Users/beats23/Sites/www.My-WebSite.com/static/templates/core_front_global.php(19940): IPS\Output->showSidebar() #2 /Users/beats23/Sites/www.My-WebSite.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->sidebar() #3 /Users/beats23/Sites/www.My-WebSite.com/static/templates/core_front_global.php(8139): IPS\Theme\SandboxedTemplate->__call('sidebar', Array) #4 /Users/beats23/Sites/www.My-WebSite.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->globalTemplate('GM Panasonic Ra...', '\n<div id="elCms...', Array) #5 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Dispatcher.php(192): IPS\Theme\SandboxedTemplate->__call('globalTemplate', Array) #6 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Standard.php(133): IPS\Dispatcher->finish() #7 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Front.php(678): IPS\Dispatcher\Standard->finish() #8 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Dispatcher.php(171): IPS\Dispatcher\Front->finish() #9 /Users/beats23/Sites/www.My-WebSite.com/index.php(16): IPS\Dispatcher->run() #10 {main} BackTrace #0 /Users/beats23/Sites/www.My-WebSite.com/system/Theme/SandboxedTemplate.php(78): IPS\Log::log('TypeError: coun...', 'template_error') #1 /Users/beats23/Sites/www.My-WebSite.com/static/templates/core_front_global.php(8139): IPS\Theme\SandboxedTemplate->__call('sidebar', Array) #2 /Users/beats23/Sites/www.My-WebSite.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->globalTemplate('GM Panasonic Ra...', '\n<div id="elCms...', Array) #3 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Dispatcher.php(192): IPS\Theme\SandboxedTemplate->__call('globalTemplate', Array) #4 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Standard.php(133): IPS\Dispatcher->finish() #5 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Front.php(678): IPS\Dispatcher\Standard->finish() #6 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Dispatcher.php(171): IPS\Dispatcher\Front->finish() #7 /Users/beats23/Sites/www.My-WebSite.com/index.php(16): IPS\Dispatcher->run() #8 {main} ———————————————————————————————————— Error: Call to undefined method IPS\cms\Records1::canUnfeature() in /Users/beats23/Sites/www.My-WebSite.com/applications/cms/sources/Theme/Theme.php(612) : eval()'d code:2588 Stack trace: #0 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/modules/front/database/record.php(403): IPS\Theme\class_cms_database_Tutorials_RecordDisplay->record(Object(IPS\cms\Records1), '\n<div data-cont...', NULL, NULL) #1 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\database\record->manage() #2 /Users/beats23/Sites/www.My-WebSite.com/system/Content/Controller.php(125): IPS\Dispatcher\Controller->execute() #3 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/sources/Databases/Dispatcher.php(372): IPS\Content\Controller->execute() #4 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/widgets/Database.php(153): IPS\cms\Databases\Dispatcher->run() #5 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Widget.php(1753): IPS\cms\widgets\Database->render() #6 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Area.php(914): IPS\Widget::createWidgetFromStoredData(Array) #7 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Area.php(883): IPS\Widget\Area->getWidgetContent() #8 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Area.php(891): IPS\Widget\Area->totalVisibleWidgets() #9 /Users/beats23/Sites/www.My-WebSite.com/static/templates/core_front_global.php(23190): IPS\Widget\Area->totalVisibleWidgets() #10 /Users/beats23/Sites/www.My-WebSite.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->widgetArea(Object(IPS\Widget\Area)) #11 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Area.php(273): IPS\Theme\SandboxedTemplate->__call('widgetArea', Array) #12 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/sources/Pages/Page.php(2168): IPS\Widget\Area->__toString() #13 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/sources/Pages/Page.php(2068): IPS\cms\Pages\Page->getPageContent() #14 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/modules/front/pages/page.php(122): IPS\cms\Pages\Page->output() #15 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/modules/front/pages/page.php(49): IPS\cms\modules\front\pages\page->view() #16 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\pages\page->manage() #17 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute() #18 /Users/beats23/Sites/www.My-WebSite.com/index.php(16): IPS\Dispatcher->run() #19 {main} Backtrace #0 /Users/beats23/Sites/www.My-WebSite.com/system/Theme/SandboxedTemplate.php(78): IPS\Log::log('Error: Call to ...', 'template_error') #1 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Area.php(273): IPS\Theme\SandboxedTemplate->__call('widgetArea', Array) #2 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/sources/Pages/Page.php(2168): IPS\Widget\Area->__toString() #3 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/sources/Pages/Page.php(2068): IPS\cms\Pages\Page->getPageContent() #4 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/modules/front/pages/page.php(122): IPS\cms\Pages\Page->output() #5 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/modules/front/pages/page.php(49): IPS\cms\modules\front\pages\page->view() #6 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\pages\page->manage() #7 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute() #8 /Users/beats23/Sites/www.My-WebSite.com/index.php(16): IPS\Dispatcher->run() #9 {main} ———————————————————————————————————— SELECT * FROM `cmlo_core_theme_editor_settings` AS `core_theme_editor_settings` IPS\Db\Exception: Table 'My-WebSite.cmlo_core_theme_editor_settings' doesn't exist (1146) #0 /Users/beats23/Sites/www.My-WebSite.com/system/Db/Select.php(402): IPS\Db->preparedQuery('/*My-WebSite_r...', Array, true) #1 /Users/beats23/Sites/www.My-WebSite.com/system/Db/Select.php(460): IPS\Db\Select->runQuery() #2 [internal function]: IPS\Db\Select->rewind() #3 /Users/beats23/Sites/www.My-WebSite.com/system/Theme/Editor/Setting.php(205): IteratorIterator->rewind() #4 /Users/beats23/Sites/www.My-WebSite.com/system/Theme/Theme.php(490): IPS\Theme\Editor\Setting::loadAllKeys() #5 /Users/beats23/Sites/www.My-WebSite.com/system/Theme/Theme.php(367): IPS\Theme::themes() #6 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Standard.php(82): IPS\Theme::i() #7 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Front.php(902): IPS\Dispatcher\Standard::baseCss() #8 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Front.php(143): IPS\Dispatcher\Front::baseCss() #9 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Dispatcher.php(126): IPS\Dispatcher\Front->init() #10 /Users/beats23/Sites/www.My-WebSite.com/index.php(16): IPS\Dispatcher::i() #11 {main} Error: Call to undefined method IPS\cms\Records1::canUnfeature() in /Users/beats23/Sites/www.My-WebSite.com/applications/cms/sources/Theme/Theme.php(612) : eval()'d code:2713 Stack trace: #0 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/modules/front/database/record.php(403): IPS\Theme\class_cms_database_Tutorials_RecordDisplay->record(Object(IPS\cms\Records1), '\n<div data-cont...', NULL, true) #1 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\database\record->manage() #2 /Users/beats23/Sites/www.My-WebSite.com/system/Content/Controller.php(125): IPS\Dispatcher\Controller->execute() #3 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/sources/Databases/Dispatcher.php(372): IPS\Content\Controller->execute() #4 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/widgets/Database.php(153): IPS\cms\Databases\Dispatcher->run() #5 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Widget.php(1753): IPS\cms\widgets\Database->render() #6 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Area.php(914): IPS\Widget::createWidgetFromStoredData(Array) #7 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Area.php(883): IPS\Widget\Area->getWidgetContent() #8 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Area.php(891): IPS\Widget\Area->totalVisibleWidgets() #9 /Users/beats23/Sites/www.My-WebSite.com/static/templates/core_front_global.php(23190): IPS\Widget\Area->totalVisibleWidgets() #10 /Users/beats23/Sites/www.My-WebSite.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->widgetArea(Object(IPS\Widget\Area)) #11 /Users/beats23/Sites/www.My-WebSite.com/system/Widget/Area.php(273): IPS\Theme\SandboxedTemplate->__call('widgetArea', Array) #12 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/sources/Pages/Page.php(2168): IPS\Widget\Area->__toString() #13 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/sources/Pages/Page.php(2068): IPS\cms\Pages\Page->getPageContent() #14 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/modules/front/pages/page.php(122): IPS\cms\Pages\Page->output() #15 /Users/beats23/Sites/www.My-WebSite.com/applications/cms/modules/front/pages/page.php(49): IPS\cms\modules\front\pages\page->view() #16 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\pages\page->manage() #17 /Users/beats23/Sites/www.My-WebSite.com/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute() #18 /Users/beats23/Sites/www.My-WebSite.com/index.php(16): IPS\Dispatcher->run() #19 {main}
Adriano Faria Posted December 6 Posted December 6 The sidebar can be fixed with this: Beta 7 must be out today so it is worth waiting. Marc 1
beats23 Posted December 6 Author Posted December 6 1 hour ago, Adriano Faria said: The sidebar can be fixed with this: Beta 7 must be out today so it is worth waiting. Thanks, that fixed the first error. No luck with the other error.
Adriano Faria Posted December 6 Posted December 6 Just now, beats23 said: Thanks, that fixed the first error. No luck with the other error. I just replied to your report.
Recommended Posts