Fatal error: Cannot use $this as parameter in C:\xampp\htdocs\config-and-functions.php on line 508