Jump to content
  • Beta 8 template error


    I get these error from a clean beta 8 install when I try to visit the Pages article app.

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

    TypeError: IPS\Http\Url::internal(): Argument #4 ($seoTitles) must be of type array|string, null given, called in /Users/beats23/Sites/My-Website/applications/cms/sources/Categories/Categories.php on line 1329 and defined in /Users/beats23/Sites/My-Website/system/Http/Url.php:157
    Stack trace:
    #0 /Users/beats23/Sites/My-Website/applications/cms/sources/Categories/Categories.php(1329): IPS\Http\Url::internal('app=cms&module=...', 'front', 'content_page_pa...', NULL)
    #1 /Users/beats23/Sites/My-Website/applications/cms/sources/Theme/Theme.php(723) : eval()'d code(97): IPS\cms\Categories->url()
    #2 /Users/beats23/Sites/My-Website/applications/cms/sources/Theme/Theme.php(723) : eval()'d code(499): IPS\Theme\class_cms_database_category_articles->entry(Object(IPS\cms\Records1), Object(IPS\cms\Databases))
    #3 /Users/beats23/Sites/My-Website/applications/cms/modules/front/database/index.php(197): IPS\Theme\class_cms_database_category_articles->index(Object(IPS\cms\Databases), Object(IPS\Patterns\ActiveRecordIterator), Object(IPS\Http\Url\Friendly), Array)
    #4 /Users/beats23/Sites/My-Website/applications/cms/modules/front/database/index.php(77): IPS\cms\modules\front\database\index->view()
    #5 /Users/beats23/Sites/My-Website/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\database\index->manage()
    #6 /Users/beats23/Sites/My-Website/applications/cms/sources/Databases/Dispatcher.php(372): IPS\Dispatcher\Controller->execute()
    #7 /Users/beats23/Sites/My-Website/applications/cms/widgets/Database.php(153): IPS\cms\Databases\Dispatcher->run()
    #8 /Users/beats23/Sites/My-Website/system/Widget/Widget.php(1737): IPS\cms\widgets\Database->render()
    #9 /Users/beats23/Sites/My-Website/system/Widget/Area.php(914): IPS\Widget::createWidgetFromStoredData(Array)
    #10 /Users/beats23/Sites/My-Website/system/Widget/Area.php(883): IPS\Widget\Area->getWidgetContent()
    #11 /Users/beats23/Sites/My-Website/system/Widget/Area.php(891): IPS\Widget\Area->totalVisibleWidgets()
    #12 /Users/beats23/Sites/My-Website/static/templates/core_front_global.php(23264): IPS\Widget\Area->totalVisibleWidgets()
    #13 /Users/beats23/Sites/My-Website/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->widgetArea(Object(IPS\Widget\Area))
    #14 /Users/beats23/Sites/My-Website/system/Widget/Area.php(273): IPS\Theme\SandboxedTemplate->__call('widgetArea', Array)
    #15 /Users/beats23/Sites/My-Website/applications/cms/sources/Pages/Page.php(2168): IPS\Widget\Area->__toString()
    #16 /Users/beats23/Sites/My-Website/applications/cms/sources/Pages/Page.php(2068): IPS\cms\Pages\Page->getPageContent()
    #17 /Users/beats23/Sites/My-Website/applications/cms/modules/front/pages/page.php(122): IPS\cms\Pages\Page->output()
    #18 /Users/beats23/Sites/My-Website/applications/cms/modules/front/pages/page.php(49): IPS\cms\modules\front\pages\page->view()
    #19 /Users/beats23/Sites/My-Website/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\pages\page->manage()
    #20 /Users/beats23/Sites/My-Website/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
    #21 /Users/beats23/Sites/My-Website/index.php(16): IPS\Dispatcher->run()
    #22 {main}
    
    BACKTRACE
    #0 /Users/beats23/Sites/My-Website/system/Theme/SandboxedTemplate.php(78): IPS\Log::log('TypeError: IPS\\...', 'template_error')
    #1 /Users/beats23/Sites/My-Website/system/Widget/Area.php(273): IPS\Theme\SandboxedTemplate->__call('widgetArea', Array)
    #2 /Users/beats23/Sites/My-Website/applications/cms/sources/Pages/Page.php(2168): IPS\Widget\Area->__toString()
    #3 /Users/beats23/Sites/My-Website/applications/cms/sources/Pages/Page.php(2068): IPS\cms\Pages\Page->getPageContent()
    #4 /Users/beats23/Sites/My-Website/applications/cms/modules/front/pages/page.php(122): IPS\cms\Pages\Page->output()
    #5 /Users/beats23/Sites/My-Website/applications/cms/modules/front/pages/page.php(49): IPS\cms\modules\front\pages\page->view()
    #6 /Users/beats23/Sites/My-Website/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\pages\page->manage()
    #7 /Users/beats23/Sites/My-Website/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
    #8 /Users/beats23/Sites/My-Website/index.php(16): IPS\Dispatcher->run()
    #9 {main}
    -----------------------------------------------------------------------------
    
    
    TypeError: IPS\Http\Url::setQueryString(): Argument #1 ($keyOrArray) must be of type array|string, null given, called in /Users/beats23/Sites/My-Website/applications/cms/modules/front/pages/page.php on line 104 (0)
    #0 /Users/beats23/Sites/My-Website/applications/cms/modules/front/pages/page.php(104): IPS\Http\Url->setQueryString(NULL, NULL)
    #1 /Users/beats23/Sites/My-Website/applications/cms/modules/front/pages/page.php(49): IPS\cms\modules\front\pages\page->view()
    #2 /Users/beats23/Sites/My-Website/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\pages\page->manage()
    #3 /Users/beats23/Sites/My-Website/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()
    #4 /Users/beats23/Sites/My-Website/index.php(16): IPS\Dispatcher->run()
    #5 {main}
    
    
    BACKTRACE
    #0 /Users/beats23/Sites/My-Website/init.php(827): IPS\Log::log('TypeError: IPS\\...', 'uncaught_except...')
    #1 [internal function]: IPS\IPS::exceptionHandler(Object(TypeError))
    #2 {main}

     


    User Feedback

    Recommended Comments

    beats23

    Posted

    Is there a manual quick fix?

    Not having to wait until beta 9?

    Marc

    Posted

    9 hours ago, beats23 said:

    Is there a manual quick fix?

    Not having to wait until beta 9?

    As the beta was only released yesterday, its likely nobody has seen this to resolve the issue yet. There wont always be quick fixes between betas though. Could I ask if you have custom blocks on there? Im not able to replicate this one myself.

    beats23

    Posted

    21 minutes ago, Marc said:

    As the beta was only released yesterday, its likely nobody has seen this to resolve the issue yet. There wont always be quick fixes between betas though. Could I ask if you have custom blocks on there? Im not able to replicate this one myself.

    No custom blocks. It’s a clean empty beta 8 install with no added data. 

    Marc

    Posted

    Please could you point me in the direction of that install?

    beats23

    Posted

    The install is on my Mac local host. 

    Marc

    Posted

    Im unable to replicate this unfortunately.

    Marc

    Posted

    Changed Status to Cannot Reproduce


×
×
  • Create New...