Page exported function error() causes a fatal php redefinition error
Open, NormalPublic


After fresh installation of kolab v16.0.1-22 from on debian buster, the already installed adminer v4.7.1-1 (phpmyadmin replacement) failes working due to redeclaration of the function error(). This function seems to be declared and exported from that is loaded by apache2. The problem occurres once "apt-get install kolab" finished installation.

Fatal error: Cannot redeclare error() in /usr/share/adminer/adminer/drivers/ on line 643

I personally feel that exporting such a global name without any namespaces or unique prefix will lead to more collisions also in other web applications.

Did I do something wrong?


Ticket Type

Event Timeline

0x6d61726b updated the task description. (Show Details)
machniak assigned this task to mollekopf.Jan 2 2020, 9:20 AM
machniak added a project: Libraries.
Testingkolab moved this task from Backlog to Reviewed on the Bug Reports board.Jan 16 2020, 10:38 AM
Testingkolab lowered the priority of this task from Needs Triage to Normal.