Fatal error: Uncaught 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 'DESC' at line 1 in /home/yazawajn/public_html/yazawaj/application/php/core/sql/PtcQueryBuilder.class.php:602
Stack trace:
#0 /home/yazawajn/public_html/yazawaj/application/php/core/sql/PtcQueryBuilder.class.php(602): PDOStatement->execute()
#1 /home/yazawajn/public_html/yazawaj/application/php/core/sql/PtcQueryBuilder.class.php(219): sql\PtcQueryBuilder->_executeSql(1)
#2 /home/yazawajn/public_html/yazawaj/application/php/core/user/profile.class.php(114): sql\PtcQueryBuilder->run()
#3 /home/yazawajn/public_html/yazawaj/application/php/core/user/user.class.php(104): user\profile::CREATE_FROM_ROW(Array)
#4 /home/yazawajn/public_html/yazawaj/application/php/core/user/user.class.php(637): user\user::CREATE_FROM_ROW(Array)
#5 [internal function]: user\user->user\{closure}(Object(stdClass))
#6 /home/yazawajn/public_html/yazawaj/application/php/core/user/user.class.php(627): array_map(Object(Closure), Array)
#7 /home/yazawajn/public_html/yazawaj/pages/profile.php(90): user\user->getFriends()
#8 /home/yazawajn/public_html/yazawaj/application/php/core/app/app.class.php(929): include('/home/yazawajn/...')
#9 /home/yazawajn/public_html/yazawaj/application/php/core/app/app.class.php(291): app\app->setPage(Object(app\page))
#10 /home/yazawajn/public_html/yazawaj/index.php(22): app\app->run()
#11 {main}
thrown in /home/yazawajn/public_html/yazawaj/application/php/core/sql/PtcQueryBuilder.class.php on line 602