[Support request] Warning appear on the top my website

Home Forums Support Warning appear on the top my website

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1063818
    Musa Ahmad

    Hi,

    Today I open my website and I see the following warning appear on the top of my website:

    Warning: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ (this will throw an Error in a future version of PHP) in /home1/perniaga/public_html/mathmosa/wp-content/themes/generatepress/functions.php on line 73

    I have open another page, but the same warning appears on top of each page.

    I need help..

    #1064141
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    REQUEST_URI isn’t something in the core functions.php file. This can mean two things:

    1. You’ve added custom code to the functions.php file that needs to be removed.
    2. Your server has been compromised and malicious code has been added.

    If #2 is the case, you should contact your hosting to help you remove/disable the nasty files, and secure your server (changing passwords etc..).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.