[Skip to main content](#vessel-content)

#   Error when deleting address

##

- **[alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")**
- [![alexnovo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/66168-alexnovo "View alexnovo's Profile") Topic Author
- [ Offline](/forum/user/66168-alexnovo)

Less More

- Posts: 27
- Thank you received: 2
-
-
-

4 years 5 months ago [\#342586](#342586) by [alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")  *[Error when deleting address](/forum/33-customers/904607-error-when-deleting-address#342586 "-- 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&#95;hikashop/classes/field.php:1780 2 hikashopFieldClass-&gt;handleBeforeDelete() JROOT/administrator/components/com&#95;hikashop/classes/address.php:575 3 hikashopAddressClass-&gt;delete() JROOT/administrator/components/com&#95;hikashop/helpers/checkout/address.php:367 4 hikashopCheckoutAddressHelper-&gt;deleteAddresses() JROOT/administrator/components/com&#95;hikashop/helpers/checkout/address.php:162 5 hikashopCheckoutAddressHelper-&gt;validate() JROOT/components/com&#95;hikashop/controllers/checkout.php:295 6 checkoutController-&gt;submitblock() JROOT/libraries/src/MVC/Controller/BaseController.php:735 7 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2378 8 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 9 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69 10 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 11 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389 12 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:204 13 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:243 14 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278 15 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:63 16 require&#95;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.")* was created by *[alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")*

-- 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&#124;array, int given
Call stack
\# Function Location
1 () JROOT/administrator/components/com_hikashop/classes/field.php:1780
2 hikashopFieldClass-&gt;handleBeforeDelete() JROOT/administrator/components/com_hikashop/classes/address.php:575
3 hikashopAddressClass-&gt;delete() JROOT/administrator/components/com_hikashop/helpers/checkout/address.php:367
4 hikashopCheckoutAddressHelper-&gt;deleteAddresses() JROOT/administrator/components/com_hikashop/helpers/checkout/address.php:162
5 hikashopCheckoutAddressHelper-&gt;validate() JROOT/components/com_hikashop/controllers/checkout.php:295
6 checkoutController-&gt;submitblock() JROOT/libraries/src/MVC/Controller/BaseController.php:735
7 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2378
8 hikashopController-&gt;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-&gt;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-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:243
14 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
15 Joomla\CMS\Application\CMSApplication-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDQ2MDctZXJyb3Itd2hlbi1kZWxldGluZy1hZGRyZXNzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

4 years 5 months ago [\#342589](#342589) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error when deleting address](/forum/33-customers/904607-error-when-deleting-address#342589 "-- 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&#95;hikashop/classes/field.php:1780 2 hikashopFieldClass-&gt;handleBeforeDelete() JROOT/administrator/components/com&#95;hikashop/classes/address.php:575 3 hikashopAddressClass-&gt;delete() JROOT/administrator/components/com&#95;hikashop/helpers/checkout/address.php:367 4 hikashopCheckoutAddressHelper-&gt;deleteAddresses() JROOT/administrator/components/com&#95;hikashop/helpers/checkout/address.php:162 5 hikashopCheckoutAddressHelper-&gt;validate() JROOT/components/com&#95;hikashop/controllers/checkout.php:295 6 checkoutController-&gt;submitblock() JROOT/libraries/src/MVC/Controller/BaseController.php:735 7 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2378 8 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 9 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69 10 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 11 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389 12 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:204 13 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:243 14 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278 15 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:63 16 require&#95;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.")*

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.

The following user(s) said Thank You: [alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDQ2MDctZXJyb3Itd2hlbi1kZWxldGluZy1hZGRyZXNzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
