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

#   Paylike plugin ERROR Argument #2 ($array) must be of type ?array, string given

##

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 11 months ago [\#338023](#338023) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  *[Paylike plugin ERROR Argument #2 ($array) must be of type ?array, string given](/forum/29-payment-methods/903679-paylike-plugin-error-argument-2-array-must-be-of-type-array-string-given#338023 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.5 -- PHP version -- : 8.0.12  Hi,  I wanted to test the Paylike plugin (I created and linked a test account for Paylike), but I have a fatal error after the validation of the payment method.  Thanks in advance.")* was created by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")*

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 4.0.5
-- PHP version -- : 8.0.12

Hi,

I wanted to test the Paylike plugin (I created and linked a test account for Paylike), but I have a fatal error after the validation of the payment method.

[ ![&#91;img  ](https://i.imgur.com/rgkxswD.png) ](https://i.imgur.com/rgkxswD.png "&#91;img  ")

Thanks in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM2NzktcGF5bGlrZS1wbHVnaW4tZXJyb3ItYXJndW1lbnQtMi1hcnJheS1tdXN0LWJlLW9mLXR5cGUtYXJyYXktc3RyaW5nLWdpdmVuP3RtcGw9bWFya2Rvd24=) 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: 86593
- Thank you received: 14334
-
-

4 years 11 months ago [\#338024](#338024) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paylike plugin ERROR Argument #2 ($array) must be of type ?array, string given](/forum/29-payment-methods/903679-paylike-plugin-error-argument-2-array-must-be-of-type-array-string-given#338024 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.5 -- PHP version -- : 8.0.12  Hi,  I wanted to test the Paylike plugin (I created and linked a test account for Paylike), but I have a fatal error after the validation of the payment method.  Thanks in advance.")*

Hi,

This error message means that the Paylike payment plugin doesn't support PHP8.
I've reported the issue for you on the github of the developer of the plugin:
[ github.com/paylike/plugin-hikashop/issues/6](https://github.com/paylike/plugin-hikashop/issues/6)

The following user(s) said Thank You: [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 11 months ago [\#338025](#338025) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Paylike plugin ERROR Argument #2 ($array) must be of type ?array, string given](/forum/29-payment-methods/903679-paylike-plugin-error-argument-2-array-must-be-of-type-array-string-given#338025 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.5 -- PHP version -- : 8.0.12  Hi,  I wanted to test the Paylike plugin (I created and linked a test account for Paylike), but I have a fatal error after the validation of the payment method.  Thanks in advance.")*

Ok, thank you.

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 10 months ago [\#338390](#338390) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Paylike plugin ERROR Argument #2 ($array) must be of type ?array, string given](/forum/29-payment-methods/903679-paylike-plugin-error-argument-2-array-must-be-of-type-array-string-given#338390 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.5 -- PHP version -- : 8.0.12  Hi,  I wanted to test the Paylike plugin (I created and linked a test account for Paylike), but I have a fatal error after the validation of the payment method.  Thanks in advance.")*

Hi,

I repost here because I tested the Paylike plugin with another php version for the moment (7.4) and I encounter 'notice' and 'deprecated' warnings whereas my error reporting is set to "None" in Joomla.

I wanted hide them.

This message contains confidential information

Did I make a mistake somewhere ?

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM2NzktcGF5bGlrZS1wbHVnaW4tZXJyb3ItYXJndW1lbnQtMi1hcnJheS1tdXN0LWJlLW9mLXR5cGUtYXJyYXktc3RyaW5nLWdpdmVuP3RtcGw9bWFya2Rvd24=) 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: 86593
- Thank you received: 14334
-
-

4 years 10 months ago [\#338391](#338391) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paylike plugin ERROR Argument #2 ($array) must be of type ?array, string given](/forum/29-payment-methods/903679-paylike-plugin-error-argument-2-array-must-be-of-type-array-string-given#338391 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.5 -- PHP version -- : 8.0.12  Hi,  I wanted to test the Paylike plugin (I created and linked a test account for Paylike), but I have a fatal error after the validation of the payment method.  Thanks in advance.")*

Hi,

Setting "error reporting" to "none" is what I would recommend indeed to hide these notices.
Make sure that the "debug mode" setting is also turned off in the Joomla configuration.
However, based on how your web server is configured, it's possible that the error reporting is forced.

What you could try to do is to add the line: Code:

&lt;?php error_reporting(0); ?&gt;

at the beginning of the file plugins/hikashoppayment/paylike/paylike.php
That should hopefully force it to hide these warnings.

The following user(s) said Thank You: [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 10 months ago [\#338481](#338481) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Paylike plugin ERROR Argument #2 ($array) must be of type ?array, string given](/forum/29-payment-methods/903679-paylike-plugin-error-argument-2-array-must-be-of-type-array-string-given#338481 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.5 -- PHP version -- : 8.0.12  Hi,  I wanted to test the Paylike plugin (I created and linked a test account for Paylike), but I have a fatal error after the validation of the payment method.  Thanks in advance.")*

Thanks.

Debug mode was also turned off.

Your line to add works fine.

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

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

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