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

#   Upgrading to new PayPal payment method results in 500 error

##

- **[cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")**
- [![cpaschen's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-01-25.jpg)](/forum/user/12420-cpaschen "View cpaschen's Profile") Topic Author
- [ Offline](/forum/user/12420-cpaschen)

Less More

- Posts: 196
- Thank you received: 6
-
-
-
- [](http://www.paschencommunications.com)
-

2 years 3 weeks ago [\#363936](#363936) by [cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")  *[Upgrading to new PayPal payment method results in 500 error](/forum/25-install-update/908764-upgrading-to-new-paypal-payment-method-results-in-500-error#363936 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.1.4 -- PHP version -- : 8.2.24 -- Browser(s) name and version -- : Firefox  We've recently upgraded a Hikashop system from J3 to J5. We've upgraded HS to 5.1.1 However, it is still using the old Paypal payment method.  When going to the HS configuration page we see the notice:  However, when going to the System&gt;Payment methods screen and clicking new we get a 500 error.  The details displayed are:  Compile Error: Array and string offset access syntax with curly braces is no longer supported  in .../plugins/hikashoppayment/platron/PG&#95;Signature.php:17  and the specific line of code is:  if ( $len == 0 || '/' == $path{$len-1} ) {  I tried reverting the server back to PHP 8.1.30 to see if that resolved the issue, but it didn't.  Do you have a fix for this error?")* was created by *[cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")*

-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.1.4
-- PHP version -- : 8.2.24
-- Browser(s) name and version -- : Firefox

We've recently upgraded a Hikashop system from J3 to J5.
We've upgraded HS to 5.1.1
However, it is still using the old Paypal payment method.

When going to the HS configuration page we see the notice:

> Your PayPal payment method is obsolete and will soon be discontinued by PayPal. Please go in the System&gt;Payment methods menu, click on the 'new' button and select the 'HikaShop PayPal Checkout payment plugin' to configure the PayPal Checkout payment method which is now replacing it. Once done and the new PayPal Checkout payment method is available on your website, disable the old PayPal payment method and this error message will disappear.

However, when going to the System&gt;Payment methods screen and clicking new we get a 500 error.

The details displayed are:

Compile Error: Array and string offset access syntax with curly braces is no longer supported

in .../plugins/hikashoppayment/platron/PG_Signature.php:17

and the specific line of code is:

if ( $len == 0 &#124;&#124; '/' == $path{$len-1} ) {

I tried reverting the server back to PHP 8.1.30 to see if that resolved the issue, but it didn't.

Do you have a fix for this error?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwODc2NC11cGdyYWRpbmctdG8tbmV3LXBheXBhbC1wYXltZW50LW1ldGhvZC1yZXN1bHRzLWluLTUwMC1lcnJvcj90bXBsPW1hcmtkb3du) 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/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

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

2 years 3 weeks ago -  2 years 3 weeks ago [\#363939](#363939) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Upgrading to new PayPal payment method results in 500 error](/forum/25-install-update/908764-upgrading-to-new-paypal-payment-method-results-in-500-error#363939 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.1.4 -- PHP version -- : 8.2.24 -- Browser(s) name and version -- : Firefox  We've recently upgraded a Hikashop system from J3 to J5. We've upgraded HS to 5.1.1 However, it is still using the old Paypal payment method.  When going to the HS configuration page we see the notice:  However, when going to the System&gt;Payment methods screen and clicking new we get a 500 error.  The details displayed are:  Compile Error: Array and string offset access syntax with curly braces is no longer supported  in .../plugins/hikashoppayment/platron/PG&#95;Signature.php:17  and the specific line of code is:  if ( $len == 0 || '/' == $path{$len-1} ) {  I tried reverting the server back to PHP 8.1.30 to see if that resolved the issue, but it didn't.  Do you have a fix for this error?")*

Hello,

The "***500 error***" can be solved by deactivating the **platron** plugin which must now be too old to support php 8, Joomla 5 or Hikashop 5?
Anyway, unpublishing the **Platron plugin** should solve your problem.

Regards

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

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

- **[cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")**
- [![cpaschen's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-01-25.jpg)](/forum/user/12420-cpaschen "View cpaschen's Profile") Topic Author
- [ Offline](/forum/user/12420-cpaschen)

Less More

- Posts: 196
- Thank you received: 6
-
-
-
- [](http://www.paschencommunications.com)
-

1 year 1 month ago [\#368700](#368700) by [cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")  Replied by *[cpaschen](/forum/user/12420-cpaschen "View cpaschen's Profile")* on topic *[Upgrading to new PayPal payment method results in 500 error](/forum/25-install-update/908764-upgrading-to-new-paypal-payment-method-results-in-500-error#368700 "-- HikaShop version -- : 5.1.1 -- Joomla version -- : 5.1.4 -- PHP version -- : 8.2.24 -- Browser(s) name and version -- : Firefox  We've recently upgraded a Hikashop system from J3 to J5. We've upgraded HS to 5.1.1 However, it is still using the old Paypal payment method.  When going to the HS configuration page we see the notice:  However, when going to the System&gt;Payment methods screen and clicking new we get a 500 error.  The details displayed are:  Compile Error: Array and string offset access syntax with curly braces is no longer supported  in .../plugins/hikashoppayment/platron/PG&#95;Signature.php:17  and the specific line of code is:  if ( $len == 0 || '/' == $path{$len-1} ) {  I tried reverting the server back to PHP 8.1.30 to see if that resolved the issue, but it didn't.  Do you have a fix for this error?")*

Just a follow-up note there (in case others run into this problem).
Disabling the Platron plugin didn't help.
I had to remove the plugin completely for the NEW button to work.

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

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

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