I have some problem when i create new product, it still works (i can insert new product) but this bug happen :
Unknown Method – yii\base\UnknownMethodException
Calling unknown method: app\models\Food::compare()
-
in C:\xampp\htdocs\yii\vendor\yiisoft\yii2\base\Component.php
-
in C:\xampp\htdocs\yii\models\Food.php – yii\base\Component::__call(‘compare’, [‘food_id’, 12])
kindly check in Food models is there any method name "compare()"exist?
Tks so much friend, i done yet !