WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 weeks ago

#34934 new defect (bug)

Suppress preg_match() and urldecode() errors in WP::parse_request().

Reported by: entreosos Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4
Component: Query Keywords: reporter-feedback
Focuses: Cc:

Description (last modified by swissspidy)

Error en la fila class-wp.php

207 - 208

Aqui lo arregle asi

if ( @preg_match("#^$match#", $request_match, $matches) || @preg_match("#^$match#", @urldecode($request_match), $matches) ) {

Change History (5)

#1 @swissspidy
4 years ago

  • Description modified (diff)

#2 @SergeyBiryukov
4 years ago

  • Component changed from General to Query
  • Keywords reporter-feedback added

Hi @entreosos, welcome to Trac!

To clarify, the suggestion is to silence preg_match() and urldecode() in WP::parse_request().

Could you please describe the actual issue you're having and provide the steps to reproduce it on a clean install?

Does it still happen with all plugins disabled and a default theme (Twenty Sixteen or Twenty Fifteen) activated?

Does it happen in earlier versions?

#3 @swissspidy
4 years ago

I suspect this happened because of mixed up / broken rewrite rules. Try regenerating them under Options -> Permalinks after disabling all the plugins.

This ticket was mentioned in Slack in #core by wonderboymusic. View the logs.


4 years ago

#5 @SergeyBiryukov
4 years ago

  • Summary changed from Despues de actualizar WP 4.4 tuve error to Suppress preg_match() and urldecode() errors in WP::parse_request().
Note: See TracTickets for help on using tickets.