Warning: Use of undefined constant REQUEST_URI - assumed 'RE

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Warning: Use of undefined constant REQUEST_URI - assumed 'RE

Postby Meekyzy » 26. May 2018 15:25

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.
Meekyzy
 
Posts: 2
Joined: 26. May 2018 15:18
XAMPP version: 3.2.2
Operating System: Windows 10

Re: Warning: Use of undefined constant REQUEST_URI - assumed

Postby Nobbie » 26. May 2018 17:40

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.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Warning: Use of undefined constant REQUEST_URI - assumed

Postby Altrea » 26. May 2018 21:01

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Warning: Use of undefined constant REQUEST_URI - assumed

Postby Meekyzy » 28. May 2018 15:11

Hello, I have unistalled the theme several times and used the default twenty seventeen wp theme yet I see the same thing
Meekyzy
 
Posts: 2
Joined: 26. May 2018 15:18
XAMPP version: 3.2.2
Operating System: Windows 10

Re: Warning: Use of undefined constant REQUEST_URI - assumed

Postby Altrea » 28. May 2018 19:22

The error message is still mentioning mts_splash?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 125 guests