Error Object
(
    [message:protected] => Call to a member function prepare() on null
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /home/crossfox/shina-bu.com.ua/kernel/controllers/db.class.inc
    [line:protected] => 128
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/crossfox/shina-bu.com.ua/application/modules/catalogue/models/cataloguemodel.class.inc
                    [line] => 241
                    [function] => GetAll
                    [class] => db
                    [type] => ::
                    [args] => Array
                        (
                            [0] => SELECT DISTINCT(cr.id) as id,cp.brand,cp.model,im.file,cr.price, cr.wb_price,cr.qty,cr.prot,cr.ind,cr.cat_number,
                cr.qty,cr.url,cr.opt_price,cr.group_id,cg.pid,
                  (SELECT name FROM catalogue_property WHERE id=cr.width) as width,
                                    (SELECT name FROM catalogue_property WHERE id=cr.height) as height,
                                    (SELECT name FROM catalogue_groups_description WHERE cat_group_id=cr.group_id) as radius
									FROM catalogue_relationship cr
									JOIN catalogue_products cp ON cp.item_id = cr.id 
									JOIN catalogue_groups cg ON cg.id = cr.group_id
                                    JOIN catalogue_groups_description cgd ON cgd.cat_group_id = cr.group_id
									LEFT JOIN catalogue_prodimages im ON im.item_id=cr.id AND im.main=1
									WHERE cr.public = 1 
                                    
										   GROUP BY cr.id
                                           LIMIT 615, 15
                        )

                )

            [1] => Array
                (
                    [file] => /home/crossfox/shina-bu.com.ua/application/modules/catalogue/controllers/controller.class.inc
                    [line] => 188
                    [function] => showFilterItems
                    [class] => cataloguemodel
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [page] => 42
                                )

                            [1] => 15
                            [2] => Array
                                (
                                    [page] => 42
                                    [exclude] => Array
                                        (
                                        )

                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/crossfox/shina-bu.com.ua/kernel/controllers/layouts.class.inc
                    [line] => 91
                    [function] => displayModule
                    [class] => catalogue
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 6
                            [1] => 215
                            [2] => Array
                                (
                                    [page] => 65
                                    [pagename] => shiny-bu
                                    [params] => Array
                                        (
                                            [0] => viber:
                                            [1] => ?page=42
                                        )

                                    [lang] => 
                                )

                            [3] => 1
                            [4] => catalogue
                            [5] => 12
                        )

                )

            [3] => Array
                (
                    [file] => /home/crossfox/shina-bu.com.ua/application/public/index.php
                    [line] => 69
                    [function] => makeLayout
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [page] => 65
                                    [pagename] => shiny-bu
                                    [params] => Array
                                        (
                                            [0] => viber:
                                            [1] => ?page=42
                                        )

                                    [lang] => 
                                )

                        )

                )

        )

    [previous:Error:private] => 
)