$_SERVER[REQUEST_URI]

Home Forums ColorNews Pro $_SERVER[REQUEST_URI]

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Bishal Napit 1 year, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1361748

    Raffaello
    Participant

    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 ?

    #1361756

    Bishal Napit
    Moderator

    Hi, Raffaello.

    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.

    #1361791

    Raffaello
    Participant

    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

    #1361864

    Bishal Napit
    Moderator

    Hi, Raffaello.

    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.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.