[wp-trac] [WordPress Trac] #42515: PHP 7.1 Warning: A non-numeric value encountered in \wordpress\wp-includes\SimplePie\Parse\Date.php on line 694

WordPress Trac noreply at wordpress.org
Sun Nov 12 01:18:15 UTC 2017


#42515: PHP 7.1 Warning: A non-numeric value encountered in \wordpress\wp-
includes\SimplePie\Parse\Date.php on line 694
--------------------------------+------------------------------
 Reporter:  aquakitty           |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:  4.8.3
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+------------------------------

Comment (by aquakitty):

 Modified line:

 {{{#!php
 <?php
 $second = round((int)$match[6] + (int)$match[7] / pow(10,
 strlen($match[7])));
 }}}

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


More information about the wp-trac mailing list