Closed fulldecent closed 1 year ago
Here is a second message that produces the same result
New voicemail in mailbox 100 from PMTCUST ST ANTHONYS GEN_ 2046239218.eml.zip
Unfortunately it's not clear from the error message where exactly in /var/www/html/resources/views/conversations/view.blade.php the error occurs.
I have opened that file (I guess it is dynamically generated) and the offending line 95 is:
<button
type="button"
class="btn btn-<?php echo e(App\Conversation::$status_classes[$conversation->status]); ?> btn-light conv-info-icon" data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
aria-label="<?php echo e(__("Status")); ?>: <?php echo e($conversation->getStatusName()); ?>">
<i
class="glyphicon glyphicon-<?php echo e(App\Conversation::$status_icons[$conversation->status]); ?>">
</i>
</button>
Here are some more things I know about this conversation.
So this seems to indicate that:
$conversation->status
had a value of 0; and$status_classes
or $status_icons
at that moment was an empty arraySince I opened this issue, I have used the conversation list view (i.e. the inbox) to mark this message as status CLOSED. And now the issue is gone, I am able to open the message without error.
Awesome, thank you
When opening a specific message on our service it crashes the page. Every time. App version 1.8.24.
Here are the logs:
Possibly related:
https://github.com/freescout-helpdesk/freescout/issues/2134
Here is the message that caused the error: