Answers for "Method Illuminate\Support\Collection::appends does not exist."

PHP
0

Method Illuminate\Support\Collection::appends does not exist.

// replace get()
$products = Product::where('active', 1)->get();
// by paginate()
$products = Product::where('active', 1)->paginate(10);
Posted by: Guest on June-04-2021

Code answers related to "Method Illuminate\Support\Collection::appends does not exist."

Browse Popular Code Answers by Language