Fixed the "Call to a member function row() in News.php" bug (see #5265)