مشکل این سلکت

سلام

من یک نوع سلکت رو 3-4 نوع امتحان کردم ولی بازم ارور میده

ممنون می شم نگاهی بندازین و ببنین مشکلش چیه

$oneremember=Remember::find()->where([‘user_id’=>\Yii::$app->user->id,‘day’=>$_POST[‘day’],‘year’=>$_COOKIE[‘year’],‘month’=>$_COOKIE[‘month’]])->all();

   $sq="select * from remember where user_id=:user_id and (repeat =day) or (repeat=week and day_week=:day_week) or (repeat =month and day=:days)";


    $oneremember=Remember::findBySql($sq,[':user_id'=>\Yii::$app->user->id,':day_week'=>$_POST['day_week'],':days'=>$_POST['day']])->all();


    $oneremember=Remember::find()->where(['user_id'=>\Yii::$app->user->id])->andWhere(['repeat'=>'day'])->andWhere("repeat = week and day_week=:day_week",[':day_week'=>$_POST['day_week']])->andWhere("repeat=month and day=:day",[':day'=>$_POST['day']])->all();