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

#   Status PHP 8 compatibility

##

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

Less More

- Posts: 43
- Thank you received: 1
-
-

5 years 3 months ago -  5 years 3 months ago [\#335096](#335096) by [hmd](/forum/user/56870-hmd "View hmd's Profile")  *[Status PHP 8 compatibility](/forum/25-install-update/903081-status-php-8-compatibility#335096 "-- url of the page with the problem -- :   www.industrialgarden.nl  -- Joomla version -- : 3.10.0  Can you give an update on compatibility of Hikashop with: -php 8")* was created by *[hmd](/forum/user/56870-hmd "View hmd's Profile")*

-- url of the page with the problem -- : [ www.industrialgarden.nl](https://www.industrialgarden.nl)
-- Joomla version -- : 3.10.0

Can you give an update on compatibility of Hikashop with:
-php 8

Last edit: 5 years 3 months ago by [hmd](/forum/user/56870-hmd "View hmd's Profile").

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 3 months ago -  5 years 3 months ago [\#335104](#335104) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Status PHP 8 compatibility](/forum/25-install-update/903081-status-php-8-compatibility#335104 "-- url of the page with the problem -- :   www.industrialgarden.nl  -- Joomla version -- : 3.10.0  Can you give an update on compatibility of Hikashop with: -php 8")*

Hello,

Yes, since **HikaShop 4.4.3**, **php8** is filly supported by HikaShop.
You can have these kind of informations (and many other) in the **[ HikaShop changelog](https://www.hikashop.com/support/documentation/56-hikashop-changelog.html)**.

[ ![alt](https://i.ibb.co/4dRDXrQ/change-log.png) ](https://i.ibb.co/4dRDXrQ/change-log.png "alt")

Hope this will answer you.
Regards

Last edit: 5 years 3 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 50
- Thank you received: 3
-
-

4 years 7 months ago [\#340655](#340655) by [stefanfrei](/forum/user/53877-stefanfrei "View stefanfrei's Profile")  Replied by *[stefanfrei](/forum/user/53877-stefanfrei "View stefanfrei's Profile")* on topic *[Status PHP 8 compatibility](/forum/25-install-update/903081-status-php-8-compatibility#340655 "-- url of the page with the problem -- :   www.industrialgarden.nl  -- Joomla version -- : 3.10.0  Can you give an update on compatibility of Hikashop with: -php 8")*

Hi,

it seems that there is a bug when using PHP8:

I cannot open a basket with Customer/Basket in the backend. (administrator/index.php?option=com_hikashop&amp;ctrl=cart&amp;task=edit&amp;cart_type=cart&amp;cart_id=36922&amp;cid[]=36922)
I get this error:
0 htmlspecialchars(): Argument #1 ($string) must be of type string, array given

Whe using PHP7.4 all is ok.

Thanks for help.

Regards,
Stefan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMzA4MS1zdGF0dXMtcGhwLTgtY29tcGF0aWJpbGl0eT90bXBsPW1hcmtkb3du) 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 7 months ago [\#340660](#340660) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Status PHP 8 compatibility](/forum/25-install-update/903081-status-php-8-compatibility#340660 "-- url of the page with the problem -- :   www.industrialgarden.nl  -- Joomla version -- : 3.10.0  Can you give an update on compatibility of Hikashop with: -php 8")*

Hi,

I'm not able to reproduce the problem on my end.
It must happen only with something specific.
Could you activate the "debug system" setting of the Joomla configuration and try again ?
It should display an error message with more information, which will allow us to better understand where is the problem to be able to fix it.

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

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

Less More

- Posts: 50
- Thank you received: 3
-
-

4 years 7 months ago [\#340661](#340661) by [stefanfrei](/forum/user/53877-stefanfrei "View stefanfrei's Profile")  Replied by *[stefanfrei](/forum/user/53877-stefanfrei "View stefanfrei's Profile")* on topic *[Status PHP 8 compatibility](/forum/25-install-update/903081-status-php-8-compatibility#340661 "-- url of the page with the problem -- :   www.industrialgarden.nl  -- Joomla version -- : 3.10.0  Can you give an update on compatibility of Hikashop with: -php 8")*

Here is the debug message:

Es ist ein Fehler aufgetreten!

0 htmlspecialchars(): Argument #1 ($string) must be of type string, array given
/data/web/e133867/html/weingut-frei.at/libraries/src/MVC/View/HtmlView.php:387

Call stack
\# Function Location
1 () JROOT/libraries/src/MVC/View/HtmlView.php:387
2 htmlspecialchars()
3 call_user_func() JROOT/libraries/src/MVC/View/HtmlView.php:387
4 Joomla\CMS\MVC\View\HtmlView-&gt;escape() JROOT/administrator/components/com_hikashop/views/cart/tmpl/form.php:59
5 include() JROOT/libraries/src/MVC/View/HtmlView.php:701
6 Joomla\CMS\MVC\View\HtmlView-&gt;loadTemplate() JROOT/administrator/components/com_hikashop/helpers/helper.php:2623
7 hikashopView-&gt;loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:230
8 Joomla\CMS\MVC\View\HtmlView-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2578
9 hikashopView-&gt;display() JROOT/administrator/components/com_hikashop/views/cart/view.html.php:22
10 CartViewCart-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:664
11 Joomla\CMS\MVC\Controller\BaseController-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2315
12 hikashopController-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2059
13 hikashopController-&gt;edit() JROOT/administrator/components/com_hikashop/controllers/cart.php:56
14 CartController-&gt;edit() JROOT/libraries/src/MVC/Controller/BaseController.php:702
15 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2293
16 hikashopController-&gt;execute() JROOT/administrator/components/com_hikashop/hikashop.php:73
17 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
18 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
19 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:101
20 Joomla\CMS\Application\AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:159
21 Joomla\CMS\Application\AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
22 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/administrator/index.php:51

Zurück zum Kontrollzentrum

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMzA4MS1zdGF0dXMtcGhwLTgtY29tcGF0aWJpbGl0eT90bXBsPW1hcmtkb3du) 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 7 months ago [\#340664](#340664) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Status PHP 8 compatibility](/forum/25-install-update/903081-status-php-8-compatibility#340664 "-- url of the page with the problem -- :   www.industrialgarden.nl  -- Joomla version -- : 3.10.0  Can you give an update on compatibility of Hikashop with: -php 8")*

Hi,

Thank you for that. It actually only happens if you have a coupon added to the cart. That's why I didn't get the error on my end.
I've made a patch for this.
Download the install package of HikaShop on our website and install it on yours and it will add that patch and fix the problem.

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

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

Less More

- Posts: 50
- Thank you received: 3
-
-

4 years 7 months ago [\#340727](#340727) by [stefanfrei](/forum/user/53877-stefanfrei "View stefanfrei's Profile")  Replied by *[stefanfrei](/forum/user/53877-stefanfrei "View stefanfrei's Profile")* on topic *[Status PHP 8 compatibility](/forum/25-install-update/903081-status-php-8-compatibility#340727 "-- url of the page with the problem -- :   www.industrialgarden.nl  -- Joomla version -- : 3.10.0  Can you give an update on compatibility of Hikashop with: -php 8")*

Thank you for your fast solution.
Works fine!

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

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

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