Payment methods menu error

  • Posts: 10
  • Thank you received: 0
2 months 2 weeks ago #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\Component\ErrorHandler\Error\FatalError {#2081 ▼
-error: array:4 [▼
"type" => 64
"message" => "Array and string offset access syntax with curly braces is no longer supported"
"file" => "/home/uqq2s35f/domains/linen.sviluppo.host/public_html/plugins/hikashoppayment/platron/PG_Signature.php"
"line" => 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" => 64
"message" => "Array and string offset access syntax with curly braces is no longer supported"
"file" => "/home/uqq2s35f/domains/linen.sviluppo.host/public_html/plugins/hikashoppayment/platron/PG_Signature.php"
"line" => 17
]
}

public static function getScriptNameFromUrl ( $url )
{
$path = parse_url($url, PHP_URL_PATH);
$len = strlen($path);
if ( $len == 0 || '/' == $path{$len-1} ) {
return "";
}

return basename($path); }

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
2 months 2 weeks ago #363133

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum