- Status: Pending
On my forum overview I get the following error message (a little further down between some subforums):
[[Template forums/front/index/forumGridItem is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
I can't find a solution in the support tool, except for various entries in the log showing in the support tool:
214x
Error: Call to a member function link() on null in /home/USER/www.DOMAIN.TLD/static/templates/forums_front_index.php:713 Stack trace: #0 /home/USER/www.DOMAIN.TLD/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_index->forumGridItem() #1 /home/USER/www.DOMAIN.TLD/static/templates/forums_front_index.php(2713): IPS\Theme\SandboxedTemplate->__call() #2 /home/USER/www.DOMAIN.TLD/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_index->index() #3 /home/USER/www.DOMAIN.TLD/applications/forums/modules/front/forums/index.php(252): IPS\Theme\SandboxedTemplate->__call() #4 /home/USER/www.DOMAIN.TLD/system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\index->manage() #5 /home/USER/www.DOMAIN.TLD/applications/forums/modules/front/forums/index.php(76): IPS\Dispatcher\Controller->execute() #6 /home/USER/www.DOMAIN.TLD/system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\index->execute() #7 /home/USER/www.DOMAIN.TLD/index.php(16): IPS\Dispatcher->run() #8 {main}
118x
ParseError: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/USER/www.DOMAIN.TLD/system/Theme/Theme.php(4300) : eval()'d code:8 Stack trace: #0 /home/USER/www.DOMAIN.TLD/applications/cms/sources/Pages/Page.php(1214): IPS\_Theme::runProcessFunction('\tfunction conte...', 'content_pages_7') #1 /home/USER/www.DOMAIN.TLD/applications/cms/sources/Pages/Page.php(2286): IPS\cms\Pages\_Page->getHtmlContent() #2 /home/USER/www.DOMAIN.TLD/applications/cms/modules/front/pages/page.php(73): IPS\cms\Pages\_Page->output() #3 /home/USER/www.DOMAIN.TLD/applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view() #4 /home/USER/www.DOMAIN.TLD/system/Dispatcher/Controller.php(96): IPS\cms\modules\front\pages\_page->manage() #5 /home/USER/www.DOMAIN.TLD/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute() #6 /home/USER/www.DOMAIN.TLD/system/Dispatcher/Dispatcher.php(146): IPS\cms\modules\front\pages\_page->execute() #7 /home/USER/www.DOMAIN.TLD/index.php(12): IPS\_Dispatcher->run() #8 {main}
17x
TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given (0) #0 /home/USER/www.DOMAIN.TLD/system/Member/Member.php(919): count() #1 /home/USER/www.DOMAIN.TLD/system/Patterns/ActiveRecord.php(307): IPS\_Member->get_groups() #2 /home/USER/www.DOMAIN.TLD/system/Member/Member.php(1873): IPS\Patterns\_ActiveRecord->__get() #3 /home/USER/www.DOMAIN.TLD/applications/cms/extensions/core/FrontNavigation/Pages.php(114): IPS\_Member->inGroup() #4 /home/USER/www.DOMAIN.TLD/system/Theme/Theme.php(824) : eval()'d code(8458): IPS\cms\extensions\core\FrontNavigation\_Pages->canView() #5 /home/USER/www.DOMAIN.TLD/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_core_front_global->navBarItems() #6 /home/USER/www.DOMAIN.TLD/system/Theme/Theme.php(824) : eval()'d code(8687): IPS\Theme\_SandboxedTemplate->__call() #7 /home/USER/www.DOMAIN.TLD/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_core_front_global->navBarItems() #8 /home/USER/www.DOMAIN.TLD/system/Theme/Theme.php(824) : eval()'d code(8221): IPS\Theme\_SandboxedTemplate->__call() #9 /home/USER/www.DOMAIN.TLD/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_core_front_global->navBar() #10 /home/USER/www.DOMAIN.TLD/system/Theme/Theme.php(824) : eval()'d code(5639): IPS\Theme\_SandboxedTemplate->__call() #11 /home/USER/www.DOMAIN.TLD/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_core_front_global->globalTemplate() #12 /home/USER/www.DOMAIN.TLD/system/Output/Output.php(623): IPS\Theme\_SandboxedTemplate->__call() #13 /home/USER/www.DOMAIN.TLD/init.php(449) : eval()'d code(26): IPS\_Output->error() #14 /home/USER/www.DOMAIN.TLD/system/Dispatcher/Front.php(93): IPS\cms_hook_Output->error() #15 /home/USER/www.DOMAIN.TLD/system/Dispatcher/Dispatcher.php(103): IPS\Dispatcher\_Front->init() #16 /home/USER/www.DOMAIN.TLD/index.php(12): IPS\_Dispatcher::i() #17 {main}
16x
Error: Undefined constant "IPS\HTMLENTITIES" in /home/USER/www.DOMAIN.TLD/system/Theme/Theme.php(891) : eval()'d code:5397 Stack trace: #0 /home/USER/www.DOMAIN.TLD/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate() #1 /home/USER/www.DOMAIN.TLD/system/Output/Output.php(823): IPS\Theme\_SandboxedTemplate->__call() #2 /home/USER/www.DOMAIN.TLD/init.php(947) : eval()'d code(26): IPS\_Output->error() #3 /home/USER/www.DOMAIN.TLD/system/Dispatcher/Front.php(127): IPS\cms_hook_Output->error() #4 /home/USER/www.DOMAIN.TLD/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init() #5 /home/USER/www.DOMAIN.TLD/index.php(13): IPS\_Dispatcher::i() #6 {main}
16x
Error: Undefined constant "IPS\HTMLENTITIES" in /home/USER/www.DOMAIN.TLD/system/Theme/Theme.php(891) : eval()'d code:3897 Stack trace: #0 /home/USER/www.DOMAIN.TLD/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->error() #1 /home/USER/www.DOMAIN.TLD/system/Output/Output.php(823): IPS\Theme\_SandboxedTemplate->__call() #2 /home/USER/www.DOMAIN.TLD/init.php(947) : eval()'d code(26): IPS\_Output->error() #3 /home/USER/www.DOMAIN.TLD/system/Dispatcher/Front.php(127): IPS\cms_hook_Output->error() #4 /home/USER/www.DOMAIN.TLD/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init() #5 /home/USER/www.DOMAIN.TLD/index.php(13): IPS\_Dispatcher::i() #6 {main}
The template is original and without any changes (after an update from 4.x to 5.x yesterday).
Recommended Comments