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 tblcasasrurales.iTipoContrato <> 0
        ORDER BY tblprovinci...' 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/availability/model/AvailabilityModel.php
                    [line] => 1098
                    [function] => ExecSelect
                    [class] => BDMain
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT DISTINCT tblprovincias.*
        FROM tblprovincias
        INNER JOIN tblcasasrurales ON (tblcasasrurales.idProvincia = tblprovincias.idProvincia)
        WHERE tblcasasrurales.idCasaRural IN ()
        AND tblcasasrurales.iTipoContrato <> 0
        ORDER BY tblprovincias.sProvincia
                        )

                )

            [1] => Array
                (
                    [file] => /home/o10media/public_html/sensacionrural.es/new-portal/availability/AvailabilityController.php
                    [line] => 39
                    [function] => getProvinciasOferta
                    [class] => AvailabilityModel
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

        )

    [previous:Exception:private] => 
)