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

#   HS 4.4.5 + PHP 8.x gives registration "error"

##

- **[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")**
- [![Ch3vr0n's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2857.jpg)](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile") Topic Author
- [ Offline](/forum/user/2857-ch3vr0n)

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

4 years 9 months ago [\#338617](#338617) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  *[HS 4.4.5 + PHP 8.x gives registration "error"](/forum/33-customers/903810-hs-4-4-5-php-8-x-gives-registration-error#338617 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.10.4 -- PHP version -- : 7.4.27/8.0.14 -- Error-message(debug-mod must be tuned on) -- : #0 implode(): Argument #1 ($pieces) must be of type array, string given  When combining hikashop 4.4.5 with PHP 8.x(0.14 in my case) registration partially fails. On the front-end the error  &quot;#0 implode(): Argument #1 ($pieces) must be of type array, string given&quot; is shown, implying to the user that there was a problem (i don't know what) registering. However when checking on the BACKEND, the user is listed. When setting PHP back to 7.4 everything functions as normal.  Seeing as PHP 7.4 has entered its security release only, it's vital for me to move all my sites over to PHP 8")* was created by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")*

-- HikaShop version -- : 4.4.5
-- Joomla version -- : 3.10.4
-- PHP version -- : 7.4.27/8.0.14
-- Error-message(debug-mod must be tuned on) -- : #0 implode(): Argument #1 ($pieces) must be of type array, string given

When combining hikashop 4.4.5 with PHP 8.x(0.14 in my case) registration partially fails. On the front-end the error

"#0 implode(): Argument #1 ($pieces) must be of type array, string given" is shown, implying to the user that there was a problem (i don't know what) registering. However when checking on the BACKEND, the user is listed. When setting PHP back to 7.4 everything functions as normal.

Seeing as PHP 7.4 has entered its security release only, it's vital for me to move all my sites over to PHP 8

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDM4MTAtaHMtNC00LTUtcGhwLTgteC1naXZlcy1yZWdpc3RyYXRpb24tZXJyb3I/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

4 years 9 months ago [\#338640](#338640) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[HS 4.4.5 + PHP 8.x gives registration "error"](/forum/33-customers/903810-hs-4-4-5-php-8-x-gives-registration-error#338640 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.10.4 -- PHP version -- : 7.4.27/8.0.14 -- Error-message(debug-mod must be tuned on) -- : #0 implode(): Argument #1 ($pieces) must be of type array, string given  When combining hikashop 4.4.5 with PHP 8.x(0.14 in my case) registration partially fails. On the front-end the error  &quot;#0 implode(): Argument #1 ($pieces) must be of type array, string given&quot; is shown, implying to the user that there was a problem (i don't know what) registering. However when checking on the BACKEND, the user is listed. When setting PHP back to 7.4 everything functions as normal.  Seeing as PHP 7.4 has entered its security release only, it's vital for me to move all my sites over to PHP 8")*

Hi,

Please try again after activating the "debug system" setting of the joomla configuration.
It will display more information along with the error message which will allow us to understand what problem you have in order to provide a solution.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDM4MTAtaHMtNC00LTUtcGhwLTgteC1naXZlcy1yZWdpc3RyYXRpb24tZXJyb3I/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")**
- [![Ch3vr0n's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2857.jpg)](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile") Topic Author
- [ Offline](/forum/user/2857-ch3vr0n)

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

4 years 9 months ago -  4 years 9 months ago [\#338871](#338871) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[HS 4.4.5 + PHP 8.x gives registration "error"](/forum/33-customers/903810-hs-4-4-5-php-8-x-gives-registration-error#338871 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.10.4 -- PHP version -- : 7.4.27/8.0.14 -- Error-message(debug-mod must be tuned on) -- : #0 implode(): Argument #1 ($pieces) must be of type array, string given  When combining hikashop 4.4.5 with PHP 8.x(0.14 in my case) registration partially fails. On the front-end the error  &quot;#0 implode(): Argument #1 ($pieces) must be of type array, string given&quot; is shown, implying to the user that there was a problem (i don't know what) registering. However when checking on the BACKEND, the user is listed. When setting PHP back to 7.4 everything functions as normal.  Seeing as PHP 7.4 has entered its security release only, it's vital for me to move all my sites over to PHP 8")*

Sorry about the delay. Forum didn't notify me of a response despite enabling the option.

on the front-end, nothing changes. Error remains identical. Pressing the browser "back" button (not using a standard page refresh) the warning "You must accept the privacy policy" appears. Could this be another "GDPR" induced problem?

Trying to edit a user on the backend though gives the exact same error.

> 0 implode(): Argument #1 ($pieces) must be of type array, string given.

Trying to modify an existing user on the backend gives the same error, but the change IS saved.

Setting error reporting on the backend to "development" gives the following error.

> Warning: Trying to access array offset on value of type null in /var/www/vhosts/&lt;domain.tld&gt;/httpdocs/administrator/templates/isis/html/com\_users/users/default.php on line 96

Go back to 7.4 and the backend warning stays but front-end registration behaves just fine and an activation link is e-mailed. Based upon the e-mail look and the link sent it has to be something hikashop related i think. As the link that gets sent is

/index.php?option=com_hikashop&amp;ctrl=user&amp;task=activate&amp;activation=&lt;insert hash?&gt;

below the link the username that just registered gets listed.

Last edit: 4 years 9 months ago by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile"). Reason: more info

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDM4MTAtaHMtNC00LTUtcGhwLTgteC1naXZlcy1yZWdpc3RyYXRpb24tZXJyb3I/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")**
- [![Ch3vr0n's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2857.jpg)](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile") Topic Author
- [ Offline](/forum/user/2857-ch3vr0n)

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

4 years 9 months ago -  4 years 9 months ago [\#338878](#338878) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[HS 4.4.5 + PHP 8.x gives registration "error"](/forum/33-customers/903810-hs-4-4-5-php-8-x-gives-registration-error#338878 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.10.4 -- PHP version -- : 7.4.27/8.0.14 -- Error-message(debug-mod must be tuned on) -- : #0 implode(): Argument #1 ($pieces) must be of type array, string given  When combining hikashop 4.4.5 with PHP 8.x(0.14 in my case) registration partially fails. On the front-end the error  &quot;#0 implode(): Argument #1 ($pieces) must be of type array, string given&quot; is shown, implying to the user that there was a problem (i don't know what) registering. However when checking on the BACKEND, the user is listed. When setting PHP back to 7.4 everything functions as normal.  Seeing as PHP 7.4 has entered its security release only, it's vital for me to move all my sites over to PHP 8")*

So i asked this question over at the Joomla forum too. A mod had this to say (see attachment). Maybe it's of help, as the only extension i know of that is installed that modifies user registration is the hikashop registration redirect plugin.
[ ![Screenshot&#95;20220121-220823.png](/forum/attachment/54256) ](/forum/attachment/54256 "...121-220823.png")

additional info
[ ![joomla&#95;explode.jpg](/forum/attachment/54258) ](/forum/attachment/54258 "...la&#95;explode.jpg")

- [ ![Screenshot&#95;20220121-220823.png](/forum/attachment/54256) ](/forum/attachment/54256 "...121-220823.png") [ ](/forum/attachment/54256?download=1 "...121-220823.png")
- [ ![joomla&#95;explode.jpg](/forum/attachment/54258) ](/forum/attachment/54258 "...la&#95;explode.jpg") [ ](/forum/attachment/54258?download=1 "...la&#95;explode.jpg")

Last edit: 4 years 9 months ago by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDM4MTAtaHMtNC00LTUtcGhwLTgteC1naXZlcy1yZWdpc3RyYXRpb24tZXJyb3I/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")**
- [![Ch3vr0n's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2857.jpg)](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile") Topic Author
- [ Offline](/forum/user/2857-ch3vr0n)

Less More

- Posts: 259
- Thank you received: 10
-
-
- [](http://www.soliweb.be)
-

4 years 9 months ago [\#338896](#338896) by [Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")  Replied by *[Ch3vr0n](/forum/user/2857-ch3vr0n "View Ch3vr0n's Profile")* on topic *[HS 4.4.5 + PHP 8.x gives registration "error"](/forum/33-customers/903810-hs-4-4-5-php-8-x-gives-registration-error#338896 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.10.4 -- PHP version -- : 7.4.27/8.0.14 -- Error-message(debug-mod must be tuned on) -- : #0 implode(): Argument #1 ($pieces) must be of type array, string given  When combining hikashop 4.4.5 with PHP 8.x(0.14 in my case) registration partially fails. On the front-end the error  &quot;#0 implode(): Argument #1 ($pieces) must be of type array, string given&quot; is shown, implying to the user that there was a problem (i don't know what) registering. However when checking on the BACKEND, the user is listed. When setting PHP back to 7.4 everything functions as normal.  Seeing as PHP 7.4 has entered its security release only, it's vital for me to move all my sites over to PHP 8")*

i checked out that specific file just now and its this

$allowed_admins_prm_arr[] = $allowed_admins_prm[0]

Then out of shere curiousity i figured lets check the header if this is even a hikashop file at all. It's not. Its from the component "Login As User" by Web357. I need to take this issue up with them. I'll let you know how this turns out

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDM4MTAtaHMtNC00LTUtcGhwLTgteC1naXZlcy1yZWdpc3RyYXRpb24tZXJyb3I/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

4 years 9 months ago [\#338906](#338906) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[HS 4.4.5 + PHP 8.x gives registration "error"](/forum/33-customers/903810-hs-4-4-5-php-8-x-gives-registration-error#338906 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.10.4 -- PHP version -- : 7.4.27/8.0.14 -- Error-message(debug-mod must be tuned on) -- : #0 implode(): Argument #1 ($pieces) must be of type array, string given  When combining hikashop 4.4.5 with PHP 8.x(0.14 in my case) registration partially fails. On the front-end the error  &quot;#0 implode(): Argument #1 ($pieces) must be of type array, string given&quot; is shown, implying to the user that there was a problem (i don't know what) registering. However when checking on the BACKEND, the user is listed. When setting PHP back to 7.4 everything functions as normal.  Seeing as PHP 7.4 has entered its security release only, it's vital for me to move all my sites over to PHP 8")*

Hi,

We you look at these errors, make sure you activate the "debug system" setting.
Otherwise, you get only a partial error message. If you want to know where exactly the error comes from for "0 implode(): Argument #1 ($pieces) must be of type array, string given" you need to activate that setting. You'll then get a full error message with the file path and line number where the error happens. That will also help the developer of that code understand where the problem is.
Without the full error message, I can't even say if the problem is in HikaShop or not, let alone what to do to fix it.

Regarding the email notifications, our server is sending them. them must be blocked by your email server because of the spam filter.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDM4MTAtaHMtNC00LTUtcGhwLTgteC1naXZlcy1yZWdpc3RyYXRpb24tZXJyb3I/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.081 seconds

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