- This topic has 9 replies, 2 voices, and was last updated 1 month, 3 weeks ago by
Nayeem Riddhi.
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
Hello John Sheahan,
Hope you are well. And sorry for the inconvenience. Can you please let me know how the error has come? If any WPDM page or shortcode. Also please let me know which version you are using free or PRO. Please kindly check and let me know.
Thank you and kind regards
Hi, it just comes when i activate the plugin. Also its the free version
Sorry for the inconvenience. We are checking the issue. I have already forwarded your issue to our related team authority. Please kindly check and let me know if you have any more queries.
Thank you and kind regards
ok thanks
Please kindly let me know if you are using the latest version or not. If older version you are using please update your version to latest. If problem persist, If possible, please, give your temporary wp-admin login details in a private reply to check the issue.
Thank you and regards
Please kindly let me know which page the error is coming, this download is loading properly as expected,
Please kindly let me know.
Thank you
Ok thats odd it was broke when I last checked. Ill see how it goes now
Please kindly check now. And let us know if the issue re-appears. Please kindly check.
Thank you
You must be logged in to reply to this topic.