PHP-Error -> HTTP 500 when sending Mail

Hey Guys,

I get an error when sending Mails from WebApp (HTTP 500). Apache Error.log sais

[Sun Jan 21 09:46:59.378959 2018] [:error] [pid 1111] [client] PHP Fatal error: Call to undefined function dump() in /usr/share/kopano-webapp/server/includes/core/class.operations.php on line 4003, referer: https://*************/webapp/

It used to work perfectly. Seems to be a Problem related to latest System/Kopano-Updateds.

May you plz check this.

Thank you verry much!


Hi @faithless1108 ,

which version of Kopano Core and WebApp are you running? On which os?

Hi there,

the Versions are…

ii python-kopano all High-level Python bindings for Kopano
ii z-push-backend-kopano 2.3.8+0-0 all Z-Push Kopano backend
ii z-push-kopano 2.3.8+0-0 all Z-Push for Kopano
ii kopano-backup amd64 Utility to back up and restore Kopano stores
ii kopano-client amd64 Kopano MAPI provider library
ii kopano-common amd64 Shared files for Kopano Core services.
ii kopano-contacts amd64 MAPI provider adding contact folders in the addressbook
ii kopano-dagent amd64 E-Mail Delivery Agent for the Kopano Core
ii kopano-gateway amd64 POP3 and IMAP Gateway for the Kopano Core
ii kopano-ical amd64 ICal and CalDAV Gateway for Kopano Core
ii kopano-lang all Translations for Kopano Core components
ii kopano-migration-pst amd64 Utility to import PST files
ii kopano-monitor amd64 Quota Monitor for Kopano Core
ii kopano-presence amd64 kopano presence daemon
ii kopano-search amd64 Indexed search engine for Kopano Core
ii kopano-server amd64 Server component for Kopano Core
ii kopano-server-packages all Metapackage to install the entire Kopano Core stack
ii kopano-spooler amd64 E-mail Spooler for Kopano Core
ii kopano-utils amd64 Admin command-line utils for Kopano Core
ii kopano-webapp all New and improved WebApp for Kopano
ii kopano-webapp-plugin-mdm all Kopano WebApp MDM plugin

And the OS is Debian 8 (8.10)

Thank you!

Hi @faithless1108 ,

we looked into this and at first could not reproduce it. Looking a bit further into this it seems you are missing the following lines in your config.php. Once you have added them you should be able to send mails again.

Hi @fbartels,

i already got these lines in my config.php

if (file_exists('debug.php')){
	// define empty dump function in case we still use it somewhere
	function dump(){}

What now?


@faithless1108 said in PHP-Error -> HTTP 500 when sending Mail:

What now?

Since you are running our supported packages I assume you also have a valid subscription. Therefore I would recommend to get in contact with our support and have someone look at your system.

Log in to reply

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.