Describe the bug
PHP Waring [Deprecated] Return type of WPO\WC\MyParcelBE\Compatibility\WC_DateTime::getTimestamp()
is thriggered when following combination of assets is in place.
Steps to reproduce this behaviour
No real steps to reproduce, php Warning triggered when the following combination of assets are in place
Expected behaviour
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Details
PHP Version: 8.3.7
WordPress version: 6.5.5
WooCommerce version: 9.0.2
WooCommerce MyParcel version: 4.5.5-beta
Theme: StoreFront
Additional context
Following PHP Warning:
Deprecated
Return type of WPO\WC\MyParcelBE\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Describe the bug PHP Waring [Deprecated] Return type of WPO\WC\MyParcelBE\Compatibility\WC_DateTime::getTimestamp() is thriggered when following combination of assets is in place.
Steps to reproduce this behaviour No real steps to reproduce, php Warning triggered when the following combination of assets are in place
Expected behaviour A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Details
Additional context Following PHP Warning:
Deprecated
Return type of WPO\WC\MyParcelBE\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
-wp-content/plugins/wc-myparcel-belgium/includes/compatibility/class-wc-date-compatibility.php:47 WPForms\ErrorHandler->error_handler() wp-content/plugins/wc-myparcel-belgium/includes/compatibility/class-wc-date-compatibility.php:27 WCMYPABE->includes() wp-content/plugins/wc-myparcel-belgium/woocommerce-myparcel.php:185 WCMYPABE->load_classes() wp-includes/class-wp-hook.php:324 do_action('init') wp-settings.php:695