SQLSTATE[HY000] [1045] Access denied for user 'streetr11_streetr11'@'localhost' (using password: YES)
Fatal error: Uncaught Error: Call to a member function query() on null in /home/streetr11/public_html/model/rule.php:45
Stack trace:
#0 /home/streetr11/public_html/controller/rules.php(10): Rule->getAll()
#1 /home/streetr11/public_html/route.php(44): Rules->index()
#2 /home/streetr11/public_html/index.php(21): Route::run('/kurallar', 'rules@index')
#3 {main}
thrown in /home/streetr11/public_html/model/rule.php on line 45