Fatal error: Call to a member function getPhoneNumber() on a non-object in class.ticket.php on line 311IIS 7
Had this on two emails so far.Any headers or logs i can provide
Issue seems to occur on appending new messages to certain tickets.Have 2 occurrences on where new ticket was created instead on append both has the above error.
You would want to report this error at github on the 1.8 tree.
Hope i've posted to correct branch in ostcikethttps://github.com/osTicket/osTicket-1.8/issues/526
That looks like the right place to me. :)
I've the same issue, just upgrade on 1.8.1This happen only on new ticket, on old ticket don't happens.
here is the fix.edit include/class.ticket.php
line 2287 reads: .' ,user_id='.db_input($user->id)
change it to: .' ,user_id='.db_input($user->getId())