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

Can't set the `LogTarget->client` property as string #1

Closed
cedx opened this Issue Dec 29, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@cedx
Copy link
Owner

cedx commented Dec 29, 2016

When I initialize the LogTarget->client property, I must use a Client instance. If I use a string, that is an application component identifier, I always get this error:

TypeError: Argument 1 passed to yii\freemobile\LogTarget::setClient() must be an instance of yii\freemobile\Client or null, string given, called in C:\repo\yii2-free-mobile\vendor\yiisoft\yii2\base\Component.php on line 169

@cedx cedx added the bug label Dec 29, 2016

@cedx cedx self-assigned this Dec 29, 2016

@cedx

This comment has been minimized.

Copy link
Owner Author

cedx commented Dec 29, 2016

Fixed in version 4.1.1 😄

@cedx cedx closed this Dec 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.