On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hello,
    Can somebody help me?
    I've got this message error while trying to update from 2.5.1-pl to 2.6.5. (I installed it with the merge function in Transmit)

    offset'])) $sql.= $offset . ', '; $sql.= $limit . ' '; } $this->sql= $sql; return (!empty ($this->sql)); } } ); ); ); ); ); ); Source { } );
    Fatal error: Class 'xPDOQuery_mysql' not found in .../core/xpdo/xpdo.class.php on line 2603

    Thank you
    Irène [ed. note: perinet last edited this post 9 months ago.]
    • Hello,
      I tried again, and now I see this:
      Fatal error: Call to a member function initialize() on null in .../core/cache/includes/elements/modplugin/2.include.cache.php on line 26
      Can someone help me?

      Thank you
      Irène
      • Anton Tarasov Reply #3, 9 months ago
        Quote from: perinet at Jul 25, 2018, 09:38 AM
        Hello,
        I tried again, and now I see this:
        Fatal error: Call to a member function initialize() on null in .../core/cache/includes/elements/modplugin/2.include.cache.php on line 26
        Can someone help me?

        Thank you
        Irène

        Could you please share here what plugin(plugin ID=2) code do you have on line 26?
          Anton Tarasov
          MODX Developer

          Email: contact@antontarasov.com
          Web: antontarasov.com
        • Hello,
          Thank you for your answer. I did a new installation because I never managed to upgrade an existing site directly :-(
          I missed to install the Extra ACE (I didn't want it anymore), that's why I had this error-message, but only if I wanted to connect to the manager.
          I tried to do a new setup (Upgrade) but it didn't work.
          I am going to reinstall the 2.6.5 Version new - with an empty Database - and then install all my Extras.
          Then I will copy my assets in the assets Folder, import the Database of my former version, and change the ht.access in .htaccess.
          Then it should work !

          Perhaps one day, I will manage to do a direct upgrade !

          Thanks again
          • Hello,
            Now I did my new installation as described, but in the manager it's still written Modx Revolution 2.5.1-pl instead of 2.6.5
            Why?

            Thank you for any explanation
            Irène
            • Try manually deleting all files in the core/cache directory.

              BTW, have you looked at the UpgradeMODX extra? It might make things a lot easier when it's time to upgrade.
                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
              • Quote from: BobRay at Jul 26, 2018, 04:38 AM
                Try manually deleting all files in the core/cache directory.

                BTW, have you looked at the UpgradeMODX extra? It might make things a lot easier when it's time to upgrade.

                Wow GREAT! Thank you very much! I read about this UpgradeMODX but I didn't realise that it's an Extra to install.

                Thanks again, now I have 2.6.5. I will continue, I have some other sites to upgrade...
                God bless you and your team!
                • Thanks for the kind words. My team is me, though I stand on the shoulders of the MODX core developers. wink
                    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
                  • Quote from: BobRay at Jul 26, 2018, 11:10 PM
                    Thanks for the kind words. My team is me, though I stand on the shoulders of the MODX core developers. wink

                    Bob is the original one man army!
                    • Quote from: stefany at Jul 27, 2018, 12:35 AM
                      Quote from: BobRay at Jul 26, 2018, 11:10 PM
                      Thanks for the kind words. My team is me, though I stand on the shoulders of the MODX core developers. wink

                      Bob is the original one man army!

                      He absolutely is! smiley