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

#   Hikashop UPS Plugin error - not working

##

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

Less More

- Posts: 38
- Thank you received: 2
-
-

4 years 7 months ago [\#340815](#340815) by [donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")  *[Hikashop UPS Plugin error - not working](/forum/28-shipping-methods/904250-hikashop-ups-plugin-error-not-working#340815 "-- HikaShop version -- : 4.5 -- Joomla version -- : 4.1.0 -- PHP version -- : 8.0.17 -- Error-message(debug-mod must be tuned on) -- : count(): Argument #1 ($value) must be of type Countable|array, null given  All other plugins have no issue, however, when we add a new UPS shipping method (System &gt; Shipping methods &gt; New &gt; Hikashop UPS Shipping method) we get the attached error and the entire page in admin is broken. Please see attached.")* was created by *[donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")*

-- HikaShop version -- : 4.5
-- Joomla version -- : 4.1.0
-- PHP version -- : 8.0.17
-- Error-message(debug-mod must be tuned on) -- : count(): Argument #1 ($value) must be of type Countable&#124;array, null given

All other plugins have no issue, however, when we add a new UPS shipping method (System &gt; Shipping methods &gt; New &gt; Hikashop UPS Shipping method) we get the attached error and the entire page in admin is broken. Please see attached.

- [ ![hika-ups-error.jpg](/forum/attachment/54654) ](/forum/attachment/54654 "...-ups-error.jpg") [ ](/forum/attachment/54654?download=1 "...-ups-error.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA0MjUwLWhpa2FzaG9wLXVwcy1wbHVnaW4tZXJyb3Itbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) 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: 86587
- Thank you received: 14325
-
-

4 years 7 months ago [\#340817](#340817) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop UPS Plugin error - not working](/forum/28-shipping-methods/904250-hikashop-ups-plugin-error-not-working#340817 "-- HikaShop version -- : 4.5 -- Joomla version -- : 4.1.0 -- PHP version -- : 8.0.17 -- Error-message(debug-mod must be tuned on) -- : count(): Argument #1 ($value) must be of type Countable|array, null given  All other plugins have no issue, however, when we add a new UPS shipping method (System &gt; Shipping methods &gt; New &gt; Hikashop UPS Shipping method) we get the attached error and the entire page in admin is broken. Please see attached.")*

Hi,

Thank you for your feedback. That's a bug resulting from changes with PHP 8 which happens when you create a UPS shipping method (it works when you edit it).
I've added a patch for it.
Download again the install package of HikaShop on our website and install it on yours and you'll get the patch.

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

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

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

Less More

- Posts: 38
- Thank you received: 2
-
-

4 years 7 months ago [\#340904](#340904) by [donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")  Replied by *[donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")* on topic *[Hikashop UPS Plugin error - not working](/forum/28-shipping-methods/904250-hikashop-ups-plugin-error-not-working#340904 "-- HikaShop version -- : 4.5 -- Joomla version -- : 4.1.0 -- PHP version -- : 8.0.17 -- Error-message(debug-mod must be tuned on) -- : count(): Argument #1 ($value) must be of type Countable|array, null given  All other plugins have no issue, however, when we add a new UPS shipping method (System &gt; Shipping methods &gt; New &gt; Hikashop UPS Shipping method) we get the attached error and the entire page in admin is broken. Please see attached.")*

We have installed the updated package. Although the error does clear now the plugin won't save. Instead, as soon as all of the information is added and you hit Save or Save &amp; Close, it throws a 403 error.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA0MjUwLWhpa2FzaG9wLXVwcy1wbHVnaW4tZXJyb3Itbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) 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: 86587
- Thank you received: 14325
-
-

4 years 7 months ago [\#340911](#340911) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop UPS Plugin error - not working](/forum/28-shipping-methods/904250-hikashop-ups-plugin-error-not-working#340911 "-- HikaShop version -- : 4.5 -- Joomla version -- : 4.1.0 -- PHP version -- : 8.0.17 -- Error-message(debug-mod must be tuned on) -- : count(): Argument #1 ($value) must be of type Countable|array, null given  All other plugins have no issue, however, when we add a new UPS shipping method (System &gt; Shipping methods &gt; New &gt; Hikashop UPS Shipping method) we get the attached error and the entire page in admin is broken. Please see attached.")*

Hi,

I'm not able to reproduce the problem on my end with UPS and HikaShop 4.5.1 on Joomla 4.1 and PHP 8.
So maybe there is something else at play.
Could you provide more information on that 403 error ? Does the error message says anything ?
What if you activate the "debug system" setting of the Joomla configuration and try again ? Do you get an error message with more information you could share ?

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

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

Less More

- Posts: 38
- Thank you received: 2
-
-

4 years 7 months ago [\#340957](#340957) by [donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")  Replied by *[donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")* on topic *[Hikashop UPS Plugin error - not working](/forum/28-shipping-methods/904250-hikashop-ups-plugin-error-not-working#340957 "-- HikaShop version -- : 4.5 -- Joomla version -- : 4.1.0 -- PHP version -- : 8.0.17 -- Error-message(debug-mod must be tuned on) -- : count(): Argument #1 ($value) must be of type Countable|array, null given  All other plugins have no issue, however, when we add a new UPS shipping method (System &gt; Shipping methods &gt; New &gt; Hikashop UPS Shipping method) we get the attached error and the entire page in admin is broken. Please see attached.")*

We tried enabling the Joomla debug but its not getting any logs, also tried increasing the post max_vars but the error is still there. Removed several lines in htaccess except for SEF but still having issues. But all the other shipping plugins are saving fine when we tried them. Attached is a screen shot of the settings and the error.
We are supposed to launch soon and this is really holding us up, any way that you could access the website and take a look?

- [ ![hika&#95;ups&#95;error.png](/forum/attachment/54685) ](/forum/attachment/54685 "...&#95;ups&#95;error.png") [ ](/forum/attachment/54685?download=1 "...&#95;ups&#95;error.png")
- [ ![hika&#95;ups&#95;settings.png](/forum/attachment/54686) ](/forum/attachment/54686 "...s&#95;settings.png") [ ](/forum/attachment/54686?download=1 "...s&#95;settings.png")

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

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

Less More

- Posts: 38
- Thank you received: 2
-
-

4 years 7 months ago [\#340959](#340959) by [donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")  Replied by *[donaldmoore](/forum/user/3308-donaldmoore "View donaldmoore's Profile")* on topic *[Hikashop UPS Plugin error - not working](/forum/28-shipping-methods/904250-hikashop-ups-plugin-error-not-working#340959 "-- HikaShop version -- : 4.5 -- Joomla version -- : 4.1.0 -- PHP version -- : 8.0.17 -- Error-message(debug-mod must be tuned on) -- : count(): Argument #1 ($value) must be of type Countable|array, null given  All other plugins have no issue, however, when we add a new UPS shipping method (System &gt; Shipping methods &gt; New &gt; Hikashop UPS Shipping method) we get the attached error and the entire page in admin is broken. Please see attached.")*

This issue has been cleared. There was a firewall setting on the server blocking the request.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA0MjUwLWhpa2FzaG9wLXVwcy1wbHVnaW4tZXJyb3Itbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) 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.062 seconds

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