[horde] Problem migration Horde 6

José Guzmán Felíu Vivas jfeliu at caixalmassora.es
Sat May 13 15:40:47 UTC 2023


Good afternoon,
   
  I'm migrating to Horde 6 on an Ubuntu 22.04 system with PHP 8, and  
I'm having problems with the display of the quota and date (it's in  
English). I'm attaching the system logs.
  Is there any solution?
   
  Thank you and regards.

   2023-05-13T17:25:32+02:00 DEBUG: HORDE [imp] PHP ERROR: Function  
strftime() is deprecated [pid 92605 on line 197 of  
"/var/www/horde-deployment/vendor/horde/imp/lib/Message/Date.php"]
   2023-05-13T17:25:32+02:00 DEBUG: HORDE  1.  
Horde_Core_Ajax_Application->doAction()  
/var/www/horde-deployment/vendor/horde/horde/services/ajax.php:61
    2. IMP_Ajax_Application_Handler_Dynamic->dynamicInit()  
/var/www/horde-deployment/vendor/horde/core/lib/Horde/Core/Ajax/Application.php:175
    3. Horde_Core_Ajax_Application->callAction()  
/var/www/horde-deployment/vendor/horde/imp/lib/Ajax/Application/Handler/Dynamic.php:450
    4. IMP_Ajax_Application_Handler_Common->viewPort()  
/var/www/horde-deployment/vendor/horde/core/lib/Horde/Core/Ajax/Application.php:257
    5. IMP_Ajax_Application->viewPortData()  
/var/www/horde-deployment/vendor/horde/imp/lib/Ajax/Application/Handler/Common.php:111
    6. IMP_Ajax_Application_ListMessages->listMessages()  
/var/www/horde-deployment/vendor/horde/imp/lib/Ajax/Application.php:263
    7. IMP_Ajax_Application_ListMessages->_getOverviewData()  
/var/www/horde-deployment/vendor/horde/imp/lib/Ajax/Application/ListMessages.php:412
    8. IMP_Message_Date->__toString()  
/var/www/horde-deployment/vendor/horde/imp/lib/Ajax/Application/ListMessages.php:477
    9. IMP_Message_Date->format()  
/var/www/horde-deployment/vendor/horde/imp/lib/Message/Date.php:63
   10. IMP_Message_Date->_format()  
/var/www/horde-deployment/vendor/horde/imp/lib/Message/Date.php:163
   11. Horde_ErrorHandler::errorHandler()  
/var/www/horde-deployment/vendor/horde/imp/lib/Message/Date.php:197
    
   2023-05-13T17:25:32+02:00 EMERG: HORDE [imp] TypeError: round():  
Argument #1 ($num) must be of type int|float, string given in  
/var/www/horde-deployment/vendor/horde/imp/lib/Ajax/Queue.php:293
   Stack trace:
   #0  
/var/www/horde-deployment/vendor/horde/imp/lib/Ajax/Queue.php(293):  
round()
   #1  
/var/www/horde-deployment/vendor/horde/imp/lib/Ajax/Application.php(145):  
IMP_Ajax_Queue->add()
   #2  
/var/www/horde-deployment/vendor/horde/imp/lib/Ajax/Application.php(134):  
IMP_Ajax_Application->getTasks()
   #3  
/var/www/horde-deployment/vendor/horde/horde/services/ajax.php(70):  
IMP_Ajax_Application->send()
   #4 {main} [pid 92605 on line 74 of  
"/var/www/horde-deployment/vendor/horde/core/lib/Horde/ErrorHandler.php"]
    
   My IMP backend config:  
/var/www/horde-deployment/var/config/imp/Backend.local.php:
   <?php
   $servers['imap'] = array(
   'disabled' => false,
   'name' => 'XXXXXX',
   'hostspec' => 'localhost',
   'hordeauth' => true,
   'protocol' => 'imap',
   'port' => 143,
   'secure' => 'tls',
   'maildomain' => 'XXXXXXXXXXXXXX',
   'acl' => 'true',
   'quota' => array(
           'driver' => 'imap',
           'params' => array(
               'hide_when_unlimited' => false,
               'unit' => 'GB'
                   )
           ),
   'cache' => false,
   );
    Jose Guzman Feliu Vivas
   Director de informatica y Cumplimiento Normativo
   C/ Trinidad, 20
   12550 Almassora (Castellon)
   Tef.: 964 199 699 Fax: 964 550 248
   https://www.caixalmassora.com
   e-mail: jfeliu at caixalmassora.es


More information about the horde mailing list