Fatal error: Uncaught TypeError: Argument 1 passed to mysql_close() must be an instance of mysqli or null, instance of mysqli_result given, called in /usr/home/plazatek/www/empresas/gestionmax/version_0_00/main.php on line 124 and defined in /usr/home/plazatek/www/empresas/gestionmax/includes/mysql.php:128 Stack trace: #0 /usr/home/plazatek/www/empresas/gestionmax/version_0_00/main.php(124): mysql_close(Object(mysqli_result)) #1 /usr/home/plazatek/www/empresas/index.php(170): require_once('/usr/home/plaza...') #2 {main} thrown in /usr/home/plazatek/www/empresas/gestionmax/includes/mysql.php on line 128