I have the same issue on my side:
Fatal error: Out of memory (allocated 895725568) (tried to allocate 6008648 bytes) in …/wp-includes/wp-db.php on line 2056
I tryed all of your suggestions but nothing worked. This is very urgent because my customer gets mad at me at the moment. I need to fix this very urgent!!!
Additional info:
My wp_post_meta table in the wordpress database has reached the size of 1,4 GB because of the downloads, is this normal?
-
This reply was modified 4 years, 5 months ago by
Sinan Ünal.
I added the line of code to the wpconfig file as requested. I didn’t change any of the other settings. I tried to download a new file and am now getting this error:
Warning: Error while sending QUERY packet. PID=58385 in /public_html/wp-includes/wp-db.php on line 2056
Warning: Error while sending QUERY packet. PID=58385 in /public_html/wp-includes/wp-db.php on line 2056
Headers already sent in /public_html/wp-includes/wp-db.php on line 2056
As well as this error still:
Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 6007151408 bytes) in /public_html/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 50
This isn’t happening all the time, only sometimes. If I try to download the same file twice it mostly works on the second or third try.
Allowing multiple locks I think it is required customization code. But for email lock, there also has been set subscription system, you shall find subscriber from Downloads > Subscriber > Email Lock
, please check
thanks
Yes, thank you for taking efforts to point out the issue. I don’t know what you did but now I am able to edit that template even if multiple locks are enabled on all other downloads.
On the same note, the reason I had to use multiple locks is that I did not want to send download without approval. And I need them to subscribe to my newsletter before downloading. Abd that’s exactly the limitation of WPDM. Number one, it does not give a subscribe option in the download when I used email lock alone. Then I had to use a form lock which captures person’s details and subscription acknowledgement. This is work around but its annoying that there would be two parts of the form with two submit button for users. I wish WPDM had two features 1) allows multiple locks but one final submit button or 2) wait for approval option in every lock, so that just one lock could serve the function completely.
My program does not say TOP Packages, but yes, Downloads > Stats > Insight section.I want a simple way to see all counts of individual packages at one time.
Thanks
Is there all tags are missing now, or some part missing, please check from Downloads > Tags section
thanks
Please simply click the Save Settings again for license key option from Downloads > Settings > License
, that will regenerate the access token. Finally, go to plugins page and update will work fine this time
Or,
1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
2 ) Install the latest version and activate the license key.
thanks
This reply has been marked as private.
I am also having the same problem. My history of downloads stopped working around December 11th. This is really important for me as my site needs to track downloads for legal reasons.
I was autoupgraded to version 3.1.12 at some point. It Would be nice if your change log listed dates
I am on WP Version 5.6
I am using PHP 7.4.14
I have disabled every plugin except for the downloads plugin. I usually host files on s3 so I used WPDM but I have also disabled this and tried downloading files from the media library.
I have also tried different themes
It does not work.
After updating to 5.3.3 I am receiving a critical error when opening specific pages that contain downloads and I can’t open the “all downloads” section in the backend – I am receiving a critical error. Can you help? I have never had these kind of problem before. Thanks!
This reply has been marked as private.
Please check the add-ons from here, https://www.wpdownloadmanager.com/downloads/add-ons/, you shall get most add-ons demo where it is needed, please check those and let me know, how can I further help
thanks
We built our woocommerce site and then determined our downloads needed enhanced security. They have worked together well for 2 years, but not so well now.
Do you really intend to walk away from this market?
Please simply click the Save Settings again for license key option from Downloads > Settings > License
, that will regenerate the access token. Finally, go to plugins page and update will work fine this time
Or,
1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
2 ) Install the latest version and activate the license key.
thanks
For archive page, please use the latest updated shortcodes from here, https://www.wpdownloadmanager.com/download/wpdm-directory-add-on/, the shortcode has been updated. And for update plugin, please simply click the Save Settings again for license key option from Downloads > Settings > License
, that will regenerate the access token. Finally, go to plugins page and update will work fine this time
thanks
Hi,
Please simply click the Save Settings again for license key option from Downloads > Settings > License
, that will regenerate the access token. Finally, go to plugins page and update will work fine this time
thanks
This reply has been marked as private.
Thank you for your quick reply. I reinstalled the Advanced Access control and can see the options but the files are not showing up where they should. I see them in the “my downloads” however they aren’t showing up where I have a template. Does the template code below need updating?
<div class=’media’>
<table width=”100%” border=”0″ cellpadding=”3″>
<tbody>
<tr>
<td height=”10″ colspan=”3″>
<span class=”media-body” style=”text-align: left”>
<p style=”text-align: left; font-size: large;”>[title]<br>
<span style=”font-size: xx-small”>(updated: [update_date])</span> </p>
</span></td>
</tr>
<tr>
<th width=”85%” scope=”col”><span class=”media-body” style=”text-align: left; font-size: x-small;”>[file_list] </span></th>
</tr>
</tbody>
</table></div>
When a user logs in files are not showing up that they should have access to. It actually wasn’t working before I updated to the latest version so I thought I should update everything but it still doesn’t work. On the user dashboard it doesn’t show “my downloads” like it should and when I go to a file to select the user it should be shared with the option is not there.
Hi,
we have upgraded to V5.3.3, but still can’t get wpdm_category or wpdm_packages to work.
What we require is a list of downloads showing:
- All packages of the specified category and any child categories
- Filtered by one or more tags (i.e. win32 AND dropbox)
We have created a test page here. Category pse402b20308 is a child of category erp-scale-pse.
https://pocketprograms.com/wpdm-category-test/
Have you checked this option as I image attached,

from Downloads > Settings > Basic > Access Settings > When user is not allowed to download:
, please check and let me know
thanks
Hello,
Please go to Downloads > Settings > Licence
save settings again for license key option, that will regenerate the access token. Finally, go to plugins page and update will work fine this time
thanks
Sorry for your inconvenience, it is working fine now here, https://www.antarescooperativa.it/105-2/, you have to give the User Access from here too as I image attached,

from the edit category section, thus it should work. I have changed a small change for checking this issue,
When the user is not allowed to download > Block download links only
from Downloads basic settings
thanks
Hi,
Please simply click the Save Settings again for license key option from Downloads > Settings > License
, that will regenerate the access token. Finally, go to plugins page and update will work fine this time
thanks