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

#   Payment methods menu error

##

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

Less More

- Posts: 10
- Thank you received: 0
-
-

2 years 2 months ago [\#363131](#363131) by [OxanaDen](/forum/user/62311-oxanaden "View OxanaDen's Profile")  *[Payment methods menu error](/forum/25-install-update/908604-payment-methods-menu-error#363131 "-- url of the page with the problem -- :   linen.sviluppo.host/shop.html  -- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.1.4 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Safari, Chrome -- Error-message(debug-mod must be tuned on) -- : Symfony&#92;Component&#92;ErrorHandler&#92;Error&#92;FatalError {#2081 ▼ -error: array:4 &#91;▼ &quot;type&quot; =&gt; 64 &quot;message&quot; =&gt; &quot;Array and string offset access syntax with curly braces is no longer supported&quot; &quot;file&quot; =&gt; &quot;/home/uqq2s35f/domains/linen.sviluppo.host/public&#95;html/plugins/hikashoppayment/platron/PG&#95;Signature.php&quot; &quot;line&quot; =&gt; 17 &#93; }  Good afternoon, I'm trying to set up a new payment method and the page gives an error. How to fix this? Symfony&#92;Component&#92;ErrorHandler&#92;Error&#92;FatalError {#2081 ▼ -error: array:4 &#91;▼ &quot;type&quot; =&gt; 64 &quot;message&quot; =&gt; &quot;Array and string offset access syntax with curly braces is no longer supported&quot; &quot;file&quot; =&gt; &quot;/home/uqq2s35f/domains/linen.sviluppo.host/public&#95;html/plugins/hikashoppayment/platron/PG&#95;Signature.php&quot; &quot;line&quot; =&gt; 17 &#93; }  public static function getScriptNameFromUrl ( $url ) { $path = parse&#95;url($url, PHP&#95;URL&#95;PATH); $len = strlen($path); if ( $len == 0 || '/' == $path{$len-1} ) { return &quot;&quot;; } return basename($path); }")* was created by *[OxanaDen](/forum/user/62311-oxanaden "View OxanaDen's Profile")*

-- url of the page with the problem -- : [ linen.sviluppo.host/shop.html](https://linen.sviluppo.host/shop.html)
-- HikaShop version -- : 5.1.0
-- Joomla version -- : 5.1.4
-- PHP version -- : 8.2
-- Browser(s) name and version -- : Safari, Chrome
-- Error-message(debug-mod must be tuned on) -- : Symfony\Component\ErrorHandler\Error\FatalError {#2081 ▼
-error: array:4 [▼
"type" =&gt; 64
"message" =&gt; "Array and string offset access syntax with curly braces is no longer supported"
"file" =&gt; "/home/uqq2s35f/domains/linen.sviluppo.host/public_html/plugins/hikashoppayment/platron/PG_Signature.php"
"line" =&gt; 17
]
}

Good afternoon, I'm trying to set up a new payment method and the page gives an error.
How to fix this?
Symfony\Component\ErrorHandler\Error\FatalError {#2081 ▼
-error: array:4 [▼
"type" =&gt; 64
"message" =&gt; "Array and string offset access syntax with curly braces is no longer supported"
"file" =&gt; "/home/uqq2s35f/domains/linen.sviluppo.host/public_html/plugins/hikashoppayment/platron/PG_Signature.php"
"line" =&gt; 17
]
}

public static function getScriptNameFromUrl ( $url )
{
$path = parse_url($url, PHP_URL_PATH);
$len = strlen($path);
if ( $len == 0 &#124;&#124; '/' == $path{$len-1} ) {
return "";
}
[ ![Schermata2024-09-11alle11.43.57.png](/forum/attachment/59718) ](/forum/attachment/59718 "...le11.43.57.png")

return basename($path); }

- [ ![Schermata2024-09-11alle11.43.57.png](/forum/attachment/59718) ](/forum/attachment/59718 "...le11.43.57.png") [ ](/forum/attachment/59718?download=1 "...le11.43.57.png")

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

2 years 2 months ago [\#363133](#363133) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Payment methods menu error](/forum/25-install-update/908604-payment-methods-menu-error#363133 "-- url of the page with the problem -- :   linen.sviluppo.host/shop.html  -- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.1.4 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Safari, Chrome -- Error-message(debug-mod must be tuned on) -- : Symfony&#92;Component&#92;ErrorHandler&#92;Error&#92;FatalError {#2081 ▼ -error: array:4 &#91;▼ &quot;type&quot; =&gt; 64 &quot;message&quot; =&gt; &quot;Array and string offset access syntax with curly braces is no longer supported&quot; &quot;file&quot; =&gt; &quot;/home/uqq2s35f/domains/linen.sviluppo.host/public&#95;html/plugins/hikashoppayment/platron/PG&#95;Signature.php&quot; &quot;line&quot; =&gt; 17 &#93; }  Good afternoon, I'm trying to set up a new payment method and the page gives an error. How to fix this? Symfony&#92;Component&#92;ErrorHandler&#92;Error&#92;FatalError {#2081 ▼ -error: array:4 &#91;▼ &quot;type&quot; =&gt; 64 &quot;message&quot; =&gt; &quot;Array and string offset access syntax with curly braces is no longer supported&quot; &quot;file&quot; =&gt; &quot;/home/uqq2s35f/domains/linen.sviluppo.host/public&#95;html/plugins/hikashoppayment/platron/PG&#95;Signature.php&quot; &quot;line&quot; =&gt; 17 &#93; }  public static function getScriptNameFromUrl ( $url ) { $path = parse&#95;url($url, PHP&#95;URL&#95;PATH); $len = strlen($path); if ( $len == 0 || '/' == $path{$len-1} ) { return &quot;&quot;; } return basename($path); }")*

Hi,

Delete the plugins/hikashoppayment/platron/ and administrator/components/com_hikashop/extensions/plg_hikashoppayment_paltron/ folders via FTP and you won't have the error.

The following user(s) said Thank You: [OxanaDen](/forum/user/62311-oxanaden "View OxanaDen's Profile")

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

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