Page 1 of 1

IdnaConvert Errors v1.33.00

PostPosted: 03 Jan 2021, 16:07
by encoreservices
Installation URL https://southernfrance.fr/
OR version 1.33.0 (via Softaculous under cPanel)
PHP version 7.4
Apache version 2.4.46

I get the following errors after installation
Code: Select all
Deprecated: Array and string offset access syntax with curly braces is deprecated in /myserverroot/southernfrance.fr/protected/extensions/idna/IdnaConvert.php on lines 446 / 837 / 968

Code: Select all
Fatal error: Uncaught Error: Class 'IdnaConvert' not found in /myserverroot/southernfrance.fr/themes/atlas/views/layouts/main.php:201


Any clues, please?
Thanks in anticipation

Re: IdnaConvert Errors v1.33.00

PostPosted: 04 Jan 2021, 08:59
by Xpycm
Hello,

protected/extensions/yii2-debug/panels/Yii2DbPanel.php file
In this file replace
Code: Select all
$params{$start

with
Code: Select all
$params[$start


and replace
Code: Select all
$params{$pos $slashes 1

with
Code: Select all
$params[$pos $slashes 1


and replace
Code: Select all
$query{$qend $sls 1

with
Code: Select all
$query[$qend $sls 1



protected/extensions/idna/IdnaConvert.php file
In this file replace
Code: Select all
$encoded{$k

with:
Code: Select all
$encoded[$k


and replace
Code: Select all
$encoded{$enco_idx++} 

with
Code: Select all
$encoded[$enco_idx++] 


and replace
Code: Select all
$input{$k

with
Code: Select all
$input[$k


and replace
Code: Select all
$input{$i

with
Code: Select all
$input[$i

Re: IdnaConvert Errors v1.33.00

PostPosted: 04 Jan 2021, 12:08
by encoreservices
Fantastic - THANK YOU!