Notice: Undefined offset: 1 in /var/www/optrip.ru/html/classes/PagesController.class on line 18
Error SQL: 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 0,1' at line 1

Query: SELECT * FROM pages WHERE id =   LIMIT 0,1

File: /var/www/optrip.ru/html/core/Db.php Line: 97

Array
(
    [0] => Array
        (
            [file] => /var/www/optrip.ru/html/classes/Pages.class
            [line] => 17
            [function] => getObjectSql
            [class] => DB
            [type] => ->
            [args] => Array
                (
                    [0] => pages
                    [1] => Array
                        (
                            [0] => *
                        )

                    [2] => WHERE id = 
                )

        )

    [1] => Array
        (
            [file] => /var/www/optrip.ru/html/classes/PagesController.class
            [line] => 18
            [function] => item
            [class] => Pages
            [type] => ->
            [args] => Array
                (
                    [0] => 
                )

        )

    [2] => Array
        (
            [file] => /var/www/optrip.ru/html/includes/App.php
            [line] => 130
            [function] => defaultAction
            [class] => PagesController
            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [user] => 0
                            [url_data] => Array
                                (
                                    [0] => pages
                                )

                            [get_params] => Array
                                (
                                )

                        )

                )

        )

    [3] => Array
        (
            [file] => /var/www/optrip.ru/html/index.php
            [line] => 9
            [function] => run
            [class] => App
            [type] => ->
            [args] => Array
                (
                )

        )

)