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

    I'm hoping someone can help me out. I've successfully launched a Modx Revo 2.2.4 site and all is running well. The client wanted me to setup a dev/test site at a subdomain for them to use for training. I copied over all site files and created a new db (it runs on a different server as well). The site is up and running, however if you're viewing/editing a resource in the manager and then click "view" to view the page in the site I get the following error:
    Fatal error: Call to a member function checkForExpiredSubscriptions() on a non-object in C:\siteroot\core\cache\includes\elements\modplugin\7.include.cache.php on line 40

    In case it makes a difference, the site is running on IIS7 with URL Rewrite Module installed as well as web.config with Modx Friendly URL Rewrite rules.

    The only way to work around this is to save change to the resource, log out of the manager and then go to the front end of the site. Any thoughts on how to resolve this issue would be greatly appreciated.

    Regards,
    Phill [ed. note: peelay last edited this post 13 years, 10 months ago.]
      • 10487 MODX Staff
      • 1,535 Posts
      The error is originated in a plugin you have running (plugin with ID 7), I would start there in debugging what the issue could be. Looks like perhaps there is some difference between the two environments that wasn't accounted for in the move that could be causing the error.
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com
        • 38865
        • 10 Posts
        Hi Garry,

        I probably should have prefaced my request with the fact that I'm relatively new to MODX as well wink You were bang on, I'm not sure why that specific plugin didn't like the server move (SubscribeMe) but reinstalling it did the trick. I also now know that the # in the url points to the ID of the plugin, I hadn't realized that. Will make future trouble shooting easier as well.

        Thanks for your help!
        Regards,
        Phill