Avada Forums Community Forum PHP 7.2 warning: REQUEST_URI in functions.php

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Alexey
    Participant
    Post count: 2

    Hello.

    After upgrade to PHP7.2 (Ubuntu 18.04 LTS) and WordPress 4.9.6, I started getting a worning:
    “Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ (this will throw an Error in a future version of PHP) in /var/www/html/wp-content/themes/Avada/functions.php on line 73”
    But I can’t find any REQUEST_URI in this file.
    Has anyone faced such a problem? How to fix this warning?

    Thank you beforehand.

    Alexey
    Participant
    Post count: 2

    I understand how to fix this warning. But I can’t find any lines with a reference to REQUEST_URI that aren’t enclosed in quotes, and file /Avada/function.php doesn’t have such a call at all.

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