We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36551
    • 416 Posts
    I'm getting a fatal error on the front-end of this site I'm working on. It occurs only when MIGX is installed. Does not affect the back-end.

    Fatal error: Call to a member function getSource() on a non-object in /home/content/xx/xxxxxxxxx/html/core/cache/includes/elements/modsnippet/89.include.cache.php on line 136

    line 136 is this: $migx->source = $tv->getSource($migx->working_context, false);

    So I uninstalled MIGX, upgraded modx from 2-2.12 to 2.2.13. Reinstalled MIGX. No effect. I did notice after I uninstalled MIGX but before I upgraded Modx, that the migx tables were still present in the DB. Is that normal?

    I'm also seeing this in the modx error log, but I don't know if it is related or not.

    [2014-03-23 14:17:20] (ERROR @ /connectors/lang.js.php) Error caching lexicon topic lexicon/en/core/resource

    PHP Version 5.3.24

    Not sure how to approach solving this one. Any suggestions?

    Thanks!
      • 4172
      • 5,888 Posts
      in the getImageList - snippet, change this lines:

          }
          $migx->source = $tv->getSource($migx->working_context, false);


      to
              $migx->source = $tv->getSource($migx->working_context, false);
          }

        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 36551
        • 416 Posts
        Bruno Thanks!

        That did the trick. Is this a situation-specific problem or a bug?
          • 4172
          • 5,888 Posts
          this is a bug, fixed with the next version.
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 36551
            • 416 Posts
            Cool. Thanks!