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 MySQL server version for the right syntax to use near '. categories AS t2
ON t1.category = t2.id
WHERE t1.publish' at line 5
[string:Exception:private] =>
[code:protected] => 42000
[file:protected] => /opt/www/virtual/www.jokestation.org/pages/popular.page.php
[line:protected] => 27
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /opt/www/virtual/www.jokestation.org/pages/popular.page.php
[line] => 27
[function] => execute
[class] => PDOStatement
[type] => ->
)
[1] => Array
(
[file] => /opt/www/virtual/www.jokestation.org/index.php
[line] => 158
[args] => Array
(
[0] => /opt/www/virtual/www.jokestation.org/pages/popular.page.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 '. categories AS t2
ON t1.category = t2.id
WHERE t1.publish' at line 5
)
)