hallo,
i added a new usergroup and new user in my Backend. After that i logged out and tried to login as a new user of the new usergroup.
But than i got this massege in my browser:
---------------
[Notice] Trying to get property of non-object
GET /silverstripe/admin/
Line 243 in C:\xampp\htdocs\silverstripe\sapphire\security\Group.php
Source
234 return $familyIDs;
235 }
236
237 /**
238 * Returns an array of the IDs of this group and all its parents
239 */
240 public function collateAncestorIDs() {
241 $parent = $this;
242 while(isset($parent)) {
243 $items[] = $parent->ID;
244 $parent = $parent->Parent;
245 }
246 return $items;
247 }
248
249 /**
Trace
* Group->collateAncestorIDs()
Line 669 of Member.php
* Member->Groups()
Line 257 of Permission.php
* Permission::groupList(3)
Line 160 of Permission.php
* Permission::checkMember(Member,CMS_ACCESS_CMSMain)
Line 86 of LeftAndMain.php
* LeftAndMain->canView()
Line 123 of LeftAndMain.php
* LeftAndMain->init()
Line 84 of CMSMain.php
* CMSMain->init()
Line 110 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 277 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/admin/)
Line 118 of main.php
-------------------
What is wrong? What can i do now?
Thanks a lot...