Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when creating new group #9

Open
tardinha opened this issue Aug 28, 2015 · 2 comments
Open

Error when creating new group #9

tardinha opened this issue Aug 28, 2015 · 2 comments

Comments

@tardinha
Copy link

I get this when trying to create a new group

PHP Fatal error:  Call to a member function getConfig() on a non-object in /var/www/localhost/restrictedobjects/code/extensions/RestrictedGroupExtension.php on line 14, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP Stack trace:, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   1. {main}() /var/www/localhost/framework/main.php:0, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   2. Director::direct() /var/www/localhost/framework/main.php:177, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   3. Director::handleRequest() /var/www/localhost/framework/control/Director.php:153, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   4. AdminRootController->handleRequest() /var/www/localhost/framework/control/Director.php:370, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   5. LeftAndMain->handleRequest() /var/www/localhost/framework/admin/code/AdminRootController.php:93, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   6. Controller->handleRequest() /var/www/localhost/framework/admin/code/LeftAndMain.php:443, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   7. RequestHandler->handleRequest() /var/www/localhost/framework/control/Controller.php:153, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   8. RequestHandler->handleRequest() /var/www/localhost/framework/control/RequestHandler.php:222, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   9. GridField->handleRequest() /var/www/localhost/framework/control/RequestHandler.php:222, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  10. GridFieldDetailForm->handleItem() /var/www/localhost/framework/forms/gridfield/GridField.php:798, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  11. RequestHandler->handleRequest() /var/www/localhost/framework/forms/gridfield/GridFieldDetailForm.php:102, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  12. RequestHandler->handleAction() /var/www/localhost/framework/control/RequestHandler.php:200, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  13. GridFieldDetailForm_ItemRequest->edit() /var/www/localhost/framework/control/RequestHandler.php:288, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  14. GridFieldDetailForm_ItemRequest->ItemEditForm() /var/www/localhost/framework/forms/gridfield/GridFieldDetailForm.php:303, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  15. Group->getCMSFields() /var/www/localhost/framework/forms/gridfield/GridFieldDetailForm.php:389, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  16. Object->extend() /var/www/localhost/framework/security/Group.php:217, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  17. RestrictedGroupExtension->updateCMSFields() /var/www/localhost/framework/core/Object.php:1002, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
nyeholt pushed a commit that referenced this issue Aug 31, 2015
Null pointer as Member grid don't exist on uncreated objects
@nyeholt
Copy link
Owner

nyeholt commented Aug 31, 2015

Have just created 2.4.4, give that a try

@tardinha
Copy link
Author

Success!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants