connection ERROR:SQLSTATE[HY000] [1045] Access denied for user 'dabest13_counter'@'localhost' (using password: YES)SQLSTATE[HY000] [1045] Access denied for user 'dabest13_counter'@'localhost' (using password: YES)
Fatal error: Uncaught Error: Call to a member function query() on null in /home/dabestaniha.ir/public_html/counter/functions/DataBase.php:45
Stack trace:
#0 /home/dabestaniha.ir/public_html/counter/functions/clickCounter.php(8): DataBase\DataBase->select()
#1 {main}
thrown in /home/dabestaniha.ir/public_html/counter/functions/DataBase.php on line 45