-- 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); }