I changed all http to https within my database and my website was working fine. Then I uploaded the latest version of Wordpress and now I have this Notice:
"Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' in /path[...]/functions.php on line 73".
The code I have in functions.php on line 73 is:
$path = $_SERVER['HTTP_HOST'] . $_SERVER[REQUEST_URI];
I've been searching for a solution for a while and as I'm a beginner and i'm not sure how to fix it, I thought it would be better stop and look for help form you guys.
Shall I update the database backup and try to change http:// to https:// again or there is another way to fix this?
Thanks in advance
Gio