24 Oct 2023, 19:41

Good morning,

When I run the uvdesk:refresh-mailbox command, It returns this error :

php /path/to/uvdesk/bin/console uvdesk:refresh-mailbox myemail@domain.com

 1. Processing uvdesk mailbox configuration.

 2. Opening imap stream... 

 3. IMAP stream opened.

 4. Fetching Email collection since 23 October 2023.

 5. Total fetched email -> 4

 6. Starting to convert Emails into Tickets -> 
=============================================
=============================================


  Converting email 1 out of 4.
  
  Error -> Warning: DOMDocument::saveHTML(): Memory allocation failed : reaching arbitrary MAX_URI_LENGTH limit (500 Internal Server Error)

Do I need to increase PHP's maximum usable memory capacity to solve this problem? Or is there another solution?

Here is what I have in the error stack trace:

ErrorException:
Warning: DOMDocument::saveHTML(): Memory allocation failed : reaching arbitrary MAX_URI_LENGTH limit

  at vendor/symfony/dom-crawler/Crawler.php:668
  at Symfony\Component\DomCrawler\Crawler->html()
     (vendor/uvdesk/core-framework/Utils/HTMLFilter.php:1017)
  at Webkul\UVDesk\CoreFrameworkBundle\Utils\HTMLFilter->addClassEmailReplyQuote()
     (vendor/uvdesk/mailbox-component/Services/MailboxService.php:352)
  at Webkul\UVDesk\MailboxBundle\Services\MailboxService->processMail()
     (vendor/uvdesk/mailbox-component/Controller/MailboxChannelXHR.php:46)
  at Webkul\UVDesk\MailboxBundle\Controller\MailboxChannelXHR->processMailXHR()
     (vendor/symfony/http-kernel/HttpKernel.php:153)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:35)
  at require_once('/var/www/html/uvdesk/vendor/autoload_runtime.php')
     (public/index.php:5) 

Cordially.