Ini berarti parameter kedua untuk date() mengharapkan bilangan bulat, jadi konversikan $row['posted'] ke stempel waktu terlebih dahulu.
Coba
$posted = date('d/m/Y H:i:s', strtotime($row['posted']));
Ini berarti parameter kedua untuk date() mengharapkan bilangan bulat, jadi konversikan $row['posted'] ke stempel waktu terlebih dahulu.
Coba
$posted = date('d/m/Y H:i:s', strtotime($row['posted']));