Български

English

Türkçe

+359 892 000 444

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 'WHEREi.publish='1'
		ORDER BY RAND() LIMIT 12' 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/credirent/Models/Site.php
                    [line] => 38
                    [function] => execute
                    [class] => EasyFrame\DB\SimpleDB
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /home/credirent/Controllers/Index.php
                    [line] => 45
                    [function] => getItems
                    [class] => Models\Site
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /EasyFrame/FrontController.php
                    [line] => 162
                    [function] => index
                    [class] => Controllers\Index
                    [type] => ->
                )

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

            [5] => Array
                (
                    [file] => /home/credirent/public_html/index.php
                    [line] => 13
                    [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 'WHEREi.publish='1'
		ORDER BY RAND() LIMIT 12' at line 5
        )

)