Jump to content
  • Beta 1 - Articles Page gets 500 error


    Mike G.
    • Status: Moved to Github

    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}


    User Feedback

    Recommended Comments

    While I appreciate your enthusiam, it would be worth having a read of the original post on the beta here 🙂 

     

    I can take a look and see if its anything obvious that can be resolved for you, however your access details are not correct at the moment. If you need it back quickly, you would need to revert to your backup

    Link to comment
    Share on other sites

    On 10/11/2024 at 4:21 AM, Marc said:

    While I appreciate your enthusiam, it would be worth having a read of the original post on the beta here 🙂 

     

    I can take a look and see if its anything obvious that can be resolved for you, however your access details are not correct at the moment. If you need it back quickly, you would need to revert to your backup

    Hey Marc, I updated the access details, so admin access should work now if it's needed or helpful.

    I expected bugs and issues with the beta, so I don't mind being one of the guinea pigs for the upgrade process on my less active site if it can help the dev process. I'm holding off upgrading my more active community until things are more stable.

    Thanks for the help!

    Link to comment
    Share on other sites

    7 hours ago, Marc said:

    Those access details appear to be incorrect unfortunately

    This is for the domain fanclubs.org. I just regenerated the password and logged in without issue, but please let me know if you're still having issues. Thanks, Marc.

    Edited by Mike G.
    Link to comment
    Share on other sites

    18 hours ago, Mike G. said:

    This is for the domain fanclubs.org. I just regenerated the password and logged in without issue, but please let me know if you're still having issues. Thanks, Marc.

    Just noted Matt got it anyway, so will be fixed in the next beta

    Link to comment
    Share on other sites


×
×
  • Create New...