mail icon indicating copy to clipboard operation
mail copied to clipboard

Redeclaration problem causing mail to fail on update if recognize is installed.

Open inquam opened this issue 2 months ago • 1 comments

Steps to reproduce

  1. Have recognize and mail installed
  2. Update to latest Nextcloud AIO (Nextcloud Hub 10 (31.0.10))
  3. The error occurs in the update log.

Expected behavior

Be able to run mail along side recognize.

Actual behavior

Mail is disabled with the message that it can not be re-enabled during the update.

Mail app version

5.5.15

Nextcloud version

31.0.10

Mailserver or service

No response

Operating system

No response

PHP engine version

None

Nextcloud memory caching

No response

Web server

None

Database

None

Additional info

PHP Fatal error: Cannot redeclare utf8_ord() (previously declared in /var/www/html/custom_apps/recognize/vendor/scoper-autoload.php:55) in /var/www/html/custom_apps/mail/vendor/joomla/string/src/phputf8/ord.php on line 22

After the update I can see that Recognize is version 9.0.8 and Mail is version 5.5.15 (but disabled)

inquam avatar Nov 15 '25 17:11 inquam

This is most likely a duplicate of https://github.com/nextcloud/suspicious_login/issues/1037 and fixed with the latest release of Recognize

ChristophWurst avatar Nov 18 '25 08:11 ChristophWurst