TypeError Object
(
    [message:protected] => Cannot access offset of type string on string
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /home/jfit/Controllers/SiteController.php
    [line:protected] => 1160
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/jfit/Controllers/SiteController.php
                    [line] => 1193
                    [function] => printPrice
                    [class] => Controllers\SiteController
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /home/jfit/Controllers/Categories.php
                    [line] => 220
                    [function] => __destruct
                    [class] => Controllers\SiteController
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /EasyFrame/App.php
                    [line] => 119
                    [function] => __destruct
                    [class] => Controllers\Categories
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /home/jfit/public_html/index.php
                    [line] => 13
                    [function] => run
                    [class] => EasyFrame\App
                    [type] => ->
                )

        )

    [previous:Error:private] => 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 ')
        ),
        `getp` AS (
            SELECT
                i.id, i.s...' at line 4
            [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/jfit/Models/Site.php
                            [line] => 148
                            [function] => execute
                            [class] => EasyFrame\DB\SimpleDB
                            [type] => ->
                        )

                    [2] => Array
                        (
                            [file] => /home/jfit/Controllers/Categories.php
                            [line] => 115
                            [function] => getItems
                            [class] => Models\Site
                            [type] => ->
                        )

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

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

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

                    [6] => Array
                        (
                            [file] => /home/jfit/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 ')
        ),
        `getp` AS (
            SELECT
                i.id, i.s...' at line 4
                )

        )

)