10809 Posts in 2495 Topics by 1783 members
|Go to End|
28 January 2010 at 11:38am
I'm using two-step workflow mode. When I log in as a user which as a member of "Site Content Authors" and go to the SiteContent in the admin section I receive a "Trying to get property of non-object" error which occurs in SiteTreeCMSTwoStepWorkflow.php (Line 109):
if(!$this->owner->CanPublishType || $this->owner->CanPublishType == 'Anyone') return true;
After some little debugging (or taking a closer look at the error message) it turned out that that object does not have a property owner. Since I imported lots of pages it could be the case that the owner attribute was not set properly. Which field in the database is used for storing it? In table SiteTree I haven't found an OwnerID or something similiar.
Thanks in advance,
|Go to Top|