WordPress.org

Make WordPress Core

#48717 closed defect (bug) (invalid)

Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP)

Reported by: arnaldosantos Owned by:
Milestone: Priority: normal
Severity: major Version: 5.3
Component: General Keywords: needs-refresh
Focuses: Cc:

Description

Olá senhores, preciso muito da ajuda de vocês.
Atualizei o WORDPRESS do meu site ontem (17/11) para a versão 5.3. Porém, após atualizar, apareceu uma mensagem de erro assim:

Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP) in /home2/dioceset/public_html/dioceseteixeiradefreitas.com.br/wp-content/themes/jannah-PURCHASHED/functions.php on line 73

Provavelmente será um erro não na plataforma do WORDPRESS mas no TEMA do meu site que talvez não são compatíveis. Pois bem, Tentei fazer um Downgrade - Versão Antiga do WordPress.
Tentei entrar pelo endereço de administração para acessar o PAINEL, porém sem sucesso, ele fica numa tela branca com a mesma mensagem acima.

Attachments (1)

print 1.png (854.7 KB) - added by arnaldosantos 17 months ago.
print 1 - página inicial

Download all attachments as: .zip

Change History (2)

@arnaldosantos
17 months ago

print 1 - página inicial

#1 @garrett-eclipse
17 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

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/

Note: See TracTickets for help on using tickets.