I have a revival project, so I decided to be a guinea pig for upgrading a production site.
The articles page, as well as all articles are giving a 500 error. I tried deleted old template files as well as creating a new page, but each is triggering an error.
Articles Page - 500 Error
I'll share a few logs below. If you need me to give back-end access, just say the word. I knew what I signed up for 😉
System Log
TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /static/templates/core_front_global.php:16685
Stack trace:
#0 /system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->reactionOverview()
#1 /static/templates/core_front_global.php(5882): IPS\Theme\SandboxedTemplate->__call()
#2 /system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->featuredComment()
#3 /static/templates/core_front_global.php(5956): IPS\Theme\SandboxedTemplate->__call()
#4 /system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->featuredComments()
#5 /static/templates/forums_front_topics.php(3946): IPS\Theme\SandboxedTemplate->__call()
#6 /system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->topic()
#7 /applications/forums/modules/front/forums/topic.php(713): IPS\Theme\SandboxedTemplate->__call()
#8 /system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\topic->manage()
#9 /system/Content/Controller.php(122): IPS\Dispatcher\Controller->execute()
#10 /applications/forums/modules/front/forums/topic.php(82): IPS\Content\Controller->execute()
#11 /system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\topic->execute()
#12 /index.php(16): IPS\Dispatcher->run()
#13 {main}
Backtrace
#0 /system/Theme/SandboxedTemplate.php(78): IPS\Log::log()
#1 /static/templates/core_front_global.php(5882): IPS\Theme\SandboxedTemplate->__call()
#2 /system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->featuredComment()
#3 /static/templates/core_front_global.php(5956): IPS\Theme\SandboxedTemplate->__call()
#4 /system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->featuredComments()
#5 /static/templates/forums_front_topics.php(3946): IPS\Theme\SandboxedTemplate->__call()
#6 /system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->topic()
#7 /applications/forums/modules/front/forums/topic.php(713): IPS\Theme\SandboxedTemplate->__call()
#8 /system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\topic->manage()
#9 /system/Content/Controller.php(122): IPS\Dispatcher\Controller->execute()
#10 /applications/forums/modules/front/forums/topic.php(82): IPS\Content\Controller->execute()
#11 /system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\topic->execute()
#12 /index.php(16): IPS\Dispatcher->run()
#13 {main}
Error creating new page
EX0 Something went wrong. Please try again.
Error: Call to undefined method IPS\cms\Pages\PageItem::tags() (0)
#0 /system/Content/Search/Elastic/Index.php(186): IPS\Content\Search\Elastic\Index->metaData()
#1 /system/Content/Search/Elastic/Index.php(207): IPS\Content\Search\Elastic\Index->indexData()
#2 /applications/cms/sources/Pages/Page.php(1676): IPS\Content\Search\Elastic\Index->index()
#3 /system/Node/Model.php(3675): IPS\cms\Pages\Page->postSaveForm()
#4 /system/Node/Controller.php(472): IPS\Node\Model->saveForm()
#5 /applications/cms/modules/admin/pages/pages.php(234): IPS\Node\Controller->form()
#6 /system/Dispatcher/Controller.php(128): IPS\cms\modules\admin\pages\pages->form()
#7 /system/Node/Controller.php(117): IPS\Dispatcher\Controller->execute()
#8 /applications/cms/modules/admin/pages/pages.php(79): IPS\Node\Controller->execute()
#9 /system/Dispatcher/Dispatcher.php(169): IPS\cms\modules\admin\pages\pages->execute()
#10 /admin/index.php(15): IPS\Dispatcher->run()
#11 {main}
Recommended Comments