Page 1 of 1

Deprecated: Array and string offset access syntax with curly braces is deprecated in

Posted: Mon Sep 20, 2021 10:09 am
by Ling
Your Build 202109151432 (Current build: 202109151432 ) PHP version 7.4.21 Mysql Version: 10.1.48-MariaDB
Проверьте, пожалуйста. Выскакивает ошибка

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/user/web/google.com/public_html/scj/includes/libs/cache/file.cache.php on line 137

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/user/web/google.com/public_html/scj/includes/libs/cache/file.cache.php on line 137

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/user/web/google.com/public_html/scj/includes/libs/cache/file.cache.php on line 137

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/user/web/google.com/public_html/scj/includes/libs/cache/file.cache.php on line 137

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/user/web/google.com/public_html/scj/includes/libs/cache/file.cache.php on line 153

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/user/web/google.com/public_html/scj/includes/libs/cache/file.cache.php on line 153

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/user/web/google.com/public_html/scj/includes/libs/cache/file.cache.php on line 153

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/user/web/google.com/public_html/scj/includes/libs/cache/file.cache.php on line 153

Re: Deprecated: Array and string offset access syntax with curly braces is deprecated in

Posted: Mon Sep 20, 2021 1:02 pm
by Ling
Попробую сам же ответить
Заменил с файле scj/includes/libs/cache/file.cache.php в указанных строках
//$first_literal = array($md5{0}, $md5{1}, $md5{2}, $md5{3});
$first_literal = array($md5{0}.$md5{1}, $md5{2} . $md5{3});
на
//$first_literal = array($md5[0], $md5[1], $md5[2], $md5[3]);
$first_literal = array($md5[0].$md5[1], $md5[2] . $md5[3]);
И проблема ушла

Re: Deprecated: Array and string offset access syntax with curly braces is deprecated in

Posted: Tue Sep 21, 2021 7:45 pm
by admin
о да, какой то старый кусок кода, давно пока переписать

Re: Deprecated: Array and string offset access syntax with curly braces is deprecated in

Posted: Tue Sep 28, 2021 7:09 am
by admin
переписано и добавлено в ап

Re: Deprecated: Array and string offset access syntax with curly braces is deprecated in

Posted: Fri Oct 08, 2021 7:37 am
by Ling
Ещё осталось :)
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/user/web/google.com/public_html/scj/includes/libs/cache/file.cache.php on line 132

Your Build 202110060810 (Current build: 202110060810 ) PHP version 7.4.21 Mysql Version: 10.1.48-MariaDB

file.cache.php 6KB 08.10.2021 rw-r--r--

131 //$first_literal = array($md5{0}, $md5{1}, $md5{2}, $md5{3});
132 $first_literal = array($md5{0}.$md5{1}, $md5{2} . $md5{3});

Re: Deprecated: Array and string offset access syntax with curly braces is deprecated in

Posted: Fri Oct 08, 2021 8:12 am
by admin
Да, что-то забыл про эту часть в спешке