โค้ด: เลือกทั้งหมด
[phpBB Debug] PHP Notice: in file [ROOT]/ext/mindphp/m_button_like/acp/button_like_module.php on line 207: Undefined index: post
[phpBB Debug] PHP Notice: in file [ROOT]/ext/mindphp/m_button_like/acp/button_like_module.php on line 208: Undefined index: post
จะต้องปรับแก้ไขอย่างไรครับ
ส่วนโคดที่เป็นปัญหา
โค้ด: เลือกทั้งหมด
while ($row = $db->sql_fetchrow($result)) {
$count_post_user[$row['poster_id']]['post'] += 1;
$data[$row['poster_id']]['post'] += 1;
}