# Mail-Collector causes HTTP 500 after upgrading to 20.0.1

**URL:** <https://www.dolibarr.org/forum/t/mail-collector-causes-http-500-after-upgrading-to-20-0-1/29474>\
**Category:** Maintaining my Dolibarr\
**Tags:** PHP-Issues, v20, Linux, Email-Collector\
**Created:** [October 12, 2024, 3:56pm UTC](https://www.dolibarr.org/forum/t/mail-collector-causes-http-500-after-upgrading-to-20-0-1/29474 "2024-10-12T15:56:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![csiebert](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/c/bc8723/32.png) [@csiebert](https://www.dolibarr.org/forum/u/csiebert)\
**Post date:** [October 12, 2024, 3:56pm UTC](https://www.dolibarr.org/forum/t/mail-collector-causes-http-500-after-upgrading-to-20-0-1/29474/1 "2024-10-12T15:56:23Z")

</div>

Hey 🙂

I updated to 20.0.1 without any error messages, all seems to work as usual, except mail-collector.

When I try collect an empty mailbox, no errors and the typical message “0 mails”.

When I try to collect a mailbox with mails in it, I get the following error:

```auto
[Fri Oct 11 11:39:30.187387 2024] [proxy_fcgi:error] [pid 565889:tid 565927] [remote ****] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "Contrat" not found in /var/www/domain.de/dolibarr/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php:560\nStack trace:\n#0 /var/www/domain.de/dolibarr/htdocs/core/class/interfaces.class.php(193): InterfaceWorkflowManager->runTrigger()\n#1 /var/www/domain.de/dolibarr/htdocs/core/class/commonobject.class.php(6112): Interfaces->run_triggers()\n#2 /var/www/domain.de/dolibarr/htdocs/ticket/class/ticket.class.php(626): CommonObject->call_trigger()\n#3 /var/www/domain.de/dolibarr/htdocs/emailcollector/class/emailcollector.class.php(3337): Ticket->create()\n#4 /var/www/domain.de/dolibarr/htdocs/admin/emailcollector_card.php(239): EmailCollector->doCollectOneCollector()\n#5 {main}\n thrown in /var/www/domain.de/dolibarr/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php on line 560', referer: https://crm.domain.de/admin/emailcollector_card.php?id=9&action=collecttest&token=b7f6afc69860a79b0c9d226cf82c2218

```

Any ideas on this?

Cheers, Chris
