[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:15:32 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 | Keywords:
Focuses: |
--------------------------------+-----------------------------
When using the function get_permalink() for the RSS feed, I am getting
this error.
I fixed it by casting match[] for now.
{{{#!php
<?php
$second = round($match[6] + $match[7] / pow(10, strlen($match[7])));
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42515>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list