PDOException

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 created desc' at line 1


Trace

PDOException 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 created desc' at line 1
    [string:Exception:private] => 
    [code:protected] => 42000
    [file:protected] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_fw/helpers/db.php
    [line:protected] => 70
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_fw/helpers/db.php
                    [line] => 70
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_fw/libraries/DbSelect.php
                    [line] => 110
                    [function] => query
                    [class] => db
                    [type] => ::
                    [args] => Array
                        (
                            [0] => select www4u_articles.* from www4u_articles where www4u_articles.id in ()  order by created desc 
                            [1] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_fw/libraries/DbSelect.php
                    [line] => 129
                    [function] => evaluate
                    [class] => DbSelect
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_work/search_index.tpl.php
                    [line] => 8
                    [function] => getIterator
                    [class] => DbSelect
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_fw/libraries/Template.php
                    [line] => 121
                    [args] => Array
                        (
                            [0] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_work/search_index.tpl.php
                        )

                    [function] => require
                )

            [5] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_fw/libraries/Template.php
                    [line] => 145
                    [function] => display
                    [class] => Template
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_fw/libraries/Template.php
                    [line] => 154
                    [function] => as_string
                    [class] => Template
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_app/controllers/CommonController.php
                    [line] => 201
                    [function] => __toString
                    [class] => Template
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [function] => tags
                    [class] => CommonController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => %C3%BAspora
                        )

                )

            [9] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_fw/libraries/App.php
                    [line] => 166
                    [function] => call_user_func_array
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => ArticlesController Object
                                        (
                                            [name:protected] => articles
                                            [repo_name:protected] => articles
                                        )

                                    [1] => tags
                                )

                            [1] => Array
                                (
                                    [0] => %C3%BAspora
                                )

                        )

                )

            [10] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/_fw/libraries/App.php
                    [line] => 137
                    [function] => execute_action
                    [class] => App
                    [type] => ::
                    [args] => Array
                        (
                            [0] => articles/tags/%C3%BAspora
                        )

                )

            [11] => Array
                (
                    [file] => /data/web/virtuals/10675/virtual/www/domains/3energy.cz/index.php
                    [line] => 68
                    [function] => handle_request
                    [class] => App
                    [type] => ::
                    [args] => Array
                        (
                            [0] => /articles/tags/%C3%BAspora
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42000
            [1] => 1064
            [2] => 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 created desc' at line 1
        )

)