We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39291
    • 19 Posts
    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 5 years, 9 months ago.]
      • 39291
      • 19 Posts
      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
        • 44064
        • 185 Posts
        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: [email protected]
          Web: antontarasov.com
          • 39291
          • 19 Posts
          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
            • 39291
            • 19 Posts
            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
              • 3749
              • 24,544 Posts
              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
                • 39291
                • 19 Posts
                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!
                  • 3749
                  • 24,544 Posts
                  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
                    • 53161
                    • 130 Posts
                    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