Skip to content

Fix grepper.com #3

Description

@MominIqbal-1234

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions