Omar Filipovic

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)

Omar Filipovic
Participant

Chiming in to report the same issue. Update of the WPDM Directory Add-on failed and now the Downloads are inoperative.


Omar Filipovic
Participant

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);

in reply to: remove fields from user profile page #120781

Omar Filipovic
Participant

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:

Public Profile Info

in reply to: Recalculate package size #117590

Omar Filipovic
Participant

Thanks – please let me know what you did regarding the php notices so I can apply the fix to the production site.

in reply to: Recalculate package size #117352

Omar Filipovic
Participant

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
in reply to: Recalculate package size #116961

Omar Filipovic
Participant
This reply has been marked as private.
in reply to: Recalculate package size #116960

Omar Filipovic
Participant

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.

in reply to: Downloads unavailable after updating to 5.0.3 #116778

Omar Filipovic
Participant

Ah, found the fix here:

Permalink Starting with Number Issue

in reply to: Downloads unavailable after updating to 5.0.3 #116776

Omar Filipovic
Participant

Shafayet, would you mind sharing the fix here, please – I have the same issue.

Viewing 9 posts - 1 through 9 (of 9 total)