Plugin List, multivalue filters; Working filter looking for a multivalue on Tiki25 displays an error on Tiki26 about strpos
- Status
- Closed
- Subject
- Plugin List, multivalue filters; Working filter looking for a multivalue on Tiki25 displays an error on Tiki26 about strpos
- Version
- 26.x
Regression from 25.x to 26.x - Category
- Regression
- Feature
- Wiki Plugin (extends basic syntax)
- Resolution status
- Fixed or Solved
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Eutyche ODIMBA
- Rating
- Description
On a Tiki25 I have the following working plugin List
Copy to clipboard{LIST()} {filter field="tracker_id" content="3"} {filter field="tracker_field_parentsGroup_text" multivalue="Team OR Boss"} {output template="debug"} {LIST}
On Tiki26 the page displays:
"strpos(): Argument #1 ($haystack) must be of type string, array given"(Editing the page and saving it goes to an error 500)
The reason is the multivalue parameter.
Copy to clipboard{filter field="tracker_field_parentsGroup_text" multivalue="Team OR Boss"}
If I change it forCopy to clipboard{filter field="tracker_field_parentsGroup_text" content="Team"}
The page is working fine.- Importance
- 7
- Easy to solve?
- 5
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8464
- Created
- Sunday 16 July, 2023 10:20:15 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Thursday 14 September, 2023 09:30:41 UTC