Comment update

select count(*) total from ( select * from ( select *, 'magazine' as bo_table, 'magazine' as gr_id from g4_write_magazine where wr_is_comment = 1 union select *, 'forum' as bo_table, 'forum' as gr_id from g4_write_forum where wr_is_comment = 1 union select *, 'notice' as bo_table, 'info' as gr_id from g4_write_notice where wr_is_comment = 1 union select *, 's03' as bo_table, 'info' as gr_id from g4_write_s03 where wr_is_comment = 1 union select *, 's04' as bo_table, 'info' as gr_id from g4_write_s04 where wr_is_comment = 1 union select *, 's05' as bo_table, 'info' as gr_id from g4_write_s05 where wr_is_comment = 1 union select *, 's06' as bo_table, 'info' as gr_id from g4_write_s06 where wr_is_comment = 1 union select *, 's07' as bo_table, 'info' as gr_id from g4_write_s07 where wr_is_comment = 1 union select *, 's08' as bo_table, 'info' as gr_id from g4_write_s08 where wr_is_comment = 1 union select *, 's09' as bo_table, 'info' as gr_id from g4_write_s09 where wr_is_comment = 1 union select *, 's10' as bo_table, 'info' as gr_id from g4_write_s10 where wr_is_comment = 1 union select *, 's11' as bo_table, 'info' as gr_id from g4_write_s11 where wr_is_comment = 1 union select *, 's01' as bo_table, 'info' as gr_id from g4_write_s01 where wr_is_comment = 1 union select *, 'reports' as bo_table, 'forum' as gr_id from g4_write_reports where wr_is_comment = 1) as temp order by wr_datetime desc limit 0 , 10) as temp

1222 : The used SELECT statements have a different number of columns

error file : /index.php