ErrorException in BookinginfoController.php line 101: A non-numeric value encountered
Here's the line of code
$ser_name=trim($ser_name,",");
$price=trim($price,",");
$sum+=$fet2[0]->price;
Heres full script
Line 99 is $ser_name=trim($ser_name,","); Line 100 is $price=trim($price,","); Line is 101 $sum+=$fet2[0]->price;
'; $ser_name.=","; $fet2 = DB::table('seller_services') ->where('subservice_id', '=', $id) ->where('shop_id', '=', $neshopp) ->get(); $price.=$fet2[0]->price.'
'; $price.=","; $ser_name=trim($ser_name,","); $price=trim($price,","); $sum+=$fet2[0]->price; – Stephen Oct 30 '18 at 12:15