I recently upgraded to v2.1 on a server running PHP 5.2. The install ran without any errors and all seemed good. I was able to view the updated CMS using a browser that was previously logged in to the Admin/CMS section.
After logging out when I attempted to log in I received the following error:
Fatal error: Call to undefined method stdClass::can() in /home/.furbag/username/dev.siteurl.com/sapphire/core/control/ContentController.php on line 89
I have found the same error when attempting to log in with other browsers.
Has anyone experienced this error or can anyone offer potential solutions?
26 October 2007 at 3:47pm
(Last edited: 26 October 2007 3:48pm),
Core Development Team,
You don't have a homepage (page with URLSegment = 'home' or a page with HomepageForDomain set appropriately) that SilverStripe can find. It's a known problem to do with the new access rights for pages that Marcus did for GSoC.