Removed the __destruct() method from index.php file.