Hello @mariam-fane
Can you show the code that you have? The error indicates that $var isn't from the type you need, but without any code it is difficult to give more information.
mariam-fane liked this reply
@mariam-fane In count function need 1 argument. As a example Post::count(id) . Follow this system
mariam-fane liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community