I’m experiencing the most bizarre error. It’s random and goes away and come back. When I click on the download link on a file it will either
1. download or
2. show an error on page with “Warning: A non-numeric value encountered in /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 35.” and large amount of characters like it’s trying to display the file as text.
There is no telling which it’s going to do. There is no specific file type that does it. After I click download once and get the error the next time I click it will work fine. However, the problem will return later. I’ve echoed the values from class.DownloadStats.php around line 35 and everything seems to be working fine.
I’m in the process of creating a new version of the site and don’t have this problem on the development version. I’ve transferred the license to the development version already
When I check the error_log I see the following errors related to this problem. I’m not sure why I’m getting the headers already sent error. Any help would be greatly appreciated.
[01-Apr-2019 20:04:57 UTC] PHP Warning: A non-numeric value encountered in /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 35
[01-Apr-2019 20:04:57 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.DownloadStats.php:35) in /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.FileSystem.php on line 84
[01-Apr-2019 20:04:57 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.DownloadStats.php:35) in /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.FileSystem.php on line 85
[01-Apr-2019 20:04:57 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.DownloadStats.php:35) in /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.FileSystem.php on line 86
[01-Apr-2019 20:04:57 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.DownloadStats.php:35) in /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.FileSystem.php on line 91
[01-Apr-2019 20:04:57 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.DownloadStats.php:35) in /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.FileSystem.php on line 97
[01-Apr-2019 20:04:57 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.DownloadStats.php:35) in /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.FileSystem.php on line 99
[01-Apr-2019 20:04:57 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.DownloadStats.php:35) in /home/musican2/public_html/portal/wp-content/plugins/download-manager/libs/class.FileSystem.php on line 131
Hello,
I have some issue with the plugin. (pro version)
For big files, for all of them, the download interupt at 512Mb.
I need to activate “output buffering” or I get a error page.
When I activate resumable download, the file is downloaded but the download speed is very very slow.
However when I make a file downloadable normaly without the plugin the speed is good and the download do not interupt at 512Mb.
But I would like have this plugin working properly and hide the download link, it’s why I have choice this plugin.
Can you help me please?
Thanks in advance.
How do I set e.g a 30 days expiry download for each product for customers
for example,
Customer A bought an item A on Feb on 1st May, so 30 days after this is 31 May so the download link is no longer available
Customer B bought an item A on Feb on 3rd May, so 30 days after this is 2nd June so the download link is no longer available
Customer C bought an item A on Feb on 8th May, so 30 days after this is 7th June so the download link is no longer available
etc etc
So do I go about doing this for each customer
Hi There,
After installing the download manager plugin, a strange footer has appeared at the bottom of each page on my site that says “download file” inside a black bar that runs the width of the page.
The site in question is https://www.cuprion.co.uk
I’m not sure how to get rid of this, can anyone help?
Cheers,
Phil
When I login to backend, and try to get the direct download link from one of the packages e.g see download-link.jpg. When I click on the anchor link a popup window withe the download link is shown – see link.jpg. I copied and pasted this link to frontend, and then I get an error – see error-link.jpg
Please advise as I need urgently this to be resolved. Many thanks
I link from external location to a page with a WPDM PRo form on it. The form is supposed to allow sending a link to a document, after user provides their email and name. HOWEVER, most of the time one particular form will just hang up. Pressing the download button produces no action.
Further detail: When I navigate to the download package page from the website, the download works.
When I link to the download package page from an external site, the download does not work on multiple packages.
I have a bunch of downloads on our website where we currently use Box links instead of hosting on the website. Now, we would like to upload the files to the site. However, when I remove the Box link and add the pdf the download link does not work how it should. I am wanting it to prompt the location where the user would like to save it. I’ve tried all of the download link options and none seem to work however it is saving it in my downloads folder on my computer. Nothing is popping up saying it is doing that though. If I create a new package, all works just fine. It is only on the ones where I am switching from using the Box link to uploading the file. I really don’t want to have to create new packages for every single download as there are a lot. Am I doing something wrong?
Thanks,
Hayley