We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 54334
    • 3 Posts
    Hello, everyone.

    I've been reading this forum for a long time, but I've always solved bugs with already created post. But now I need help.

    I have updated modx to version 2.6.4 . I have the resource created as article but now when I trying to open it shows me the following message

    " This page isn’t working
    --- is currently unable to handle this request.
    HTTP ERROR 500"


    If I create the new resource it's working but the old I can't open

    I need the old resource because I have all articles inside.

    Any idea how to make that page work?

    Thanks for the help.

    This question has been answered by BobRay. See the first response.

    • discuss.answer
      • 3749
      • 24,544 Posts
      That usually means that some snippet on the page or template (or in a plugin) contains a syntax error or other problem. PHP 7 (I assume that's what you have) is much less forgiving than earlier versions and will throw a very unhelpful 500 error at the drop of a hat.

      It's worth checking the MODX error log: Manage->Reports->Error Log
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 54334
        • 3 Posts
        Quote from: BobRay at Jun 25, 2018, 11:27 PM
        That usually means that some snippet on the page or template (or in a plugin) contains a syntax error or other problem. PHP 7 (I assume that's what you have) is much less forgiving than earlier versions and will throw a very unhelpful 500 error at the drop of a hat.

        It's worth checking the MODX error log: Manage->Reports->Error Log

        Thanks Bob for answering.

        Yes, I have PHP 7 but the problem if I create other Article Resources, it's working but the old not working and inside I have the all posts.

        I checked the Error log and only I have this line

        [2018-06-26 09:24:27] (ERROR in resource 2656 @ /paas/c0350/www/core/model/modx/modparser.class.php : 1372) Bad link tag `[[~]]` encountered


        it's more strange that working when I create new with the same templates

          • 54334
          • 3 Posts
          I found the error.

          Custom template variable integrated into the template.

          Thanks Bob
            • 3749
            • 24,544 Posts
            I'm glad you got it sorted. Thanks for reporting back. smiley
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting