PHP 8 Fatal error
-
Log:
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/site.ru/wp-content/plugins/wp-translitera/wp-translitera.php on line 124
File: https://plugins.trac.www.ads-software.com/browser/wp-translitera/trunk/wp-translitera.php#L124
Line 124:
$tr_rules[strtoupper($key)] = strtoupper($value{0}).substr($value, 1);
change to:
$tr_rules[strtoupper($key)] = strtoupper($value[0]).substr($value, 1);
@yurchenkoev
Could you fix this bug?WP Translitera p1.2.5
PHP 8.0.2
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP 8 Fatal error’ is closed to new replies.