Hello all, let me describe a strange error I have, and the various elements I have found. I am missing the link between those elements, so hope someone can illuminate me to work on a fix.
Symptom:
Editing a page cause an error
Fatal error: [] operator not supported for strings in <ba
Context:
The page contains a Tracker plugin:
The tracker in question contains a field User Selector, with parameter Auto-Assign set to "Creator".
Analysis steps:
The Auto-Assign is functional to the problem, because if I put Auto-Assign to "None" it does not reproduce.
The line that fails is
foreach ($hidden_fieldId as $k => $v) {
if | in_array($v, $outf {
unset($hidden_fieldId$k);
} else {
$outf[] = $v; <<== Line 843 that fails
}
}
Indicating that a string value is pushed into $outf whereas it should be numeric.
In fact, code above in the same file shows that if a User is on Auto-Assign, the field is inserted as $hidden_fieldId.
The most puzzling thing to me is that problem occurs when editing the page. What special action is perform to edit that page definition, and why does it trigger the code, also if I manage to get the content that it tries to write in $outf[], then I might see the light.
Thanks for any suggestion, and for the fantastic community.
Hubert
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |