Notice: Undefined index: price_a_discount in /var/www/vhosts/duratai.lt/httpdocs/framework/module/shop/controller/products.php on line 25

Notice: Undefined index: category_id in /var/www/vhosts/duratai.lt/httpdocs/framework/module/shop/controller/products.php on line 30
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 'LIMIT 1' at line 1
    [string:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/vhosts/duratai.lt/httpdocs/framework/library/Zend/Db/Statement/Pdo.php
    [line:protected] => 238
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/vhosts/duratai.lt/httpdocs/framework/library/Zend/Db/Statement.php
                    [line] => 283
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/vhosts/duratai.lt/httpdocs/framework/library/db/model.php
                    [line] => 100
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/vhosts/duratai.lt/httpdocs/framework/core/model.php
                    [line] => 27
                    [function] => get
                    [class] => Library_Db_Model
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [3] => Array
                (
                    [file] => /var/www/vhosts/duratai.lt/httpdocs/framework/module/shop/controller/products.php
                    [line] => 171
                    [function] => __call
                    [class] => Core_Model
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => Library_Db_Model Object
                                        (
                                            [pdoAttribute] => 
                                            [table] => mc_shop_categories
                                        )

                                    [1] => get
                                )

                            [1] => Array
                                (
                                    [0] => 
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/vhosts/duratai.lt/httpdocs/framework/module/shop/controller/products.php
                    [line] => 171
                    [function] => get
                    [class] => Module_Shop_Model_Categories
                    [type] => ->
                    [args] => Array
                        (
                            [0] => get
                            [1] => Array
                                (
                                    [0] => 
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/vhosts/duratai.lt/httpdocs/framework/module/shop/controller/products.php
                    [line] => 30
                    [function] => getNavigation
                    [class] => Module_Shop_Controller_Products
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [6] => Array
                (
                    [file] => /var/www/vhosts/duratai.lt/httpdocs/framework/core/processor.php
                    [line] => 40
                    [function] => __default
                    [class] => Module_Shop_Controller_Products
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

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

                )

            [8] => Array
                (
                    [file] => /var/www/vhosts/duratai.lt/httpdocs/index.php
                    [line] => 42
                    [args] => Array
                        (
                            [0] => /var/www/vhosts/duratai.lt/httpdocs/framework/core/init.php
                        )

                    [function] => require_once
                )

        )

)
#0 /var/www/vhosts/duratai.lt/httpdocs/framework/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(NULL) #1 /var/www/vhosts/duratai.lt/httpdocs/framework/library/db/model.php(100): Zend_Db_Statement->execute() #2 /var/www/vhosts/duratai.lt/httpdocs/framework/core/model.php(27): Library_Db_Model->get(NULL) #3 /var/www/vhosts/duratai.lt/httpdocs/framework/module/shop/controller/products.php(171): Core_Model->__call(Array, Array) #4 /var/www/vhosts/duratai.lt/httpdocs/framework/module/shop/controller/products.php(171): Module_Shop_Model_Categories->get('get', Array) #5 /var/www/vhosts/duratai.lt/httpdocs/framework/module/shop/controller/products.php(30): Module_Shop_Controller_Products->getNavigation(NULL) #6 /var/www/vhosts/duratai.lt/httpdocs/framework/core/processor.php(40): Module_Shop_Controller_Products->__default(NULL) #7 /var/www/vhosts/duratai.lt/httpdocs/framework/core/init.php(24): Core_Processor->process() #8 /var/www/vhosts/duratai.lt/httpdocs/index.php(42): require_once('/var/www/vhosts...') #9 {main}