Chiming in to report the same issue. Update of the WPDM Directory Add-on failed and now the Downloads are inoperative.
I can confirm this conflict and I queried the developers of the WC Memberships plugin. The issue seems to stem from /download-manager/libs/class.Apply.php
Lines 109-110 have a hard-coded call for post 27101:
$wp_query->queried_object_id = 27101;
$wp_query->queried_object = get_post(27101);
This causes the query to fail because post 27101 doesn’t exist. Commenting out line 52 appears to solve the issue:
add_action("pre_get_posts", array($this, 'archivePage'), 0);
As of Version 5.0.7, this code customization no longer works. Is there a new way to remove Public Profile Info and Payment Settings from the user profile page?
EDIT: Found this method, and it works:
Thanks – please let me know what you did regarding the php notices so I can apply the fix to the production site.
Thanks – deleting the leftover .htaccess file from Download Monitor enables the download, but the file size is still not being updated.
These debug notices are still being generated;
[01-Jan-2020 19:08:48 UTC] PHP Notice: Undefined index: meta_value in /var/www/html/wp-content/plugins/wpdm-default-values/wpdm-default-values.php on line 79
[01-Jan-2020 19:08:48 UTC] PHP Notice: Undefined index: meta_value in /var/www/html/wp-content/plugins/wpdm-default-values/wpdm-default-values.php on line 82
[01-Jan-2020 19:08:54 UTC] PHP Notice: Undefined variable: regurl in /var/www/html/wp-content/plugins/download-manager/tpls3/wpdm-login-form.php on line 118
[01-Jan-2020 19:08:54 UTC] PHP Notice: Undefined variable: log_redirect in /var/www/html/wp-content/plugins/download-manager/tpls3/wpdm-login-form.php on line 124
[01-Jan-2020 19:08:54 UTC] PHP Notice: Undefined variable: log_redirect in /var/www/html/wp-content/plugins/download-manager/tpls3/wpdm-login-form.php on line 149
These are the notices I’m seeing in the WP debug.log:
[19-Dec-2019 17:41:42 UTC] PHP Notice: Undefined variable: regurl in /var/www/html/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 114
[19-Dec-2019 17:41:42 UTC] PHP Notice: Undefined variable: log_redirect in /var/www/html/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 120
[19-Dec-2019 17:41:42 UTC] PHP Notice: Undefined variable: log_redirect in /var/www/html/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 149
[19-Dec-2019 17:42:50 UTC] PHP Notice: Undefined index: meta_value in /var/www/html/wp-content/plugins/wpdm-default-values/wpdm-default-values.php on line 79
[19-Dec-2019 17:42:50 UTC] PHP Notice: Undefined index: meta_value in /var/www/html/wp-content/plugins/wpdm-default-values/wpdm-default-values.php on line 82
I’m also seeing this one when WPDM is activated:
Notice: is_tag was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4986
I’ll provide login credentials for my test instance in the next post.
Ah, found the fix here:
Shafayet, would you mind sharing the fix here, please – I have the same issue.