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 ')  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 ()  ORDER BY rand() LIMIT 6;
                        )

                )

            [1] => Array
                (
                    [file] => /home/o10media/public_html/sensacionrural.es/new-portal/availability/AvailabilityServicesController.php
                    [line] => 98
                    [function] => getListaOfertas
                    [class] => HomeModel
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 6
                            [1] => servicios
                        )

                )

        )

    [previous:Exception:private] => 
)