The whole idea of WP Debugging is to surface errors so they can be identified and fixed. Can you add the stacktrace here, maybe we can figure out where the issue is?
Thread Starter
steude
(@steude)
Thanks for your fast answer. This is the Stack trace from the first time, the error occured.
After that the same process repeats itself again and again:
[16-Apr-2025 15:31:41 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_kses() in /home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-includes/functions.php:6105
Stack trace: 0 /home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-includes/functions.php(5586): wp_trigger_error() 1 /home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-includes/class-wpdb.php(1339): _deprecated_function() 2 /home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-content/sunrise.php(11): wpdb->escape() 3 /home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-includes/ms-settings.php(52): include_once(‘/home/bueosupa/…’) 4 /home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-settings.php(157): require(‘/home/bueosupa/…’) 5 /home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-config.php(110): require_once(‘/home/bueosupa/…’) 6 /home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-load.php(50): require_once(‘/home/bueosupa/…’) 7 /home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-blog-header.php(13): require_once(‘/home/bueosupa/…’) 8 in /home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-includes/functions.php on line 6105
I think the issue might be here
/home/bueosupa/www.buergerbegehren-musikzentrum.de/wp-content/sunrise.php(11): wpdb->escape()
I wonder if it’s getting called too early. The sunrise.php
file is not a standard file included in WordPress. This might help, https://wordpress.stackexchange.com/questions/228263/how-to-use-the-sunrise-php-script-for-multisite-network-domain-mapping
Thread Starter
steude
(@steude)
Sunrise.php is located in the correct folder (wp-contents).
However, there are no 11 domains. Could it be that sunrise.php(11) is trying to access a domain (number 11) that doesn’t even exist?
I have no idea. As I said, the plugin simply exposes any issues.