I just tested this with latest v1.11 and PHP 7.2 and cannot replicate the issue.
You shouldn't be getting the getId() on null
error as TicketUser::lookupByEmail($email)
should always find a user. Upon ticket creation, the system creates a record in ost_user and ost_user_email tables for every person that creates a ticket. It appears as though your system is not creating a record in ost_user/ost_user_email for the person creating the ticket OR your system lags and returns the view template before the ost_user/ost_user_email records are created all the way.
A few questions:
- When and where did you download v1.11 from?
- Can you confirm there is a record for the email in question in
ost_user_email
? - What are the exact steps to replicate the issue?
Cheers.