We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17838
    • 82 Posts
    My whole MODx Revolution has stopped working.

    Fatal error: Cannot access protected property xPDOQuery_mysql::$sql in /home/refleksolog/ftp/nobilelibrary/core/xpdo/om/xpdoobject.class.php on line 285


    what could it be?
      • 28215
      • 4,149 Posts
      - What’s your PHP/MySQL version?
      - Did you happen to set the system setting cache_db to 0? Set it to 1 if so.

      Try deleting the core/cache/config.inc.php file.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 17838
        • 82 Posts
        I haven’t set the system setting cachae_db to 0.
        But I fix that problem - deleted /core/cache/config.inc.php

        How to prevent that in the future?
          • 28215
          • 4,149 Posts
          Not sure - I dont know what caused it, so it’s hard to tell you not to do whatever caused it (or fix it) again. tongue
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com