Código: Seleccionar todo
Error General
SQL ERROR [ mysqli ]
Unknown column 'post_posts' in 'where clause' [1054]
SQL
SELECT forum_id, COUNT(post_id) AS num_posts FROM phpbb_posts WHERE poster_id = 2 AND post_posts = 1 AND (post_approved = 1 OR forum_id IN (1, 2)) GROUP BY forum_id ORDER BY num_posts DESC LIMIT 1
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()
FILE: [ROOT]/includes/db/mysqli.php
LINE: 189
CALL: dbal->sql_error()
FILE: [ROOT]/includes/db/mysqli.php
LINE: 231
CALL: dbal_mysqli->sql_query()
FILE: [ROOT]/includes/db/dbal.php
LINE: 170
CALL: dbal_mysqli->_sql_query_limit()
FILE: [ROOT]/includes/functions_display.php
LINE: 997
CALL: dbal->sql_query_limit()
FILE: [ROOT]/memberlist.php
LINE: 522
CALL: display_user_activity()
EDIT: Ya he solucionado el problema, he resubido todo y de momento funciona perfectamente, siento tanta molestia -_-