Warning: mysqli_connect(): (HY000/1044): Access denied for user 'root'@'localhost' to database 'afrosupermarket' in C:\server\Apache24\htdocs\inc\globals.php on line 4

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 11

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 11

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 11

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 11

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 14

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 14

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 14

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 14

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 17

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 17

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 17

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 17

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 20

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 20

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 20

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 20

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 23

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 23

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 26

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 26

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 26

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 26

Notice: Undefined index: category in C:\server\Apache24\htdocs\shop\index.php on line 26
Failed to connect to MySql 1044
Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1044] Access denied for user 'root'@'localhost' to database 'afrosupermarket' in C:\server\Apache24\htdocs\classes\DB.php:15 Stack trace: #0 C:\server\Apache24\htdocs\classes\DB.php(15): PDO->__construct('mysql:dbname=af...', 'root', 'FX3xLw4vaVAtMX5...') #1 C:\server\Apache24\htdocs\classes\DB.php(184): DB->__construct() #2 C:\server\Apache24\htdocs\classes\Category.php(25): DBManager->__construct() #3 C:\server\Apache24\htdocs\public\template-parts\header.php(28): CategoryManager->__construct() #4 C:\server\Apache24\htdocs\shop\index.php(34): include('C:\\server\\Apach...') #5 {main} thrown in C:\server\Apache24\htdocs\classes\DB.php on line 15