+359 878 930 464
Безплатна доставка при покупка над 200.00 лв. / € 102.26

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 MariaDB server version for the right syntax to use near ') 
			ORDER BY i.new DESC, FIELD(i.status,'1','2','4','3'), i.id DESC' at line 5
    [string:Exception:private] => 
    [code:protected] => 42000
    [file:protected] => /EasyFrame/DB/SimpleDB.php
    [line:protected] => 58
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /EasyFrame/DB/SimpleDB.php
                    [line] => 58
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /home/merystyl/Models/BaseModel.php
                    [line] => 114
                    [function] => execute
                    [class] => EasyFrame\DB\SimpleDB
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /home/merystyl/Controllers/Categories.php
                    [line] => 132
                    [function] => getItems
                    [class] => Models\BaseModel
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /home/merystyl/Controllers/Categories.php
                    [line] => 12
                    [function] => index
                    [class] => Controllers\Categories
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /EasyFrame/FrontController.php
                    [line] => 170
                    [function] => __call
                    [class] => Controllers\Categories
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /EasyFrame/App.php
                    [line] => 119
                    [function] => dispatch
                    [class] => EasyFrame\FrontController
                    [type] => ->
                )

            [6] => Array
                (
                    [file] => /home/merystyl/public_html/index.php
                    [line] => 20
                    [function] => run
                    [class] => EasyFrame\App
                    [type] => ->
                )

        )

    [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 MariaDB server version for the right syntax to use near ') 
			ORDER BY i.new DESC, FIELD(i.status,'1','2','4','3'), i.id DESC' at line 5
        )

)