Fatal error after updating - "Fatal error: Call to a member function validate() on boolean"

Permalink
Updated from 5.5.2.1 to 5.6.3.4 (using the Dashboard) and it said it completed successfully, but when clicking the "Back to Home" button the site now throws this error:

Fatal error: Call to a member function validate() on boolean in /var/www/vhosts/94/243508/webspace/httpdocs/mydomain.com/updates/concrete5.6.3.4/concrete/core/models/permission/access/model.php on line 51

No idea what to do next.

Looked at that file and this is the code referenced:

public function validateAndFilterAccessEntities($accessEntities) {
      $entities = array();
      foreach($accessEntities as $ae) {
         if ($ae->validate($this)) {
            $entities[] = $ae;
         }
      }
      return $entities;
   }


Please help!!

thanks

platypusman
 
platypusman replied on at Permalink Reply
platypusman
Well it seems to have somehow fixed itself after a time... I don't know why.

I got the exact same error on the local version (using MAMP) when I updated:

Fatal error: Call to a member function validate() on boolean in /Users/dust/Dropbox/Public/MAMP-sites/mysite.com/updates/concrete5.6.3.4/concrete/core/models/permission/access/model.php on line 51

After quitting MAMP and restarting the server, it worked fine.

For future reference, does anyone know if there is something I could / should have done on my webhost or server (refresh or restart or something)?...

thanks!

dustin
schommes replied on at Permalink Reply
Dear Dustin,

have you ever found out, what the problem really was? I am faced with the exact same situation all the way down to the code you posted. Did the code change somehow after the problem disappears? Unfortunately in my case the situation persists.

Best regards, Thomas