Skip to content

Refresh routes throw PHP Recoverable Error if use Dependency Injection #170

Description

@sallfris

Hi, if use dependency injection "Refresh routes" throw PHP Recoverable Error
https://yadi.sk/i/BCITOaHV3HNpvA

at line:
https://github.com/webvimark/user-management/blob/master/components/AuthHelper.php#L353

Its fixed if to use $controller = Yii::createObject($className, [$prefix . $id, $module]);`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions