Try to echo the parameter to the screen, to see what type it is. Maybe it’s a query that first needs to be exeuted. You can either use debug or a test function to see why the parameter is not recognised as something countable.
Try to echo the parameter to the screen, to see what type it is. Maybe it’s a query that first needs to be exeuted. You can either use debug or a test function to see why the parameter is not recognised as something countable.