• 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.

Viewing 1 replies (of 1 total)
  • Plugin Support Alexis Salazar

    (@asaldel)

    Hello there,

    hope you are doing well!

    At the moment, our plugin is not compatible with PHP 8.1 yet, but I’ve applied some changes to the plugin in order to avoid these deprecation notices. These changes will be included in the next version.

    Let us know any news, please.

    Have a nice day!

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated warnings to be fixed’ is closed to new replies.