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

    the site ist up for a while and until know everything was fine.
    Today I want tu update some content. But when I call the manager URL I geht this error:

    Fatal error: Call to a member function getMessage() on a non-object in /www/htdocs/wCCCCC/core/model/modx/modmanagercontroller.class.php on line 623

    What can it be?

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

      • 3749
      • 24,544 Posts
      The first thing to try is deleting all files in the core/cache directory and clearing the browser cache and cookies.

      If that doesn't work, I've seen similar reports caused by the host upgrading PHP.

      It's also possible that the host has made some other change (e.g., file permissions or changes to session handling), but those are less likely.
        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
        • 49710
        • 92 Posts
        Hm...you say that it can be something with the file permissions.

        A few days ago I changed the file permissions from a "subfolder" that has nothing to do with modx.
        It could be that it is what cause the problem.
          • 49710
          • 92 Posts
          The problem ist still there. What can I do to solve the problem?

          I try to delete this files within the cache folder. (it is not possible to delete most of the files, because of permissions)
            • 3749
            • 24,544 Posts
            That's odd. Did you try deleting them on the files tab in the MODX manager?
              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
              • 49710
              • 92 Posts
              I can not login into the manager, because of the error message.
                • 49710
                • 92 Posts
                So, can it be with the permissions? The "FTP-User" and the "PHP-User",
                Is there a list, what Folder und Subfolder from MODX should be associated to the specific user?
                  • 49710
                  • 92 Posts
                  Hm. Ich checket the permissions and it seems that have nothing to to with them.
                  What else can I do? Run Setup again?
                    • 3749
                    • 24,544 Posts
                    Running setup again is always worth trying.

                    You should be able to remove the core/cache files in cPanel or the equivalent.

                    What version of MODX are you running? Some of the early 2.x versions suffer from cache corruption, which can cause your symptoms (and can be fixed temporarily by deleting the core/cache files).

                    Also, check the version of PHP that's running. Your host may have upgraded to a version of PHP that's incompatible with your MODX version.
                      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
                    • discuss.answer
                      • 49710
                      • 92 Posts
                      The problem was me smiley
                      I have copied the wrong config-file to the folder.

                      But thank you for your help and hints.