Deprecated warnings to be fixed
-
Hi,
I am using PHP 8.1.1 and I believe there are some warnings that could be fixed because the logs are pretty quickly fulfilled.Deprecated: Return type of YITH_WCWL_Wishlist_Item::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in?xxx/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-wishlist-item.php?on line?710
Deprecated: Return type of YITH_WCWL_Wishlist_Item::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in?xxx/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-wishlist-item.php?on line?727
Deprecated: Return type of YITH_WCWL_Wishlist_Item::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in?xxx/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-wishlist-item.php?on line?676
Deprecated: Return type of YITH_WCWL_Wishlist_Item::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in xxx/plugins/yith-woocommerce-wishlist/includes/class-yith-wcwl-wishlist-item.php?on line?692
Many thanks.
- The topic ‘Deprecated warnings to be fixed’ is closed to new replies.