Fatal error: Using $this when not in object context in /view/index.php on line 7