PRE:select * from user_types where id=
PREPDOException 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 MySQL server version for the right syntax to use near '' at line 1
    [string:Exception:private] => PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1 in /var/www/dailyfunworld.com/htdocs/model/core/database.php:370
Stack trace:
#0 /var/www/dailyfunworld.com/htdocs/model/core/database.php(370): PDOStatement->execute()
#1 /var/www/dailyfunworld.com/htdocs/model/core/database.php(191): Core\Database->execute()
#2 /var/www/dailyfunworld.com/htdocs/controller/user.profile.edit.include.php(7): Core\Database->executeAndReturnResultArray()
#3 /var/www/dailyfunworld.com/htdocs/controller/controller.php(296): include('...')
#4 {main}
    [code:protected] => 42000
    [file:protected] => /var/www/dailyfunworld.com/htdocs/model/core/database.php
    [line:protected] => 370
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/dailyfunworld.com/htdocs/model/core/database.php
                    [line] => 370
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /var/www/dailyfunworld.com/htdocs/model/core/database.php
                    [line] => 191
                    [function] => execute
                    [class] => Core\Database
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /var/www/dailyfunworld.com/htdocs/controller/user.profile.edit.include.php
                    [line] => 7
                    [function] => executeAndReturnResultArray
                    [class] => Core\Database
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /var/www/dailyfunworld.com/htdocs/controller/controller.php
                    [line] => 296
                    [args] => Array
                        (
                            [0] => /var/www/dailyfunworld.com/htdocs/controller/user.profile.edit.include.php
                        )

                    [function] => include
                )

        )

    [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 MySQL server version for the right syntax to use near '' at line 1
        )

)