There are no rows in phpbb_privmsgs with a msg_id of 0.Wirral Talk wrote: ↑Tue May 28, 2019 4:30 am Firstly I'd check where the messages ended up in phpbb_privmsgs, has that table also got a row with msg_id of 0? If not, can you find the msg_id of the correct row?
Code: Select all
DELETE * FROM phpbb_privmsgs_to WHERE 'mod_id' = 0;
Code: Select all
DELETE FROM `phpbb_privmsgs_to` WHERE `msg_id` = '0';