Allowed memory size of 134217728 bytes exhausted (tried to allocate 81690624 bytes)
Allowed memory size of 134217728 bytes exhausted (tried to allocate 81690624 bytes) I tried to find an answer to this question, but nothing helped me yet. I have a helper function function a($id, $b = false) { $general = Feedbacks::join("bidders","bidders.id","=","feedbacks.bid_id") ->join("projects","bidders.project_id","=","projects.id") ->where([ "bidders.bidder_id" => $id, "bidders.status" => 2, "feedbacks.active" => 1, "bidders.active" => 1, "projects.active" => config("constant.project_done") ]) ->orderBy("feedbacks.created_at","DESC"); print_r($general);die; } For Controller side, I am getting the $id and passing it in this function. $id = Feedbacks::where('active',1)->get(['bid_id']); $rate = ...