Excepción
object(PDOException)#8 (8) { ["message":protected]=> string(81) "SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(1045) ["file":protected]=> string(68) "/home/evalmixc/public_html/hrms/smart-360/clases_360/conexionERP.php" ["line":protected]=> int(59) ["trace":"Exception":private]=> array(5) { [0]=> array(6) { ["file"]=> string(68) "/home/evalmixc/public_html/hrms/smart-360/clases_360/conexionERP.php" ["line"]=> int(59) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> string(44) "mysql:host=localhost;dbname=_base_generales2" [1]=> string(0) "" [2]=> string(0) "" [3]=> array(1) { [1002]=> string(14) "SET NAMES utf8" } } } [1]=> array(6) { ["file"]=> string(72) "/home/evalmixc/public_html/hrms/smart-360/clases_360/validar_sistema.php" ["line"]=> int(37) ["function"]=> string(11) "__construct" ["class"]=> string(23) "conectar_base_generales" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(6) { ["file"]=> string(72) "/home/evalmixc/public_html/hrms/smart-360/clases_360/validar_sistema.php" ["line"]=> int(399) ["function"]=> string(27) "obtener_empresas_especiales" ["class"]=> string(19) "validar_sistema_360" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [3]=> array(6) { ["file"]=> string(90) "/home/evalmixc/public_html/hrms/smart-360/clases_360/clases_individuales/Admin_correos.php" ["line"]=> int(155) ["function"]=> string(21) "obtener_datos_sistema" ["class"]=> string(19) "validar_sistema_360" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(2) "es" [1]=> bool(true) } } [4]=> array(6) { ["file"]=> string(72) "/home/evalmixc/public_html/hrms/smart-360/360/payment_paypal_preload.php" ["line"]=> int(220) ["function"]=> string(11) "__construct" ["class"]=> string(13) "Admin_correos" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "HY000" [1]=> int(1045) [2]=> string(58) "Access denied for user ''@'localhost' (using password: NO)" } }

Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/evalmixc/public_html/hrms/smart-360/clases_360/validar_sistema.php:43 Stack trace: #0 /home/evalmixc/public_html/hrms/smart-360/clases_360/validar_sistema.php(399): validar_sistema_360->obtener_empresas_especiales() #1 /home/evalmixc/public_html/hrms/smart-360/clases_360/clases_individuales/Admin_correos.php(155): validar_sistema_360->obtener_datos_sistema('es', true) #2 /home/evalmixc/public_html/hrms/smart-360/360/payment_paypal_preload.php(220): Admin_correos->__construct() #3 {main} thrown in /home/evalmixc/public_html/hrms/smart-360/clases_360/validar_sistema.php on line 43