• Resolved webparaplan

    (@webparaplan)


    [10-Jan-2025 14:44:25 UTC] PHP Deprecated: Return type of WC_Retailcrm_Response::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 /wp-content/plugins/woo-retailcrm/include/api/class-wc-retailcrm-response.php on line 150
    [10-Jan-2025 14:44:25 UTC] PHP Deprecated: Return type of WC_Retailcrm_Response::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 /wp-content/plugins/woo-retailcrm/include/api/class-wc-retailcrm-response.php on line 164
    [10-Jan-2025 14:44:25 UTC] PHP Deprecated: Return type of WC_Retailcrm_Response::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 /wp-content/plugins/woo-retailcrm/include/api/class-wc-retailcrm-response.php on line 125
    [10-Jan-2025 14:44:25 UTC] PHP Deprecated: Return type of WC_Retailcrm_Response::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 /wp-content/plugins/woo-retailcrm/include/api/class-wc-retailcrm-response.php on line 138

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Simla.com

    (@retailcrm)

    Здравствуйте.

    Зафиксировали ваше обращение. В одном из ближайших обновлений подготовим исправление.

    Plugin Author Simla.com

    (@retailcrm)

    Здравствуйте.

    В последнем обновлении модуля добавлены возвращаемые типы для методов offsetUnset, offsetSet и offsetExists. Теперь предупреждения для этих методов возникать не должны.

    Для метода offsetGet возвращаемый тип mixed добавить не можем, так как он доступен только с PHP 8.0, а минимальная поддерживаемая версия нашим модулем PHP — 7.1.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.