-- url of the page with the problem -- :
shop.hansplanje.nl
-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4.4.2
-- PHP version -- : 8.1
-- Browser(s) name and version -- : firefox latest
-- Error-message(debug-mod must be tuned on) -- : Hi, I found an compile error in HikaShop when creating a new payment method.
The error mentions: Compile Error: Array and string offset access syntax with curly braces is no longer supported (in 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);
}
Hi,
When adding a new payment method I got a http 500 fatal error.
Can you look into this issue?
Kind regards,
Winfried Buijen