Поддержка PHP 8.1, 8.2 и 8.3, bug reports

Модератор
#
Поддержка PHP 8.1, 8.2 и 8.3, bug reports
В версии 7.0.4 добавлена поддержка PHP 8.1, в версии 7.0.5 добавлена поддержка PHP 8.2, возникшие ошибки при работе системы на версиях PHP 8.1 и 8.2 просьба размещать в данной теме с указанием стека вызовов и версии системы (7.0.4 или 7.0.5)
#
Re: Поддержка PHP 8.1, bug reports
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated в файле /modules/core/command/controller/default.php (строка 220)
Deprecated: rawurlencode(): Passing null to parameter #1 ($string) of type string is deprecated в файле /modules/informationsystem/group/model.php (строка 754)
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated в файле /modules/informationsystem/item/model.php (строка 1378)
Модератор
#
Re: Поддержка PHP 8.1, bug reports
golddraft,
исправлено, переустановите, пожалуйста, обновление.
#
Re: Поддержка PHP 8.1, bug reports
Вот еще

Passing null to parameter #1 ($string) of type string is deprecated в файле /modules/trash/dataset.php (строка 106)
#
Re: Поддержка PHP 8.1, bug reports
И еще
Passing null to parameter #1 ($string) of type string is deprecated в файле /modules/skin/bootstrap.php (строка 1121)
Модератор
#
Re: Поддержка PHP 8.1, bug reports
golddraft,
исправлено, переустановите, пожалуйста, обновление.
Вы только что начали читать предложение, чтение которого вы уже заканчиваете.
#
Re: Поддержка PHP 8.1, bug reports
Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated в файле /var/www/mathshop/modules/skin/default/admin/form/entity/select.php (строка 219)
#
Re: Поддержка PHP 8.1, bug reports
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated в файле /var/www/mathshop/hostcmsfiles/lib/lib_115/lib_config_115.php (строка 32)
Модератор
#
Re: Поддержка PHP 8.1, bug reports
vklimin писал(а):
Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated в файле /var/www/mathshop/modules/skin/default/admin/form/entity/select.php

поправили, нужно повторно установить обновление.

vklimin писал(а):
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated в файле /var/www/mathshop/hostcmsfiles/lib/lib_115/lib_config_115.php (строка 32)

Это уже в ТДС, они не обновляются, необходимо руками поправить.
#
Re: Поддержка PHP 8.1, bug reports
Deprecated: Return type of Core_SimpleXMLElement::addChild($name, $value = null, $namespace = null) should either be compatible with SimpleXMLElement::addChild(string $qualifiedName, ?string $value = null, ?string $namespace = null): ?SimpleXMLElement, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice в файле /modules/core/simplexmlelement.php (строка 22)

Deprecated: Return type of Core_SimpleXMLElement::addAttribute($name, $value = null, $namespace = null) should either be compatible with SimpleXMLElement::addAttribute(string $qualifiedName, string $value, ?string $namespace = null): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice в файле /modules/core/simplexmlelement.php (строка 33)
Авторизация