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/allinmobi.com/htdocs/model/core/database.php:380
Stack trace:
#0 /var/www/allinmobi.com/htdocs/model/core/database.php(380): PDOStatement->execute()
#1 /var/www/allinmobi.com/htdocs/model/core/database.php(188): Core\Database->execute(NULL)
#2 /var/www/allinmobi.com/htdocs/controller/user.profile.edit.include.php(7): Core\Database->executeAndReturnResultArray('select * from u...')
#3 /var/www/allinmobi.com/htdocs/controller/controller.php(296): include('/var/www/allinm...')
#4 {main}
[code:protected] => 42000
[file:protected] => /var/www/allinmobi.com/htdocs/model/core/database.php
[line:protected] => 380
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/allinmobi.com/htdocs/model/core/database.php
[line] => 380
[function] => execute
[class] => PDOStatement
[type] => ->
[args] => Array
(
)
)
[1] => Array
(
[file] => /var/www/allinmobi.com/htdocs/model/core/database.php
[line] => 188
[function] => execute
[class] => Core\Database
[type] => ->
[args] => Array
(
[0] =>
)
)
[2] => Array
(
[file] => /var/www/allinmobi.com/htdocs/controller/user.profile.edit.include.php
[line] => 7
[function] => executeAndReturnResultArray
[class] => Core\Database
[type] => ->
[args] => Array
(
[0] => select * from user_types where id=
)
)
[3] => Array
(
[file] => /var/www/allinmobi.com/htdocs/controller/controller.php
[line] => 296
[args] => Array
(
[0] => /var/www/allinmobi.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
)
)