SELECT * FROM Firm WHERE TownId=19388 AND FirmId < 12260698 AND ( CategoryId1 in (8203,8335) OR CategoryId2 in (8203,8335) OR CategoryId3 in (8203,8335) ) ORDER BY FirmId DESC LIMIT 0,4
ErrorListException Object
(
    [a_errors:protected] => Array
        (
            [0] => BackOfficeError Object
                (
                    [s_code:protected] => 
                    [s_text:protected] => Unable to execute database query
                    [a_fields:protected] => Array
                        (
                        )

                    [s_category:protected] => backOffice
                )

        )

    [message:protected] => 
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /home/soadmin/domains/2findlocal.com/CodeBase/Classes/Data/DataAccess.class
    [line:protected] => 184
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/soadmin/domains/2findlocal.com/CodeBase/Classes/Data/DataAccess.class
                    [line] => 100
                    [function] => error
                    [class] => DataAccess
                    [type] => ->
                    [args] => Array
                        (
                            [0] => QUERY.FAILURE
                        )

                )

            [1] => Array
                (
                    [file] => /home/soadmin/domains/2findlocal.com/CodeBase/Classes/Data/Firm/FirmModel.class
                    [line] => 225
                    [function] => Query
                    [class] => DataAccess
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * FROM Firm  
		WHERE	TownId=19388 AND FirmId < 12260698 AND
		(
		CategoryId1 in (8203,8335) OR
		CategoryId2 in (8203,8335) OR
		CategoryId3 in (8203,8335) 		
		)
		ORDER BY
		FirmId DESC
		LIMIT 0,4
                        )

                )

            [2] => Array
                (
                    [file] => /home/soadmin/domains/2findlocal.com/CodeBase/Classes/Data/Firm/FirmSet.class
                    [line] => 122
                    [function] => SelectFirmRelatedNew
                    [class] => FirmModel
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 19388
                            [1] => 12260698
                            [2] => 8203,8335
                            [3] => 4
                        )

                )

            [3] => Array
                (
                    [file] => /home/soadmin/domains/2findlocal.com/CodeBase/Classes/BizFirm/BizFirmMgr.class
                    [line] => 103
                    [function] => getFirmRelatedNew
                    [class] => FirmSet
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 19388
                            [1] => 12260698
                            [2] => 8203,8335
                            [3] => 4
                        )

                )

            [4] => Array
                (
                    [file] => /home/soadmin/domains/2findlocal.com/CodeBase/Classes/BizFirm/BizFirmAction.class
                    [line] => 141
                    [function] => getFirmRelatedNewData
                    [class] => BizFirmMgr
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 19388
                            [1] => 12260698
                            [2] => 8203,8335
                            [3] => 4
                        )

                )

            [5] => Array
                (
                    [file] => /home/soadmin/domains/2findlocal.com/CodeBase/Classes/Actions/ActionBase.class
                    [line] => 56
                    [function] => execute
                    [class] => BizFirmAction
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => /home/soadmin/domains/2findlocal.com/CodeBase/Modules/firm.php
                    [line] => 6
                    [function] => run
                    [class] => ActionBase
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)
ErrorListException