Loading...
 
Skip to main content

12.x Fatal error: getField() on a non-object in trackerlib.php on line 726

Status
Closed
Subject
12.x Fatal error: getField() on a non-object in trackerlib.php on line 726
Version
12.x
Category
  • Error
Feature
Trackers
Resolution status
Out of Date
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

I created a profile long ago to test nested tracker demo.
I applied it, and when reviewing the created tracker items, this is the error I get in a quite white screen (css broken):

Fatal error: Call to a member function getField() on a non-object in /var/www/12.x/lib/trackers/trackerlib.php on line 726


I've reproduced it in show.
u: admin
p: 12345

Visit this url:
http://xavi-9794-4888.show.tikiwiki.org/tiki-view_tracker.php?trackerId=2


The error comes from a defective profile, as I'm seing right now. However, it would be much nicer if there a more informative type of error reporting to the user that there is some syntax problem in the field definition, etc.

Workaround

Fix the profile 😊 (I'm giving it another shot to fix it)

And maybe better error reporting to the user without breaking the tiki interface?

Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4888
Created
Thursday 07 November, 2013 16:28:40 UTC
by Xavier de Pedro
LastModif
Wednesday 20 November, 2013 12:09:53 UTC


Show PHP error messages