Add 'ORDER BY id ASC' in activity-news.php and gallery.php. Remove notice.