Jump to content
  • [[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.]]


    All my databases show this error 😞

    [[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.]]


    User Feedback

    Recommended Comments

    Marc

    Posted

    Please could you let me know what is showing in your system logs?

    Jimi Wikman

    Posted

    Error: Call to undefined method IPS\cms\Records15::canUnfeature() in /home/jimiwikm/beta.jimiwikman.se/applications/cms/sources/Theme/Theme.php(612) : eval()'d code:2050
    Stack trace:
    #0 /home/jimiwikm/beta.jimiwikman.se/applications/cms/modules/front/database/record.php(403): IPS\Theme\class_cms_database_display->record()
    #1 /home/jimiwikm/beta.jimiwikman.se/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\database\record->manage()
    #2 /home/jimiwikm/beta.jimiwikman.se/system/Content/Controller.php(122): IPS\Dispatcher\Controller->execute()
    #3 /home/jimiwikm/beta.jimiwikman.se/applications/cms/sources/Databases/Dispatcher.php(368): IPS\Content\Controller->execute()
    #4 /home/jimiwikm/beta.jimiwikman.se/applications/cms/widgets/Database.php(142): IPS\cms\Databases\Dispatcher->run()
    #5 /home/jimiwikm/beta.jimiwikman.se/system/Widget/Widget.php(1736): IPS\cms\widgets\Database->render()
    #6 /home/jimiwikm/beta.jimiwikman.se/system/Widget/Area.php(904): IPS\Widget::createWidgetFromStoredData()
    #7 /home/jimiwikm/beta.jimiwikman.se/system/Widget/Area.php(873): IPS\Widget\Area->getWidgetContent()
    #8 /home/jimiwikm/beta.jimiwikman.se/system/Widget/Area.php(881): IPS\Widget\Area->totalVisibleWidgets()
    #9 /home/jimiwikm/beta.jimiwikman.se/static/templates/core_front_global.php(23144): IPS\Widget\Area->totalVisibleWidgets()
    #10 /home/jimiwikm/beta.jimiwikman.se/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->widgetArea()
    #11 /home/jimiwikm/beta.jimiwikman.se/system/Widget/Area.php(270): IPS\Theme\SandboxedTemplate->__call()
    #12 /home/jimiwikm/beta.jimiwikman.se/applications/cms/sources/Pages/Page.php(2177): IPS\Widget\Area->__toString()
    #13 /home/jimiwikm/beta.jimiwikman.se/applications/cms/sources/Pages/Page.php(2071): IPS\cms\Pages\Page->getPageContent()
    #14 /home/jimiwikm/beta.jimiwikman.se/applications/cms/modules/front/pages/page.php(122): IPS\cms\Pages\Page->output()
    #15 /home/jimiwikm/beta.jimiwikman.se/applications/cms/modules/front/pages/page.php(49): IPS\cms\modules\front\pages\page->view()
    #16 /home/jimiwikm/beta.jimiwikman.se/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\pages\page->manage()
    #17 /home/jimiwikm/beta.jimiwikman.se/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
    #18 /home/jimiwikm/beta.jimiwikman.se/index.php(16): IPS\Dispatcher->run()
    #19 {main}

    Backtrace:

    #0 /home/jimiwikm/beta.jimiwikman.se/system/Theme/SandboxedTemplate.php(78): IPS\Log::log()
    #1 /home/jimiwikm/beta.jimiwikman.se/system/Widget/Area.php(270): IPS\Theme\SandboxedTemplate->__call()
    #2 /home/jimiwikm/beta.jimiwikman.se/applications/cms/sources/Pages/Page.php(2177): IPS\Widget\Area->__toString()
    #3 /home/jimiwikm/beta.jimiwikman.se/applications/cms/sources/Pages/Page.php(2071): IPS\cms\Pages\Page->getPageContent()
    #4 /home/jimiwikm/beta.jimiwikman.se/applications/cms/modules/front/pages/page.php(122): IPS\cms\Pages\Page->output()
    #5 /home/jimiwikm/beta.jimiwikman.se/applications/cms/modules/front/pages/page.php(49): IPS\cms\modules\front\pages\page->view()
    #6 /home/jimiwikm/beta.jimiwikman.se/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\pages\page->manage()
    #7 /home/jimiwikm/beta.jimiwikman.se/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
    #8 /home/jimiwikm/beta.jimiwikman.se/index.php(16): IPS\Dispatcher->run()
    #9 {main}

     

    Esther E.

    Posted

    You've got an old database template in there. Maybe it was modified and therefore not overwritten? Can you revert to default? 

    Jimi Wikman

    Posted

    It seems that for some reason I had a modification in the Display template.

    I created a new standard Template and now things work again.

    Jimi Wikman

    Posted

    @Esther E. since there seems to be plenty of issues with the Pages Templates, would you suggest that we clean those out before making an upgrade and then recreate them after the upgrade?

    Also reset all databases to the default templates I assume is a recommendation before upgrades?


×
×
  • Create New...