SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/effxgroup/public_html/topy/tupy/ACP/database1.php:102 Stack trace: #0 /home/effxgroup/public_html/topy/tupy/ACP/database1.php(604): database->queryPDOFetchAll('SELECT * FROM t...', Array) #1 /home/effxgroup/public_html/topy/tupy/index.php(76): database->fetchAll('tb_brands', Array, 'cl_created_at', 'DESC', 0, 15) #2 /home/effxgroup/public_html/topy/tupy/index.php(84): Index->getAllBrands() #3 {main} thrown in /home/effxgroup/public_html/topy/tupy/ACP/database1.php on line 102