Skip to content

[Bug] getTemplateVarOutput стал выдавать результат с ошибками #592

Description

@helgispbru

Описание

Julia Cherri
А я нашла странное. getTemplateVarOutput стал выдавать результат с ошибками на php8.2 (evo ce 3.1.30).
Говорит,
Deprecated: trim(): Passing null to parameter 1 ($string) of type string is deprecated in ...\core\functions\actions\mutate_content.php on line 73
Deprecated: explode(): Passing null to parameter 2 ($string) of type string is deprecated in ...\core\functions\actions\mutate_content.php on line 597
Это происходит для ресурсов, у которых нужных tv еще не было указано

Как воспроизвести.

No response

Наблюдаемое поведение

No response

Ожидаемое поведение

No response

Связанные issue(s)/PR(s)

No response

Версия EvoCMS

3.1.30

Версия Apache/nginx

No response

Версия PHP

No response

Версия MySQL

No response

Другая информация

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnot confirmedThis issue is not confirmed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions