Exception Object
(
    [message:protected] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND sProvincia LIKE '%León%' ORDER BY rand() LIMIT 6' at line 4
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /home/o10media/public_html/sensacionrural.es/class/bdmain.class.php
    [line:protected] => 38
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/o10media/public_html/sensacionrural.es/new-portal/home/model/HomeModel.php
                    [line] => 538
                    [function] => ExecSelect
                    [class] => BDMain
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT DISTINCT idCasaRural, sPoblacion, sComunidad, sProvincia 
                    FROM tblcasasrurales 
                    WHERE iTipoContrato <> 0  
                    AND idCasaRural IN () AND sProvincia LIKE '%León%' ORDER BY rand() LIMIT 6;
                        )

                )

            [1] => Array
                (
                    [file] => /home/o10media/public_html/sensacionrural.es/new-portal/availability/AvailabilityController.php
                    [line] => 89
                    [function] => getListaOfertas
                    [class] => HomeModel
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 6
                            [1] => Array
                                (
                                    [idProvincia] => 24
                                    [idComunidad] => 6
                                    [sProvincia] => León
                                    [dLatitud] => 42.8318133000000
                                    [dLongitud] => -7.6300622000000
                                    [iZoom] => 0
                                    [sMetadescription] => Buscador de casas rurales en León. Cientos de alojamientos rurales en la provincia de León para una escapada perfecta.
                                    [sRutaImagen] => /web/images/background/alojamientos-rurales-leon-24.jpg
                                    [sRutaImg] => /web/new-portal/img/provincias/alojamientos-rurales-leon-24.jpg
                                    [sComunidad] => Castilla y León
                                    [provincia] => León
                                )

                        )

                )

        )

    [previous:Exception:private] => 
)