array(2) { ["err"]=> bool(true) ["msg"]=> string(43) "SQLSTATE[HY000] [2002] Connection timed out" } array(4) { [0]=> string(61) "mysql:host=apps.promedic.com.mx; dbname=pandax; charset=utf8;" [1]=> string(6) "pandaW" [2]=> string(6) "pandaW" [3]=> array(2) { [20]=> bool(true) [3]=> int(2) } }
Fatal error: Uncaught Error: Call to a member function query() on array in /var/www/html/plataforma/includes/class.permisos.php:82 Stack trace: #0 /var/www/html/plataforma/includes/class.permisos.php(31): permisos->query2arr('select idSuscri...') #1 /var/www/html/plataforma/includes/class.permisos.php(274): permisos->__construct(Array, '631ab1af748f795...') #2 /var/www/html/plataforma/includes/class.view.php(16): include('/var/www/html/p...') #3 /var/www/html/plataforma/login.php(6): include_once('/var/www/html/p...') #4 {main} thrown in /var/www/html/plataforma/includes/class.permisos.php on line 82