I have been struggling with an error in roundcube since I updated some
software (via pkg system). I have solved my own issue, and wanted to
share it here.
FreeBSD (14.3p5), roundcube (1.6.11), php (8.5.0b3)
issue:
at first launch of roundcube, issue triggered in apache log:
[Tue Nov 25 09:36:04.095321 2025] [php:error] [pid 12559] [client
23.235.68.254:49684] PHP Fatal error: Cannot redeclare function
array_first() in /u/roundcube/program/lib/Roundcube/bootstrap.php on
line 308\nStack trace:\n#0 /u/roundcube/index.php(40):require_once()\n#1
{main}, referer:
https://emailh.ca/
I reverted to php (8.4.13) ..... issue resolved.
so there is either something in roundcube that isn't compatible with php
8.5.0b3
or php 8.5.0b3 isn't ready for primetime.
In any event, 8.4.13 resolves my roundcube issue.
--
Jim Pazarena
fqu...@paz.bz
Haida Gwaii - British Columbia - Canada