Omar Filipovic

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
Sep 1, 2020 at 2:01 am
#135427
Participant
Omar Filipovic
OP

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

Mar 18, 2020 at 3:44 am
#122377
Participant
Omar Filipovic
OP

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

Feb 24, 2020 at 5:05 am
#120781
Participant
Omar Filipovic
OP

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

Jan 5, 2020 at 10:36 pm
#117590
Participant
Omar Filipovic
OP

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

Jan 1, 2020 at 7:18 pm
#117352
Participant
Omar Filipovic
OP

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
Dec 19, 2019 at 6:00 pm
#116961
Participant
Omar Filipovic
OP
This reply has been marked as private.
Dec 19, 2019 at 5:58 pm
#116960
Participant
Omar Filipovic
OP

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.

Dec 14, 2019 at 11:10 pm
#116778
Participant
Omar Filipovic
OP

Ah, found the fix here:

Permalink Starting with Number Issue

Dec 14, 2019 at 9:41 pm
#116776
Participant
Omar Filipovic
OP

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

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