- Posts: 27
- Thank you received: 2
Error when deleting address
4 years 3 months ago #342586
by alexnovo
Best regards,
Error when deleting address was created by alexnovo
-- HikaShop version -- : 4.6.0
-- Joomla version -- : 4.1.4
-- PHP version -- : 8.0.18
-- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits)
-- Error-message(debug-mod must be tuned on) -- : 0
count(): Argument #1 ($value) must be of type Countable|array, int given
Call stack
# Function Location
1 () JROOT/administrator/components/com_hikashop/classes/field.php:1780
2 hikashopFieldClass->handleBeforeDelete() JROOT/administrator/components/com_hikashop/classes/address.php:575
3 hikashopAddressClass->delete() JROOT/administrator/components/com_hikashop/helpers/checkout/address.php:367
4 hikashopCheckoutAddressHelper->deleteAddresses() JROOT/administrator/components/com_hikashop/helpers/checkout/address.php:162
5 hikashopCheckoutAddressHelper->validate() JROOT/components/com_hikashop/controllers/checkout.php:295
6 checkoutController->submitblock() JROOT/libraries/src/MVC/Controller/BaseController.php:735
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2378
8 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:88
9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:204
13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:243
14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
15 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
16 require_once() JROOT/index.php:32
I have a error when deleting addresses from the lists.
This happens frontend and backend. It gives me the same error.
Trying to delete another address does not make any difference.
-- Joomla version -- : 4.1.4
-- PHP version -- : 8.0.18
-- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits)
-- Error-message(debug-mod must be tuned on) -- : 0
count(): Argument #1 ($value) must be of type Countable|array, int given
Call stack
# Function Location
1 () JROOT/administrator/components/com_hikashop/classes/field.php:1780
2 hikashopFieldClass->handleBeforeDelete() JROOT/administrator/components/com_hikashop/classes/address.php:575
3 hikashopAddressClass->delete() JROOT/administrator/components/com_hikashop/helpers/checkout/address.php:367
4 hikashopCheckoutAddressHelper->deleteAddresses() JROOT/administrator/components/com_hikashop/helpers/checkout/address.php:162
5 hikashopCheckoutAddressHelper->validate() JROOT/components/com_hikashop/controllers/checkout.php:295
6 checkoutController->submitblock() JROOT/libraries/src/MVC/Controller/BaseController.php:735
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2378
8 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:88
9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:204
13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:243
14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
15 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
16 require_once() JROOT/index.php:32
I have a error when deleting addresses from the lists.
This happens frontend and backend. It gives me the same error.
Trying to delete another address does not make any difference.
Best regards,
Please Log in or Create an account to join the conversation.
4 years 3 months ago #342589
by nicolas
Replied by nicolas on topic Error when deleting address
Hi,
We fixed that a week ago on our end.
Download again the 4.6.0 install package on our website and install it on yours and you'll get the patch for it.
We fixed that a week ago on our end.
Download again the 4.6.0 install package on our website and install it on yours and you'll get the patch for it.
The following user(s) said Thank You: alexnovo
Please Log in or Create an account to join the conversation.
Time to create page: 0.132 seconds