I got the following issue about UVdesk. The issue is that after someone sents an email with an CC and ticket is generated on UVdesk, the user or the agent cannot see the ticket because i got an error "Impossible to access an attribute ("createdAt") on a null variable." when i try to see the ticket.
I tried to apply in the code at "ticket.html.twig" the following code below for every error that i got but doesn't solve the issue.
{% if initialThread is not null %}
{{ ticket_service.timeZoneConverter(initialThread.createdAt) }}
{% endif %}
If someone doesn't put an CC when sending email, i can see without a problem that ticket generated. I only got that issue above only when someone sends it with CC and i don't know what to do.
This ticket was generated without CC being used in the mail.
Hello!
I got the following issue about UVdesk. The issue is that after someone sents an email with an CC and ticket is generated on UVdesk, the user or the agent cannot see the ticket because i got an error "Impossible to access an attribute ("createdAt") on a null variable." when i try to see the ticket. I tried to apply in the code at "ticket.html.twig" the following code below for every error that i got but doesn't solve the issue. {% if initialThread is not null %} {{ ticket_service.timeZoneConverter(initialThread.createdAt) }} {% endif %} If someone doesn't put an CC when sending email, i can see without a problem that ticket generated. I only got that issue above only when someone sends it with CC and i don't know what to do.
This ticket was generated without CC being used in the mail.