Fixed update query in queries.php. "$publicationDate" didnt exist, changed to "$date".