[wp-trac] [WordPress Trac] #39584: PHP Notice: WP_Date_Query

WordPress Trac noreply at wordpress.org
Sat Dec 12 23:26:34 UTC 2020


#39584: PHP Notice:  WP_Date_Query
-------------------------------------+----------------------
 Reporter:  salvoaranzulla           |       Owner:  (none)
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  General                  |     Version:  4.7.1
 Severity:  normal                   |  Resolution:  invalid
 Keywords:  reporter-feedback close  |     Focuses:
-------------------------------------+----------------------
Changes (by hellofromTonya):

 * keywords:  reporter-feedback => reporter-feedback close
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Old description:

> After I have upgraded my Wordpress to Wordpress 4.7, I'm reading this PHP
> Notice many times in "debug.log":
>
> [13-Jan-2017 13:08:24 UTC] PHP Notice:  WP_Date_Query è stato richiamato
> <strong>in maniera scorretta</strong>. Valore non valido <code>794</code>
> per <code>week</code>. Il valore previsto dovrebbe essere tra
> <code>1</code> e <code>53</code>. Leggi <a
> href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in
> WordPress</a> per maggiori informazioni. (Questo messaggio è stato
> aggiunto nella versione 4.1.0.) in /.../wp-includes/functions.php on line
> 4136
>
> I'm still reading this PHP Notice also in Wordpress 4.7.1.
>
> We don't use WP_Date_Query in our plugins. We don't use WP_Date_Query in
> our theme.

New description:

 After I have upgraded my WordPress to Wordpress 4.7, I'm reading this PHP
 Notice many times in "debug.log":

 [13-Jan-2017 13:08:24 UTC] PHP Notice:  WP_Date_Query è stato richiamato
 <strong>in maniera scorretta</strong>. Valore non valido <code>794</code>
 per <code>week</code>. Il valore previsto dovrebbe essere tra
 <code>1</code> e <code>53</code>. Leggi <a
 href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in
 WordPress</a> per maggiori informazioni. (Questo messaggio è stato
 aggiunto nella versione 4.1.0.) in /.../wp-includes/functions.php on line
 4136

 I'm still reading this PHP Notice also in Wordpress 4.7.1.

 We don't use WP_Date_Query in our plugins. We don't use WP_Date_Query in
 our theme.

--

Comment:

 Hello @salvoaranzulla,

 Welcome to WordPress Trac!

 I'm closing this ticket as it's been 4 years since reporter feedback was
 requested. If this issue still exists, please provide feedback for us to
 further investigate. Cheers.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39584#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list