Skip to content

Pro Var Warning with textarea type variable #4187

@benoitlemay

Description

@benoitlemay

I have a PHP warning

When i use 2 instances of a single tag of Pro Var..
ex.: I have {exp:pro_variables:single var="adresse" formatting="xhtml" html="all"} in my template AND in my main_layout.
adresse var is a textarea type and i need the html formatting, i got the Warning

If i use the tag pair it works without Warning.. ex.: {exp:pro_variables:pair var="adresse" formatting="xhtml" html="all"}{adresse} {/exp:pro_variables:pair}

Error Messages


Warning
array_flip(): Can only flip string and integer values, entry skipped
ee/ExpressionEngine/Addons/channel/mod.channel.php, line 4080

Severity: E_WARNING

Environment Details:

  • Version: 7.4.5
  • PHP Version8.2
  • OS: Linux

Metadata

Metadata

Assignees

Labels

Bug: AcceptedBug has been confirmed, is reproducible, and ready to work on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions