ЗАПРОС: SELECT * FROM `books` ORDER BY `id` DESC LIMIT -20,20
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 '-20,20' at line 1

Array
(
    [0] => Array
        (
            [file] => /home/l/legendeo/legendeo.beget.tech/public_html/controllers/catalogController.php
            [line] => 74
            [function] => q
            [args] => Array
                (
                    [0] => 
SELECT * FROM `books`  ORDER BY `id` DESC LIMIT -20,20

                )

        )

    [1] => Array
        (
            [file] => /home/l/legendeo/legendeo.beget.tech/public_html/libs/default.php
            [line] => 125
            [args] => Array
                (
                    [0] => /home/l/legendeo/legendeo.beget.tech/public_html/controllers/catalogController.php
                )

            [function] => include_once
        )

    [2] => Array
        (
            [file] => /home/l/legendeo/legendeo.beget.tech/public_html/index.php
            [line] => 30
            [function] => renderer
            [args] => Array
                (
                    [0] => catalog
                )

        )

)
ФАЙЛ - /home/l/legendeo/legendeo.beget.tech/public_html/controllers/catalogController.php
СТРОКА - 74
Notice: Trying to get property of non-object in /home/l/legendeo/legendeo.beget.tech/public_html/libs/default.php on line 8

Каталог

1 . . . . . <<< 1 >>> . . . . . 6
Notice: Undefined variable: WORDeditor in /home/l/legendeo/legendeo.beget.tech/public_html/skins/default/index.tpl on line 78