relation join issue

i have table name post_skills relation with posted…

$query = PostSkills::find()



when i write this code found this error…

code: 0

file: "/.../xxxxxxx/vendor/yiisoft/yii2/base/Component.php"

line: 143

message: "Getting unknown property: api\common\models\Posted::"

name: "Unknown Property"

PS: post_skills relation is also defined in posted model

it’s joinWith not jonWith. please correct the same.

eg. -

$model = User::find()->joinWith('comments')->all();

for more help -

I moved this from Bug Discussions to Yii 2 General Discussion.

Seriously: Bug Discussions is not about bugs in your own code!