PDOException Object
(
    [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 1' at line 4
    [string:Exception:private] => 
    [code:protected] => 42000
    [file:protected] => /home/hotelsqu/public_html/demo/Includes/Database.php
    [line:protected] => 308
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/hotelsqu/public_html/demo/Includes/Database.php
                    [line] => 308
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => select *
					from establecimiento
					where est_id = 
                    limit 1
                    
                            [1] => 2
                        )

                )

            [1] => Array
                (
                    [file] => /home/hotelsqu/public_html/demo/Includes/Database.php
                    [line] => 580
                    [function] => obtenerRegistrosAsociativos
                    [class] => database
                    [type] => ->
                    [args] => Array
                        (
                            [0] => select *
					from establecimiento
					where est_id = 
                    limit 1
                    
                            [1] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/hotelsqu/public_html/demo/establecimientos/establecimientos.php
                    [line] => 11569
                    [function] => obtenerRegistro
                    [class] => database
                    [type] => ->
                    [args] => Array
                        (
                            [0] => establecimiento
                            [1] => est_id = 
                        )

                )

            [3] => Array
                (
                    [file] => /home/hotelsqu/public_html/demo/establecimientos/establecimientos.php
                    [line] => 11561
                    [function] => obtenerDatos
                    [class] => establecimientos
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [4] => Array
                (
                    [file] => /home/hotelsqu/public_html/demo/DespliegueCuestionario/DespliegueCuestionario.php
                    [line] => 2778
                    [function] => esEstablecimientoActivo
                    [class] => establecimientos
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [5] => Array
                (
                    [file] => /home/hotelsqu/public_html/demo/survey.php
                    [line] => 205
                    [function] => validacionesDespliegueFormulario
                    [class] => DespliegueCuestionario
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [idi_id] => 2
                                    [idh] => 
                                    [enc_id] => 1
                                    [did] => 
                                    [hue_modo_envio] => 
                                    [num_personas_reserva] => 0
                                    [est_id] => 
                                )

                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42000
            [1] => 1064
            [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 1' at line 4
        )

)
ERROR Exception DB key: hq
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 1' at line 4
array (
  0 => '42000',
  1 => 1064,
  2 => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'limit 1\' at line 4',
)
HQ Marketing Solutions

El formulario no se encuentra disponible, el establecimiento se encuentra inactivo

Contacte con soporte@hotels-quality.com para más información