Connection failed: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
Warning: Undefined variable $pdo in C:\xampp\htdocs\portal\visitor_counter.php on line 99
Fatal error: Uncaught Error: Call to a member function prepare() on null in C:\xampp\htdocs\portal\visitor_counter.php:99
Stack trace:
#0 C:\xampp\htdocs\portal\index.php(1): include_once()
#1 {main}
thrown in C:\xampp\htdocs\portal\visitor_counter.php on line 99