Page 1 of 1

Warning: Use of undefined constant REQUEST_URI - assumed 'RE

PostPosted: 26. May 2018 15:25
by Meekyzy
I Keep on getting this message each time I try to install a new WordPress theme on my Server or even access the old one.

Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\ngn.com\wp-content\themes\mts_splash\functions.php on line 73


Please help me.

Re: Warning: Use of undefined constant REQUEST_URI - assumed

PostPosted: 26. May 2018 17:40
by Nobbie
1) Edit the file C:\xampp\htdocs\ngn.com\wp-content\themes\mts_splash\functions.php, proceed to line 73 and look for REQUEST_URI. Put single quotes around it ('REQUEST_URI') and save the file.

2) Proceed to WordPress and tell them about that problem

3) Next time, proceed to WordPress immediately, as this is not a Xampp issue, its a WordPress issue.

Re: Warning: Use of undefined constant REQUEST_URI - assumed

PostPosted: 26. May 2018 21:01
by Altrea
This is also not a wordpress core problem, it's a problem of this theme "mts_splash".
You bought this theme for much money so you also had the right to ask for support from the theme author.

Re: Warning: Use of undefined constant REQUEST_URI - assumed

PostPosted: 28. May 2018 15:11
by Meekyzy
Hello, I have unistalled the theme several times and used the default twenty seventeen wp theme yet I see the same thing

Re: Warning: Use of undefined constant REQUEST_URI - assumed

PostPosted: 28. May 2018 19:22
by Altrea
The error message is still mentioning mts_splash?