Jump to content
  • Pages app not working


    Unable to use the Pages app. Every time I access it, the following error appears. Note: this is a new installation, and the only third-party app I installed was Discord for Invision Community 5, but the error was already occurring well before I installed it.

    TypeError: IPS\cms\Pages\Page::getSortableName(): Return value must be of type string, null returned (0)
    #0 /home/astronis/public_html/applications/cms/sources/Pages/Folder.php(61): IPS\cms\Pages\Page->getSortableName()
    #1 /home/astronisastronisastronisastronis/public_html/applications/cms/modules/admin/pages/pages.php(391): IPS\cms\Pages\Folder::munge(Array, Array)
    #2 /home/astronisastronisastronis/public_html/applications/cms/modules/admin/pages/pages.php(107): IPS\cms\modules\admin\pages\pages::getRowsForTree(0)
    #3 /home/astronisastronis/public_html/system/Helpers/Tree/Tree.php(144): IPS\cms\modules\admin\pages\pages->IPS\cms\modules\admin\pages\{closure}(NULL)
    #4 /home/astronis/public_html/applications/cms/modules/admin/pages/pages.php(103): IPS\Helpers\Tree\Tree->__toString()
    #5 /home/astronis/public_html/system/Dispatcher/Controller.php(139): IPS\cms\modules\admin\pages\pages->manage()
    #6 /home/astronis/public_html/system/Node/Controller.php(117): IPS\Dispatcher\Controller->execute()
    #7 /home/astronis/public_html/applications/cms/modules/admin/pages/pages.php(79): IPS\Node\Controller->execute()
    #8 /home/astronis/public_html/system/Dispatcher/Dispatcher.php(169): IPS\cms\modules\admin\pages\pages->execute()
    #9 /home/astronis/public_html/admin/index.php(15): IPS\Dispatcher->run()
    #10 {main}

    image.thumb.png.1d863bb0a09c6cdf8923082db121dd37.png


    User Feedback

    Recommended Comments

    Astronis

    Posted (edited)

    9 minutes ago, Esther E. said:

    And was already fixed with the patch. 

    What fix? The last one I applied was the one below, but it didn't fix this problem.

    Edit: the error still persists even after applying the patch, unfortunately.

    image.thumb.png.21fb0eb80f27810fa3d8ec363ca3c328.png

    Edited by Astronis
    Astronis

    Posted

    2 hours ago, opentype said:

    Yeah, I still have that error as well. 

    @Esther E. Is there any other patch?

    • The only patch I applied was the one I mentioned above; it did not fix the problem.
    • Since my community is in its early stages, I deleted everything and did a new installation (I downloaded it again directly from the Client Area).
    • After that, I can use the pages normally now.

    However, I think it would be interesting to check how to solve it without having to reinstall from scratch.

    FeigelInc

    Posted

    I have the error message still when I try to go to pages, so it's not fixed.

    Gary

    Posted

    11 hours ago, Astronis said:

    @Esther E. Is there any other patch?

    • The only patch I applied was the one I mentioned above; it did not fix the problem.
    • Since my community is in its early stages, I deleted everything and did a new installation (I downloaded it again directly from the Client Area).
    • After that, I can use the pages normally now.

    However, I think it would be interesting to check how to solve it without having to reinstall from scratch.

    Just for clarification, the latest patch is the one provided by Matt in the post you linked to.

    Esther E.

    Posted

    Unfortunately the only way to get rid of that right now is to delete the bad record from the database. 

    I can put a fix through for the next Beta that will handle the error, but it will be a few days before we do another one, I think. 

    FeigelInc

    Posted

    How do you figure out what the bad record is? Delete everything?

    opentype

    Posted

    Check the table containing the pages (cms_pages). Does the latest entry contain lots of empty fields in contrast to all other rows? That should be the trouble-maker. 

    FeigelInc

    Posted

    Fixed I think, just deleted the nulled one.

    Madhouseau

    Posted

    You mentioned Discord for Invision 5? Where did you find that?

    Astronis

    Posted (edited)

    7 hours ago, Madhouseau said:

    Você mencionou Discord para Invision 5? Onde você encontrou isso?

    It's a paid app, but extremely essential for the project I'm creating, made by @Jon Erickson. It's still in Beta and has some bugs, the developer responsible has quickly fixed several of them, and given me all the necessary support since the first day of acquisition.

    It's not just login via Discord, it also syncs usernames and roles.

    https://www.invisioneer.org/files/file/441-discord-integration/

    https://www.deschutesdesigngroup.com/projects

     

    Edited by Astronis
    Sinistra Sensei

    Posted

    On 12/14/2024 at 2:00 PM, Esther E. said:

    And was already fixed with the patch. 

    If you are referring to the patch @Matt put in the beta 8 topic, did not work for me.

    Esther E.

    Posted

    1 hour ago, Sinistra Sensei said:

    If you are referring to the patch @Matt put in the beta 8 topic, did not work for me.

    You would still have to delete the record.

    Sinistra Sensei

    Posted

    2 hours ago, Esther E. said:

    You would still have to delete the record.

    I am not deleting 124 records just to find the one that is broken. there has to be a better solution

    Esther E.

    Posted

    4 hours ago, Sinistra Sensei said:

    I am not deleting 124 records just to find the one that is broken. there has to be a better solution

    There is a fix in the next beta. 😉

    Marc

    Posted

    Changed Status to Duplicate


×
×
  • Create New...