I just wanted to let you know that with debug enabled I was receiving an error message for the Slanted theme. I fixed the issue myself by editing a line in functions.php and it no longer shows the error message for me. The error was:
Warning: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ (this will throw an Error in a future version of PHP) in /var/www/web33/web/wp-content/themes/slanted-master/functions.php on line 73
So on line 73 in functions.php I changed the line mentioned in the error message to:
$path = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
- The topic ‘Warning: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’’ is closed to new replies.