nextcloud / nextcloud/mail

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

Open
#12,035 1 comment 0 reactions 1 assignee View on GitHub

@ChristophWurst is already working on this.

Since Nov 18, 2025.

0. to triage bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.