- Posts: 637
- Thank you received: 26
Deprecated code myparcel plugin
3 years 2 weeks ago - 3 years 2 weeks ago #355258
by Lumiga
Kind regards,
Lumiga
Deprecated code myparcel plugin was created by Lumiga
-- HikaShop version -- : 5.0.0.
-- Joomla version -- : 4.3.4
-- PHP version -- : 8.1
Hi Supportteam,
Are you aware of these notifications?
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1789
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1800
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::offsetSet($key, $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 /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1812
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1827
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1768
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1747
-- Joomla version -- : 4.3.4
-- PHP version -- : 8.1
Hi Supportteam,
Are you aware of these notifications?
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1789
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1800
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::offsetSet($key, $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 /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1812
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1827
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1768
Deprecated: Return type of MyParcelNL\Sdk\src\Support\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /data/sites/web/.../www/plugins/hikashop/myparcel/vendor/myparcelnl/sdk/src/Support/Collection.php on line 1747
Kind regards,
Lumiga
Last edit: 3 years 2 weeks ago by Lumiga.
Please Log in or Create an account to join the conversation.
3 years 2 weeks ago #355261
by nicolas
Replied by nicolas on topic Deprecated code myparcel plugin
Hi,
We were not aware. Thanks for telling us.
These come from the PHP SDK we're using in MyParcel:
github.com/myparcelnl/sdk/pull/357
You can directly apply the modifications in : github.com/myparcelnl/sdk/pull/357/commi...ef950ac30c6445cdde64
to the file plugins/hikashop/myparcel/vendor/src/Support/Collection.php and it will remove the deprecated messages.
We'll look at publishing a new version of the plugin.
We were not aware. Thanks for telling us.
These come from the PHP SDK we're using in MyParcel:
github.com/myparcelnl/sdk/pull/357
You can directly apply the modifications in : github.com/myparcelnl/sdk/pull/357/commi...ef950ac30c6445cdde64
to the file plugins/hikashop/myparcel/vendor/src/Support/Collection.php and it will remove the deprecated messages.
We'll look at publishing a new version of the plugin.
Please Log in or Create an account to join the conversation.
Time to create page: 0.151 seconds