PHP Deprecated
-
Hi developers of EDD,
First of all, thank you for developing this awesome extension for WordPress. We recently upgraded to EDD 3.1.5 and PHP version 8.2 and noticed that some parts are not compatible yet with 8.2.
Would it be able to fix these errors, please?
DeprecatedReturn type of Carbon\Carbon::createFromFormat($format, $time, $tz = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice+
- wp-content/plugins/easy-digital-downloads/includes/libraries/Carbon.php:568
1Plugin: easy-digital-downloadsDeprecatedReturn type of Carbon\Carbon::getLastErrors() should either be compatible with DateTime::getLastErrors(): array|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice+
- wp-content/plugins/easy-digital-downloads/includes/libraries/Carbon.php:600
1Plugin: easy-digital-downloadsDeprecatedReturn type of Carbon\Carbon::setTimezone($value) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice+
- wp-content/plugins/easy-digital-downloads/includes/libraries/Carbon.php:944
1Plugin: easy-digital-downloadsDeprecatedReturn type of Carbon\Carbon::setDate($year, $month, $day) should either be compatible with DateTime::setDate(int $year, int $month, int $day): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice+
- wp-content/plugins/easy-digital-downloads/includes/libraries/Carbon.php:859
1Plugin: easy-digital-downloadsDeprecatedReturn type of EDD\Utils\Date::format($format = ‘datetime’) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice+
- wp-content/plugins/easy-digital-downloads/includes/utils/class-date.php:58
1Plugin: easy-digital-downloadsDeprecatedCreation of dynamic property Easy_Digital_Downloads::$email_summary_admin is deprecated+
- wp-content/plugins/easy-digital-downloads/includes/class-easy-digital-downloads.php:228
1Plugin: easy-digital-downloadsDeprecatedCreation of dynamic property EDD\Component::$types is deprecated+
- wp-content/plugins/easy-digital-downloads/includes/orders/functions/types.php:62
1Plugin: easy-digital-downloadsDeprecatedAutomatic conversion of false to array is deprecated+
- wp-content/plugins/easy-digital-downloads/includes/payments/functions.php:1763
1Plugin: easy-digital-downloadsDeprecatedDateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated+
- wp-content/plugins/easy-digital-downloads/includes/libraries/Carbon.php:291
1Plugin: easy-digital-downloadsDeprecatedstrpos(): Passing null to parameter #1 ($haystack) of type string is deprecated+
- wp-includes/functions.php:7053
3Plugin: easy-digital-downloadsDeprecatedstr_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated+
- wp-includes/functions.php:2165
3Plugin: easy-digital-downloadsDeprecatedConstant FILTER_SANITIZE_STRING is deprecated+
- wp-content/plugins/easy-digital-downloads/src/Admin/Extensions/Extension_Manager.php:87
1Plugin: easy-digital-downloads
Thanks in advance!
- The topic ‘PHP Deprecated’ is closed to new replies.