Redeclaration problem causing mail to fail on update if recognize is installed.
Open
@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
- Have recognize and mail installed
- Update to latest Nextcloud AIO (Nextcloud Hub 10 (31.0.10))
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.