-
Notifications
You must be signed in to change notification settings - Fork 3
Description
https://www.grepper.com/app/index.php
select count() as acount, answer.user_id, user.fun_name, user.profile_slug, user.is_rank_private, user.belt_score, user.profile_image from answer left join user on answer.user_id = user.id where DATE(answer.created_at) = CURDATE() and user.account_deleted!=1 group by answer.user_id order by acount desc limit 10
Array ( )
Fatal error: Uncaught Error: Call to a member function setAttribute() on null in /var/www/html/lib/Database/Connection.php:100 Stack trace: #0 /var/www/html/lib/Model/Base/Basemodel.php(108): Database\Connection->fetchAssoc('select count()...', Array) #1 /var/www/html/lib/Model/User.php(1143): Model\Base\Basemodel->fetchAssoc('select count(*)...') #2 /var/www/html/grepper_app/index.php(7): Model\User->getDailyTopUsers() #3 {main} thrown in /var/www/html/lib/Database/Connection.php on line 100