Itemlink, Trying to access array offset on value of type null (notice)
- Status
- Closed
- Subject
- Itemlink, Trying to access array offset on value of type null (notice)
- Version
- 22.x
- Category
- Regression
- Feature
- Trackers
- Resolution status
- New
- Submitted by
- Bernard Sfez / Tiki Specialist
- Keep informed
- Jonny Bradley
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
I upgrade a Tiki using git and Tiki22 the 30/09/2020 and didn’t had that notice in my index rebuild log.
I upgrade for a second time the same Tiki (db) using git and Tiki22 the 05/10/2020 and this notice appears in my index rebuild log for (I believe) all the itemlinks I have in my trackers.
Copy to clipboard2020-10-04T18:36:12+00:00 INFO (6): addDocument trackeritem 384 {"memoryUsage":"27.9 MiB"} 2020-10-04T18:36:12+00:00 ERR (3): NOTICE: Trying to access array offset on value of type null {"code":null,"file":"/home/xxx/public_html/lib/core/Tracker/Field/ItemLink.php","line":1002} 2020-10-04T18:36:12+00:00 ERR (3): NOTICE: Trying to access array offset on value of type null {"code":null,"file":"/home/xxx/public_html/lib/core/Tracker/Field/ItemLink.php","line":1002} 2020-10-04T18:36:12+00:00 ERR (3): NOTICE: Trying to access array offset on value of type null {"code":null,"file":"/home/xxx/public_html/lib/core/Tracker/Field/ItemLink.php","line":1002} 2020-10-04T18:36:12+00:00 ERR (3): NOTICE: Trying to access array offset on value of type null {"code":null,"file":"/home/xxx/public_html/lib/core/Tracker/Field/ItemLink.php","line":1002}
I have 2 itemLink, 1 itemList and 1 Dynamic ItemList in the tracker for the item 384.
The data displayed are correct, I have no missing.
I have several itemList values = 0
And 2 mathematical calculation that do their calculation.Seems to be a false and general notice no matter what the data displayed.
- Solution
- Fixed by : https://gitlab.com/tikiwiki/tiki/-/commit/be8bed2127a3a130f0b8fde41f5a4174e1275a9a
- 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
- 7557
- Created
- Monday 05 October, 2020 04:32:15 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Thursday 15 October, 2020 06:26:17 UTC