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 ')' at line 1
CODE: 42000
FILE: /home/planetop/application/library/Zend/Db/Statement/Pdo.php
TRACE:
Array
(
    [0] => Array
        (
            [file] => /home/planetop/application/library/Zend/Db/Statement.php
            [line] => 303
            [function] => _execute
            [class] => Zend_Db_Statement_Pdo
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                        )

                )

        )

    [1] => Array
        (
            [file] => /home/planetop/application/library/Zend/Db/Adapter/Abstract.php
            [line] => 479
            [function] => execute
            [class] => Zend_Db_Statement
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                        )

                )

        )

    [2] => Array
        (
            [file] => /home/planetop/application/library/Zend/Db/Adapter/Pdo/Abstract.php
            [line] => 238
            [function] => query
            [class] => Zend_Db_Adapter_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => select count(*) from knjige where archive!= 1 and id in ()
                    [1] => Array
                        (
                        )

                )

        )

    [3] => Array
        (
            [file] => /home/planetop/application/library/Zend/Db/Adapter/Abstract.php
            [line] => 793
            [function] => query
            [class] => Zend_Db_Adapter_Pdo_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => select count(*) from knjige where archive!= 1 and id in ()
                    [1] => Array
                        (
                        )

                )

        )

    [4] => Array
        (
            [file] => /home/planetop/application/application/modules/knjizara/controllers/IndexController.php
            [line] => 541
            [function] => fetchCol
            [class] => Zend_Db_Adapter_Abstract
            [type] => ->
            [args] => Array
                (
                    [0] => select count(*) from knjige where archive!= 1 and id in ()
                )

        )

    [5] => Array
        (
            [file] => /home/planetop/application/library/Zend/Controller/Action.php
            [line] => 516
            [function] => temeAction
            [class] => Knjizara_IndexController
            [type] => ->
            [args] => Array
                (
                )

        )

    [6] => Array
        (
            [file] => /home/planetop/application/library/Zend/Controller/Dispatcher/Standard.php
            [line] => 308
            [function] => dispatch
            [class] => Zend_Controller_Action
            [type] => ->
            [args] => Array
                (
                    [0] => temeAction
                )

        )

    [7] => Array
        (
            [file] => /home/planetop/application/library/Zend/Controller/Front.php
            [line] => 954
            [function] => dispatch
            [class] => Zend_Controller_Dispatcher_Standard
            [type] => ->
            [args] => Array
                (
                    [0] => Zend_Controller_Request_Http Object
                        (
                            [_paramSources:protected] => Array
                                (
                                    [0] => _GET
                                    [1] => _POST
                                )

                            [_requestUri:protected] => /hr/knjizara/teme
                            [_baseUrl:protected] => 
                            [_basePath:protected] => 
                            [_pathInfo:protected] => /hr/knjizara/teme
                            [_params:protected] => Array
                                (
                                    [script] => hr
                                    [module] => knjizara
                                    [controller] => index
                                    [action] => teme
                                    [id] => 0
                                )

                            [_rawBody:protected] => 
                            [_aliases:protected] => Array
                                (
                                )

                            [_dispatched:protected] => 1
                            [_module:protected] => knjizara
                            [_moduleKey:protected] => module
                            [_controller:protected] => index
                            [_controllerKey:protected] => controller
                            [_action:protected] => teme
                            [_actionKey:protected] => action
                        )

                    [1] => Zend_Controller_Response_Http Object
                        (
                            [_body:protected] => Array
                                (
                                )

                            [_exceptions:protected] => Array
                                (
                                )

                            [_headers:protected] => Array
                                (
                                )

                            [_headersRaw:protected] => Array
                                (
                                )

                            [_httpResponseCode:protected] => 200
                            [_isRedirect:protected] => 
                            [_renderExceptions:protected] => 
                            [headersSentThrowsException] => 1
                        )

                )

        )

    [8] => Array
        (
            [file] => /home/planetop/application/config.php
            [line] => 178
            [function] => dispatch
            [class] => Zend_Controller_Front
            [type] => ->
            [args] => Array
                (
                )

        )

    [9] => Array
        (
            [file] => /home/planetop/application/content/index.php
            [line] => 9
            [args] => Array
                (
                    [0] => /home/planetop/application/config.php
                )

            [function] => include_once
        )

)