Home › Forums › ColorNews Pro › $_SERVER[REQUEST_URI]
This topic contains 3 replies, has 2 voices, and was last updated by Bishal Napit 1 year, 6 months ago.
I receive always this error :
[2018-03-06 07:42:10] php_system.INFO: E_NOTICE: array ( ‘type’ => 8, ‘message’ => ‘Use of undefined constant REQUEST_URI – assumed \’REQUEST_URI\”, ‘file’ => ‘/var/www/blograffo.net/www/wp-content/themes/colornews-pro/functions.php’, ‘line’ => 73, )  
In line 73 I read $path = $_SERVER[‘HTTP_HOST’] . $_SERVER[REQUEST_URI];
What is wrong ?
There is no such code within the theme as you have mentioned. So, if you have coded that on your own then, can you revert back the changes and check for the same? Thanks.
That’s fine Bishal… I don’t understand but file funciont.php was changed! I have replace that with the original…. now all seems go fine Thanks a lot
Maybe someone accidentally changed up that file who have the cPanel or FTP credentials to your site. So, can you once consult with them? Thanks.
You must be logged in to reply to this topic.