Loading...
 
Skip to main content

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
(0)
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 for

Copy 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+
Demonstrate Bug (older Tiki versions)
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


Show PHP error messages