Getting this all of a sudden:
[29-Dec-2025 11:03:51 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WPDM__\wp_generate_password() in /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/src//Session.php:59 Stack trace: #0 /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/src//Session.php(28): WPDM__\Session::initDeviceID() #1 /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/src//Session.php(41): WPDM__\Session::init() #2 /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/download-manager.php(181): WPDM__\Session->__construct() #3 /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/download-manager.php(151): WPDM\WordPressDownloadManager->__construct() #4 /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/download-manager.php(547): WPDM\WordPressDownloadManager::instance() #5 /home/globalhealth/webapps/globalhealth-web/wp-settings.php(560): include_once(‘…’) #6 /home/globalhealth/webapps/globalhealth-web/wp-config.php(125): require_once(‘…’) #7 /home/globalhealth/webapps/globalhealth-web/wp-load.php(50): require_once(‘…’) #8 /home/globalhealth/webapps/globalhealth-web/wp-blog-header.php(13): require_once(‘…’) #9 /home/globalhealth/webapps/globalhealth-web/index.php(17): require(‘…’) #10 {main} thrown in /home/globalhealth/webapps/globalhealth-web/wp-content/plugins/download-manager/src//Session.php on line 59
Fixed it by editing teh core files and changing last line to:
add_action(‘init’, function () {
\WPDM\WordPressDownloadManager::instance();
});
I have the latest version