I used your code:
Content visible to verified customers only.
and now it says:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Query: SELECT user,userid,COUNT(*) AS pcount FROM rp_products GROUP BY user ORDER BY pcount DESC LIMIT 5
Result: Got error 12 from table handler
Database handle: Resource id #37