Jump to:

1161 Posts in 2632 Topics by 409 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » unable to add Members to Security groups after upgrade

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1656 Views
  • Christolo
    Community Member
    1 Post

    unable to add Members to Security groups after upgrade Link to this post

    we have started with 2.2, where this function works. due to other problems, we upgrated to 2.3.0 and now to 2.3.1.
    this error occurs since we upgraded to 2.3.0, but was not detected until now.

    we get the following error (directiv dev is set in config.php):

    [User Error] Object::__call() Method 'addtogroup' not found in class 'Form'
    POST /silverstripe/admin/security/EditForm
    Line 133 in C:\xampp\htdocs\SilverStripe\sapphire\core\Object.php
    125          } else if($config['function_str']) {
    126             $function = Object::$extraMethods[$this->class][strtolower($methodName)]['function'] = create_function('$obj, $args', $config['function_str']);
    127             return $function($this, $args);
    129          } else {
    130             user_error("Object::__call() Method '$methodName' in class '$this->class' an invalid format: " . var_export(Object::$extraMethods[$this->class][$methodName],true), E_USER_ERROR);
    131          }
    132       } else {
    133          user_error("Object::__call() Method '$methodName' not found in class '$this->class'", E_USER_ERROR);
    134       }
    135    }
    137    /**
    138     * This function allows you to overload class creation methods, so certain classes are
    139     * always created correctly over your system.
    •   Object::__call() Method 'addtogroup' not found in class 'Form'
    Line 133 of Object.php
    •   Object->__call(addtogroup,Array)
    •   Form->addtogroup(Array,Form,HTTPRequest)
    Line 232 of Form.php
    •   Form->httpSubmission(HTTPRequest)
    Line 107 of RequestHandler.php
    •   RequestHandler->handleRequest(HTTPRequest)
    Line 121 of RequestHandler.php
    •   RequestHandler->handleRequest(HTTPRequest)
    Line 122 of Controller.php
    •   Controller->handleRequest(HTTPRequest)
    Line 277 of Director.php
    •   Director::handleRequest(HTTPRequest,Session)
    Line 121 of Director.php
    •   Director::direct(/admin/security/EditForm)
    Line 115 of main.php

    any ideas?

    thanks and best regards

  • stanLee
    Community Member
    5 Posts

    Re: unable to add Members to Security groups after upgrade Link to this post

    I have the same problem. I can't believe that no one from silverstripe development team didn't answer these kind of major problem from may.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.