79591163

Date: 2025-04-24 17:23:41
Score: 3.5
Natty:
Report link
return BaseMacroCategoryModel::orderBy('id','desc')->get()
error:count(): Parameter must be an array or an object that implements Countable

here is question like that why i am encountering this kind of error while not finding count for the query. i have clear cache, config clear, route:clear everything is done but still getting error.

any one please can help me?

Reasons:
  • Blacklisted phrase (1): help me
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: sumant kumar