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

    I recently installed the latest version of MIGx: 2.3.2
    I am currently running MODx revolution 2.2.0 pl2 on Apache.

    The upgrade appeared to go well, however when MODx tries to render a TV I get the following JS error:

    Uncaught Syntax, Unexpected Token ,
        ,
    	,loadData: function(){
    


    I can see from the above that there is an extra comma being added, however if I open up the file that adds the above, there is only one comma!
    I have tried to disable JS compression and cleared the cache etc, but still the problem remains?

    Anyone else have a solution or come across this problem before?

    Cheers,

    Justin
      • 20093
      • 81 Posts
      I've recently encountered this issue as well. I tried upgrading MIGX to the most recent version on Github. This causes the grid to render correctly but any attempts to add items to it gives the following error:

      could not find any of these processor-files:
      /Users/nick/projects/cmstesting/core/components/migx/processors/mgr/default/collectmigxitems.php
      /Users/nick/projects/cmstesting/core/components/migx/processors/mgr/default/collectmigxitems.php


      This is happening on Revo 2.2.6-pl

      I wonder if you'd get a better response if you posted this to the MIGX Forum at https://forums.modx.com/board/?board=271
        • 20093
        • 81 Posts
        FYI, Bruno recently updated MIGX to 2.4.0-pl, which fixes your issue and the issue I mentioned I was having. You can wait for it to show up in your updates or grab the transport package off the github page: https://github.com/Bruno17/MIGX

        Related discussion here: https://forums.modx.com/thread/83243/build-folder-for-source-from-github-repo

        Or did you find a different solution to your problem?
          • 15083
          • 697 Posts
          Hi MokoJumbie,

          Thanks for the reply.
          In my case my JS files were from an older version of MIGx, as the component did not upgrade properly.

          When I manually deleted the files and re-installed, it was fine!
          Thanks for sharing this fix.

          J