[wp-trac] [WordPress Trac] #48717: Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP)
WordPress Trac
noreply at wordpress.org
Tue Nov 19 00:03:51 UTC 2019
#48717: Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI'
(this will throw an Error in a future version of PHP)
---------------------------+----------------------
Reporter: arnaldosantos | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 5.3
Severity: major | Resolution: invalid
Keywords: needs-refresh | Focuses:
---------------------------+----------------------
Changes (by garrett-eclipse):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hello @arnaldosantos this Trac is for reporting bugs and working on
enhancements for WordPress core, as your issue is in a custom theme I'm
closing this as `invalid`.
But that being said first glance at your issue you'll just need to go into
your `dioceseteixeiradefreitas.com.br/wp-content/themes/jannah-
PURCHASHED/functions.php` file and modify line 73
Replace `$_SERVER[REQUEST_URI]` with `$_SERVER['REQUEST_URI']` surrounding
`REQUEST_URI` in single quotes.
If you continue having issues please open up a thread on the support
forums here;
https://wordpress.org/support/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48717#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list