Zend_Db_Statement_Exception Object
(
    [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY value ASC' at line 1
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/Zend/Db/Statement/Pdo.php
    [line:protected] => 238
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/Zend/Db/Statement.php
                    [line] => 283
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/Zend/Db/Adapter/Abstract.php
                    [line] => 433
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 230
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * FROM `mc_shop_product_attributes` WHERE attribute_id = '11' AND product_id IN () ORDER BY value ASC
                            [1] => 
                        )

                )

            [3] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/Zend/Db/Adapter/Abstract.php
                    [line] => 644
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * FROM `mc_shop_product_attributes` WHERE attribute_id = '11' AND product_id IN () ORDER BY value ASC
                            [1] => 
                        )

                )

            [4] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/db/db.php
                    [line] => 67
                    [function] => fetchAll
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * FROM `mc_shop_product_attributes` WHERE attribute_id = '11' AND product_id IN () ORDER BY value ASC
                            [1] => 
                            [2] => 
                        )

                )

            [5] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/db/model.php
                    [line] => 288
                    [function] => fetchAll
                    [class] => DB
                    [type] => ::
                    [args] => Array
                        (
                            [0] => SELECT * FROM `mc_shop_product_attributes` WHERE attribute_id = '11' AND product_id IN () ORDER BY value ASC
                        )

                )

            [6] => Array
                (
                    [function] => getAll
                    [class] => Library_Db_Model
                    [type] => ->
                    [args] => Array
                        (
                            [0] => attribute_id = '11' AND product_id IN ()
                            [1] => 
                            [2] => 
                            [3] => value ASC
                        )

                )

            [7] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/core/model.php
                    [line] => 27
                    [function] => call_user_func_array
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => Library_Db_Model Object
                                        (
                                            [pdoAttribute] => 
                                            [table] => mc_shop_product_attributes
                                        )

                                    [1] => getAll
                                )

                            [1] => Array
                                (
                                    [0] => attribute_id = '11' AND product_id IN ()
                                    [1] => 
                                    [2] => 
                                    [3] => value ASC
                                )

                        )

                )

            [8] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/module/shop/model/categories.php
                    [line] => 155
                    [function] => __call
                    [class] => Core_Model
                    [type] => ->
                    [args] => Array
                        (
                            [0] => getAll
                            [1] => Array
                                (
                                    [0] => attribute_id = '11' AND product_id IN ()
                                    [1] => 
                                    [2] => 
                                    [3] => value ASC
                                )

                        )

                )

            [9] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/module/shop/model/categories.php
                    [line] => 155
                    [function] => getAll
                    [class] => Module_Shop_Model_ProductAttributes
                    [type] => ->
                    [args] => Array
                        (
                            [0] => attribute_id = '11' AND product_id IN ()
                            [1] => 
                            [2] => 
                            [3] => value ASC
                        )

                )

            [10] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/module/shop/controller/categories.php
                    [line] => 54
                    [function] => getCategoryAttributes
                    [class] => Module_Shop_Model_Categories
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 10
                        )

                )

            [11] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/core/processor.php
                    [line] => 40
                    [function] => __default
                    [class] => Module_Shop_Controller_Categories
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [12] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/core/init.php
                    [line] => 24
                    [function] => process
                    [class] => Core_Processor
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [13] => Array
                (
                    [file] => /var/www/vhosts/labasoras.lt/yantramat.lt/index.php
                    [line] => 42
                    [args] => Array
                        (
                            [0] => /var/www/vhosts/labasoras.lt/yantramat.lt/framework/core/init.php
                        )

                    [function] => require_once
                )

        )

    [previous:Exception:private] => 
)
#0 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/Zend/Db/Adapter/Abstract.php(433): Zend_Db_Statement->execute(Array) #2 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query('SELECT * FROM `...', NULL) #3 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/Zend/Db/Adapter/Abstract.php(644): Zend_Db_Adapter_Pdo_Abstract->query('SELECT * FROM `...', NULL) #4 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/db/db.php(67): Zend_Db_Adapter_Abstract->fetchAll('SELECT * FROM `...', NULL, NULL) #5 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/library/db/model.php(288): DB::fetchAll('SELECT * FROM `...') #6 [internal function]: Library_Db_Model->getAll('attribute_id = ...', '', '', 'value ASC') #7 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/core/model.php(27): call_user_func_array(Array, Array) #8 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/module/shop/model/categories.php(155): Core_Model->__call('getAll', Array) #9 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/module/shop/model/categories.php(155): Module_Shop_Model_ProductAttributes->getAll('attribute_id = ...', '', '', 'value ASC') #10 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/module/shop/controller/categories.php(54): Module_Shop_Model_Categories->getCategoryAttributes(10) #11 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/core/processor.php(40): Module_Shop_Controller_Categories->__default() #12 /var/www/vhosts/labasoras.lt/yantramat.lt/framework/core/init.php(24): Core_Processor->process() #13 /var/www/vhosts/labasoras.lt/yantramat.lt/index.php(42): require_once('/var/www/vhosts...') #14 {main}