Deprecation notice in PHP8.1
-
Hi
A deprecation notice is generated on every page when running this plugin in PHP8.1. It doesn’t break anything, but it’s filling up the error log and is visible in Query Monitor on every page load.
“Return type of SkyVerge\WooCommerce\PluginFramework\v5_10_15\SV_WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice”
It’s caused by line 85 of vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/class-sv-wc-datetime.php
Thanks!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Deprecation notice in PHP8.1’ is closed to new replies.