Notice: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ in ….functions.php on line 73

When I tried to edit my menu, it appeared

HTTP ERROR 500

Then I set define(‘WP_DEBUG’, true); in wp-config.php

Once I try to save the menu, the following error appears:

Notice: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ in /www/web/keenker/public_html/wp-content/themes/keenker/functions.php on line 73

The tricky thing is, my line 73 in functions.php is

return trim($title);

And throughout the functions.php file, I don’t even have REQUEST_URI parameters.

Appreciate for any help.

Read more here:: Notice: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ in ….functions.php on line 73

Leave a Reply

Your email address will not be published. Required fields are marked *