[horde] CalDAV synchronize errors and Redis error
Ruud Baart
r.j.baart at prompt.nl
Thu Jun 11 12:18:44 UTC 2026
No, my fix does not work reliable, still errors
HORDE 2026-06-11T14:12:28+02:00 warning: [kronolith] PHP ERROR: Array to string conversion [pid 714888 on line 69 of "/home/websites/aa.bb.cc/horde/vendor/horde/cache/lib/Horde/Cache/Storage/Hashtable.php"]
HORDE 2026-06-11T14:12:28+02:00 warning: [kronolith] PHP ERROR: Trying to access array offset on null [pid 714888 on line 76 of "/home/websites/aa.bb.cc/horde/vendor/horde/cache/lib/Horde/Cache/Storage/Hashtable.php"]
also
HORDE 2026-06-11T12:15:36+00:00 warning: PHP ERROR: Trying to access array offset on null [pid 717739 on line 72 of "/home/websites/aa.bb.cc/horde/vendor/horde/cache/lib/Horde/Cache/Storage/Hashtable.php"]
Sorry.
I think it is typical a php 8.4 error:
Changing vendor/horde/cache/lib/Horde/Cache/Storage/Hashtable.php line 69:
from:
$res = $this->_hash->get($query);
to:
$res = $this->_hash->get((string) $query);
And lines 87+88
from:
$this->_hash->set($this->_getKey($key), $data, $opts);
$this->_hash->set($this->_getKey($key, true), time(), $opts);
to:
$this->_hash->set($this->_getKey($key), $data, (int) $opts);
$this->_hash->set($this->_getKey($key, true), time(), (int) $opts);
Solves these problems
Op 2026-06-11 om 10:09 schreef Ruud Baart:
> After the latest updates of H6 I can't synchronize tasks or agenda.
> Probably because of error in redis. These are the errors logged:
>
> Synchronize errors:
>
> 026/06/11 09:06:27 [error] 680112#680112: *12 readv() failed (104:
> Connection reset by peer) while reading upstream, client:
> 37.66.54.147, server: aa.bb.cc, request: "PROPFIND
> /horde/rpc/calendars/user%40domain.com/tasks~Z1H0u8DzYMq3V0_B3t6AGY4/
> HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.4-fpm.sock:", host:
> "aa.bb.cc"
> 2026/06/11 09:06:49 [error] 680112#680112: *12 readv() failed (104:
> Connection reset by peer) while reading upstream, client:
> 37.66.54.147, server: aa.bb.cc, request: "PROPFIND
> /horde/rpc/calendars/user%40domain.com/calendar~gLuI9IBq20HJjwKbcMgP4xZ/
> HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.4-fpm.sock:", host:
> "aa.bb.cc"
>
>
> Redis error:
>
> HORDE 2026-06-11T07:08:12+00:00 emergency: TypeError:
> Horde\HashTable\Driver\Redis::get(): Argument #1 ($key) must be of
> type string, array given, called in
> /home/websites/aa.bb.cc/horde/vendor/horde/cache/lib/Horde/Cache/Storage/Hashtable.php
> on line 69 and defined in
> /home/websites/aa.bb.cc/horde/vendor/horde/hashtable/src/Driver/Redis.php:82
> Stack trace:
> #0
> /home/websites/aa.bb.cc/horde/vendor/horde/cache/lib/Horde/Cache/Storage/Hashtable.php(69):
> Horde\HashTable\Driver\Redis->get()
> #1
> /home/websites/aa.bb.cc/horde/vendor/horde/cache/lib/Horde/Cache.php(113):
> Horde_Cache_Storage_Hashtable->get()
> #2
> /home/websites/aa.bb.cc/horde/vendor/horde/cache/lib/Horde/Cache/Storage/Stack.php(65):
> Horde_Cache->get()
> #3
> /home/websites/aa.bb.cc/horde/vendor/horde/cache/lib/Horde/Cache.php(113):
> Horde_Cache_Storage_Stack->get()
> #4
> /home/websites/aa.bb.cc/horde/vendor/horde/perms/lib/Horde/Perms/Sql.php(315):
> Horde_Cache->get()
> #5
> /home/websites/aa.bb.cc/horde/vendor/horde/core/lib/Horde/Registry.php(1853):
> Horde_Perms_Sql->exists()
> #6
> /home/websites/aa.bb.cc/horde/vendor/horde/core/lib/Horde/Registry.php(980):
> Horde_Registry->hasPermission()
> #7
> /home/websites/aa.bb.cc/horde/vendor/horde/core/lib/Horde/Core/Notification/Handler.php(101):
> Horde_Registry->listApps()
> #8
> /home/websites/aa.bb.cc/horde/vendor/horde/core/lib/Horde/Registry.php(644):
> Horde_Core_Notification_Handler->attachAllAppHandlers()
> #9
> /home/websites/aa.bb.cc/horde/vendor/horde/core/lib/Horde/Registry.php(390):
> Horde_Registry->__construct()
> #10 /home/websites/aa.bb.cc/horde/vendor/horde/horde/index.php(20):
> Horde_Registry::appInit()
> #11 /home/websites/aa.bb.cc/horde/web/horde/index.php(3):
> require_once('...')
> #12 /home/websites/aa.bb.cc/horde/web/index.php(3): require_once('...')
> #13 {main} [pid 680158 on line 509 of
> "/home/websites/aa.bb.cc/horde/vendor/horde/imp/lib/Application.php"]
>
--
Cordialement,
*
R.J. Baart
*
--
Horde mailing list
Frequently Asked Questions:http://horde.org/faq/
To unsubscribe, mail:horde-unsubscribe at lists.horde.org
More information about the horde
mailing list