WP-Date-Range-Filter icon indicating copy to clipboard operation
WP-Date-Range-Filter copied to clipboard

Warning for PHP 7.1 and above

Open tonykim5 opened this issue 6 years ago • 1 comments

There is a warning on the WordPress dashboard for sites that are using PHP 7.1 and above.

Warning: Declaration of Carbon\Carbon::setTime($hour, $minute, $second = 0) should be compatible with DateTime::setTime($hour, $minute, $second = NULL, $microseconds = NULL) in /path/public_html/wp-content/plugins/date-range-filter/includes/vendor/Carbon.php on line 2127

tonykim5 avatar Sep 13 '18 19:09 tonykim5

Looks like the Carbon library (https://github.com/briannesbitt/Carbon) is way out of date here,

jgwheeler avatar Mar 21 '19 13:03 jgwheeler