Hello
Do you know which php-file i can change for now, to unblock the situation?
Hello Moderator
I’ve found my dirty solution.
i’ve gone to this file download-manager/libs/class.DownloadStats.php through my plugin-editor.
Line 44 was causing the issue;
/*if (is_user_logged_in()) {
$index = $current_user->ID;
} else {
$index = str_replace(“.”, “_”, $ip);
if ($index == ”) $index = uniqid();
}
*/
As you can see, i’ve just disabled it.
And it works.
Hello
Thx for the update.
Reset password is working then.
But my design has changed and actually to be honest, i prefer to be on bs3.
An change in UI settings is solving my issue, that shouldn’t be the case right?
Hello
It didn’t helped :/
Issue found:
download-manager/wpdm-start-download.php
Line: +- 146
WPDM()->downloadHistory->add($package[‘ID’], $indfile ? $indfile : $firstfile, wpdm_query_var(‘oid’));
When a user is logged in, it fails on this line; when i comment this out; it works.
But my download counter doesn’t work then.
Any solution?
To let it work, as a workaround the download history is not needed yet – but the counter is a must to have.
Hello
Any news?
it’s been a long time, but still stucked.
At the moment, an user logs in & tries to download – it fails.
But if the user is not logged in, the download works.
Hello
It still doesn’t work for me.
I’ll send you the details within a private message
Hello
I’ve tried all of that.
But it didn’t work.
I’m curious, am i the only one having the same issue? ๐
I just want to be able to let my logged-in users download some files.
Hello
Any news?
Hello
Can we arrange a videocall?
It will be easier on that way i guess.
+ I wanted to do some workarounds by making the page visible to all logged in users and the packages accessible to ‘all visitors’.
But still got the issue.
I think, when my user is logged in, i’m not be able to download a file.
I see in the previous values, this issue:
[15-Jan-2021 20:41:18 UTC] PHP Notice: Trying to access array offset on value of type bool in /wordpress/drop-ins/advanced-cache.php on line 495
[15-Jan-2021 20:45:28 UTC] PHP Notice: Undefined variable: wp_object_cache in /wordpress/drop-ins/advanced-cache.php on line 415
But i’m not 100% sure if it’s related.
any news?
Additional info:
When an user is registered, i can see him in the “users”-dashboard of WP.
But they are not visible in the “subscribers”-list of the plugin itself.
Hello
I don’t use any additional WPDM addons.
But i noticed;
when the “Allow access” is set to “all visitors” i can download the files.
But in my case, the users should be logged in to be able to download.
So when they register, they are “subscribers”.
When i “allow access” to only “subscribers”, i can’t download it anymore – i get an error message.
Hello
Unfortunately it isn’t working yet.
When you click multiple times on ‘download’ + if you just go back, sometimes it’s working. I don’t know why but it was like that before.
But when i refresh the page (+ clearing cache), i still get the same issue.
Hello
I’ve disabled all the plugins – and only enabled the wpdm.
I’ve switched back to the default theme ‘twenty twenty’.
But always the same issue. :/
Wpdm : v 5.3.3
Document size: 0.00 kb
This is the result after clicking on download:
https://photos.app.goo.gl/vU1MENbBf2XS7sA56