Uncaught Error 500: [] operator not supported for strings in tiki-export_tracker.php
- Status
- Open
- Subject
- Uncaught Error 500: [] operator not supported for strings in tiki-export_tracker.php
- Version
- 18.x
- Category
- Error
- Feature
- Trackers
Import-Export - Resolution status
- New
- Submitted by
- Xavier de Pedro
- Keep informed
- Marc Laporte
- Lastmod by
- Xavier de Pedro
- Rating
- Description
Hi:
I've hit this type of error 500 (using Tiki 18svn & php 7.2.9) several times in a wiki page with Plugin TrackerFilter, when the field shows a dropdown field, and I select one option in the dropdown before clicking at the export button:
Copy to clipboard[Wed Sep 05 16:58:24.138049 2018] [php7:notice] [pid 18063] [client ] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/tiki18farm/tiki-export_tracker.php:84\nStack trace:\n#0 {main}\n thrown in /var/www/tiki18farm/tiki-export_tracker.php on line 84, referer: https://example.com/foobar
Wiki code in the wiki page (in case it matters):Copy to clipboard{trackerfilter trackerId="5" sort="n" showtitle="n" showlinks="y" showdesc="n" shownbitems="y" showstatus="y" showlastmodif="y" showlastmodifby="y" showcomments="y" status="opc" sort_mode="lastModif_desc" sortchoice="created_desc|Newest first:lastModif_desc|Last modified first" max="-1" showpagination="y" allowtableexpansion="y" more="y" silent="n" sortable="n" server="n" export_action="Confirm CSV Download" filters="45/t:53/t:50/d:55/m" export_itemid="y" export_status="y" export_modif="y" export_created="n" export_charset="UTF-8"}
Field 50 is a "dropdown with other" field, with options:Copy to clipboard1-Pendent,1-Pendent,2-Encarregat,3-Treballant,4-Fet,5-Entregat,other=Altres
However, choosing some user from the dropdown of users (field55), also produces the same type of error (we are using Real Name display instead of username in trackers, etc)- Importance
- 5
- Easy to solve?
- 5
- Priority
- 25
- 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
- 6766
- Created
- Wednesday 05 September, 2018 15:10:48 UTC
by Xavier de Pedro - LastModif
- Wednesday 05 September, 2018 15:10:48 UTC