i am facing issue Call to a member function hasProperty() on null while updating records in yii2 project. please help why these issue occur and how i solved it
Asked
Active
Viewed 26 times
-1
-
Please read [How to create a Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) and [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask) and update your question accordingly. It's impossible for us to be able to help you unless we can see what you're actually doing. The error simply suggests that you're trying to use a variable/response which contains `null` as an object. – M. Eriksson May 30 '22 at 08:19
-
Does this answer your question? [Reference - What does this error mean in PHP?](https://stackoverflow.com/questions/12769982/reference-what-does-this-error-mean-in-php) – Michal Hynčica May 30 '22 at 08:59
-
Please provide enough code so others can better understand or reproduce the problem. – Community May 30 '22 at 09:56