-
Notifications
You must be signed in to change notification settings - Fork 229
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
ReflectionProperty::getValue() expects exactly 1 parameter, 0 given #26
Comments
Having the same issue. |
I think I had the same problem but I do not remember waht was the problem. Has the property null value? Anyway the bundle has another bugs. See this isuue: |
Experiencing the same issue. Anyone has a solution? |
This problem seems to only apply to public entity properties. Switching to private (and manage access via getter/setter methods) seems to resolve this. |
i have the same error, my entity properties are private =( |
a year ago I've been using laravel framework... I think is a good option to develop sites too. I hope I'm not being rude. |
Can't check my repo right now, but I vaguely remember it had to do with underscores. So if you have variable $some_var in your entity, the setter methld is setSomeVar... Solution might be to have alias method for the setter with underscore like setSome_var($val) { return $this->setSomeVar($val); }. Same for getter. Let me know if that works! |
Hello, |
I write this issue because i don't know why i got this Warning: ReflectionProperty::getValue() expects exactly 1 parameter, 0 given Is i doing something wrong?... Help me!
The text was updated successfully, but these errors were encountered: