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

    I just tried to create a chunk on my Modx site and it says 'Chunk Name is Invalid'.

    MODX Revolution 2.2.11-pl (traditional)

    I get 'Uncaught TypeError: Cannot read property 'expand' of undefined' in the console.

    Server : Apache

    PHP Version: 5.3.3

    MySQL Server ver: 5.6.21

    Issue occurred very suddenly, finished one chunk then the error occurred on the next one.

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

      • 3749
      • 24,544 Posts
      What's the name of the chunk?

      BTW, that's a very old version of MODX. Newer versions are much more secure and more reliable.
        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
        • 22840
        • 1,572 Posts
        Just had this on a 2.2.0 version, upgraded to 2.2.16 and that resolved the issue.
          • 46235
          • 15 Posts
          Quote from: BobRay at Jan 18, 2016, 02:30 PM
          What's the name of the chunk?

          Any text be it abc or 123 it causes the same error.

          I will upgrade to a newer version of Modx and see if that solves the issue.
          • discuss.answer
            • 46235
            • 15 Posts
            Quote from: joshratcliffe at Jan 19, 2016, 03:15 AM
            I will upgrade to a newer version of Modx and see if that solves the issue.

            I upgraded the MODX version from MODX Revolution 2.2.11-pl (traditional) to MODX Revolution 2.4.2-pl and the issue has been fixed