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

    Just upgraded from 202 to 204

    but frontend shows error:


    Fatal error: Call to a member function getPrimaryKey() on a non-object in /var/www/vhosts/researchaustralia.org/httpdocs/core/model/modx/modaccessibleobject.class.php on line 26


    I’m restoring my backup now but would to love to know how to avoid the error?

    Environment:
    Revo 2.0.2 pl
    mysql 5.1.48 (client api version 4.1.22)
    php 5.2.13 suPHP
    apache 2.0.52
    pdo_mysql installed
      |
      • 19534
      • 183 Posts
      I’m facing the same error. I upgraded from 2.0.3

      Revo 2.0.3 pl
      mysql 5.1.48 (client api version 5.0.7)
      php 5.3.3 CGI/FastCGI
      IIS7
      pdo_mysql installed

      This error occurs only when I access the frontend and I’m not logged into manager.
      The manager works, after logging in the frontend, too.
      But after logout the frontend doesn’t work (see error posted by no below).
        Add-On to easily manage your multilingual sites: Babel
        • 16633
        • 116 Posts
        I am using 2.0.4 and just experienced the same issue. I set up some pages to be protected for members and get this error when trying access them when not being logged in.

        Let me know if you find a fix.
          --
          Landon Poburan
          Web Designer and Developer

          http://www.categorycode.ca
          http://www.landonp.com
          • 16633
          • 116 Posts
          Quote from: landonpoburan at Oct 27, 2010, 01:10 PM

          I am using 2.0.4 and just experienced the same issue. I set up some pages to be protected for members and get this error when trying access them when not being logged in.

          Let me know if you find a fix.

          This was due to the resource group issue in 2.0.4pl upgrading to pl2 fixes issue.
            --
            Landon Poburan
            Web Designer and Developer

            http://www.categorycode.ca
            http://www.landonp.com