| ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't.category' in 'where clause' in /srv/web/elnumis/includes/db.php on line 23 |
| ( ! ) PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't.category' in 'where clause' in /srv/web/elnumis/includes/db.php on line 23 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0013 | 446312 | {main}( ) | .../forum.php:0 |
| 2 | 0.0073 | 473544 | dbFetchAll( $sql = 'SELECT t.*, u.username, u.avatar,\n (SELECT COUNT(*) FROM forum_replies WHERE topic_id = t.id) as reply_count\n FROM forum_topics t\n JOIN users u ON t.user_id = u.id\n WHERE t.category = ?\n ORDER BY t.is_pinned DESC, COALESCE(t.last_reply_at, t.created_at) DESC\n LIMIT 50', $params = [0 => 'technique'] ) | .../forum.php:251 |
| 3 | 0.0073 | 473544 | dbQuery( $sql = 'SELECT t.*, u.username, u.avatar,\n (SELECT COUNT(*) FROM forum_replies WHERE topic_id = t.id) as reply_count\n FROM forum_topics t\n JOIN users u ON t.user_id = u.id\n WHERE t.category = ?\n ORDER BY t.is_pinned DESC, COALESCE(t.last_reply_at, t.created_at) DESC\n LIMIT 50', $params = [0 => 'technique'] ) | .../db.php:31 |
| 4 | 0.0089 | 518936 | prepare( $query = 'SELECT t.*, u.username, u.avatar,\n (SELECT COUNT(*) FROM forum_replies WHERE topic_id = t.id) as reply_count\n FROM forum_topics t\n JOIN users u ON t.user_id = u.id\n WHERE t.category = ?\n ORDER BY t.is_pinned DESC, COALESCE(t.last_reply_at, t.created_at) DESC\n LIMIT 50' ) | .../db.php:23 |