skip to Main Content

Unsupported operand types: IlluminateSupportCarbon – IlluminateSupportCarbon – Laravel

I have made this method for sending a temporary code to user's mobile phone number for verifying his account: public function signInWithToken() { if(Session::has('nextStep') && Session::has('foundUser')) { $user = User::where('usr_mobile_phone', Session::get('foundUser'))->first(); if(Session::has('codeSent')){ $nowTime = now(); $sentTime = Session::get('codeSent'); if($nowTime >=…

VIEW QUESTION

Laravel nested or with and in where condition

My Expected query is select count(*) as aggregate from `books` where (`books`.`is_deleted` = 0) and `category_id` = '61' and (`title` like '%問いかけの作法 チームの魅力と才能を引き出す技術%' or `title` like '%問イカケノ作法 チームノ魅力ト才能ヲ引キ出ス技術%' or `title` like '%問いかけの作法 ちーむの魅力と才能を引き出す技術%'); I have written my conditions like below…

VIEW QUESTION
Back To Top
Search