When the plugin is activate and a post have more than 100 total download, I ot this error message “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 60157656 bytes) in /home/dynasub5/public_html/wp-includes/wp-db.php on line 2056
There has been a critical error on this website.”
For exemple
https://dynastyhaiti.com/mixtape-2021-kout-loray-la-tonymixhaiti/
There is error showing, Fatal error: Out of memory
Fixing the Error there are a couple of ways on how to go about resolving this error. These include:
1.Editing the wp-config.php
file
2.Editing the php.ini
file
3.Editing the .htaccess
file
1.Editing the wp-config.php
file
Here you will need to edit the wp-config.php
file.
define( 'WP_MEMORY_LIMIT', '1024M' );
2.Editing the php.ini
file
On a live install, the file can be accessed within the root of your install, that is within the /public_html/ folder. Note that the file is not installed by WordPress but in most cases set up by your host. If you are using CPanel as your control panel, for example, make sure the checkbox for “Show Hidden Files” is checked and then click Go. You may check into this article on how to go about editing the file. Before editing the file, kindly preserve a backup to it by downloading it to your computer.
Once this is done, open the file, add or edit the following line:
memory_limit 1024M
3.Editing the .htaccess
file
The .htaccess
file is a file located within the root of your WordPress files.
You will need to add or edit the following code to the bottom of the file:
php_value memory_limit 1024M
With this done, you can then save your changes and check if the error is resolved.
Out of this doesn’t solve your issue, please contact your server administrator
Thanks
Can you please share your PHP log info error related to WPDM, I have installed a plugin from your side, but it is showing,
Error log filename is not set.
To enable error logging, create an empty file named "php-errors.log". Place it in a directory that is not publicly accessible (preferably outside your web root) and ensure it is writable by the web server. Then add the following code to wp-config.php:
@ini_set('log_errors', 'On');
@ini_set('error_log', '/full/path/to/php-errors.log');
By default, only fatal errors and warnings will be logged. To also log notices and other messages, enable the WP_DEBUG option by adding this code:
//Report all types of errors.
define('WP_DEBUG', true);
//Don't show errors to site visitors.
define('WP_DEBUG_DISPLAY', false);
For reference, the full path of the WordPress directory is:
/mnt/web001/b3/82/53797382/htdocs/Webseiten/Shatter-Box-V2/
please check
thanks
Database size should not increase every download
There is one error showing, PHP Fatal error: Allowed memory size of bytes exhausted
Fixing the Error there are a couple of ways on how to go about resolving this error. These include:
1.Editing the wp-config.php
file
2.Editing the php.ini
file
3.Editing the .htaccess
file
1.Editing the wp-config.php
file
Here you will need to edit thewp-config.php
file.
define( 'WP_MEMORY_LIMIT', '1024M' );
2.Editing the php.ini
file
On a live install, the file can be accessed within the root of your install, that is within the /public_html/ folder. Note that the file is not installed by WordPress but in most cases set up by your host. If you are using CPanel as your control panel, for example, make sure the checkbox for “Show Hidden Files” is checked and then click Go. You may check into this article on how to go about editing the file. Before editing the file, kindly preserve a backup to it by downloading it to your computer.
Once this is done, open the file, add or edit the following line:
memory_limit 1024M
3.Editing the .htaccess
file
The .htaccess
file is a file located within the root of your WordPress files.
You will need to add or edit the following code to the bottom of the file:
php_value memory_limit 1024M
With this done, you can then save your changes and check if the error is resolved.
Thanks
Correctly the interface has no problems
But the database size increases with every download
I expect the site will stop in the evening
Also, there are people who have had the same problem
Fatal error: Out of memory – All tips found here tried
Please help me and provide a solution
I also have more than one site and the same problem
This reply has been marked as private.
There is one error showing, PHP Fatal error: Allowed memory size of 838860800 bytes exhausted
Fixing the Error there are a couple of ways on how to go about resolving this error. These include:
1.Editing the wp-config.php
file
2.Editing the php.ini
file
3.Editing the .htaccess
file
1.Editing the wp-config.php
file
Here you will need to edit thewp-config.php
file.
define( 'WP_MEMORY_LIMIT', '1024M' );
2.Editing the php.ini
file
On a live install, the file can be accessed within the root of your install, that is within the /public_html/ folder. Note that the file is not installed by WordPress but in most cases set up by your host. If you are using CPanel as your control panel, for example, make sure the checkbox for “Show Hidden Files” is checked and then click Go. You may check into this article on how to go about editing the file. Before editing the file, kindly preserve a backup to it by downloading it to your computer.
Once this is done, open the file, add or edit the following line:
memory_limit 1024M
3.Editing the .htaccess
file
The .htaccess
file is a file located within the root of your WordPress files.
You will need to add or edit the following code to the bottom of the file:
php_value memory_limit 1024M
With this done, you can then save your changes and check if the error is resolved.
Thanks
I am getting this error when clicking on the “All Packages” menu item on the admin pages
I can “Add an new” package and access all the other menu options
I am also getting it on some but not all pages linked to the plugin from front end consumer access (But I have currently removed them so customers do not click on them)
I am not getting the error with any other Plugins and have not made any additions to the site in the last few days
Any ideas?
Good morning.
I am getting the following error when moving from page 1 to page 2 of downloads within the plugin:
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 60085672 bytes) in /home/aatl/public_html/wp-includes/wp-db.php on line 2022
There has been a critical error on this website. Please check your site admin email inbox for instructions.
I am also getting critical download errors when people are trying to download documents.
Any idea what the problem is.
Regards
Rob
Participant
Hi all we have same problem: WP post meta size= 3 GB.
Error: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 60049368 bytes) in….We putted all memory settings to 2048MB but we still have the problem.
Please help us.
This reply has been marked as private.
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, 4 months ago by
Sinan Ünal.
Hi,
I’m getting a critical error when going Dashboard/Downlaods/All Packages.
Deactivated all other plugins and error remains.
Debug log includes, “20-Jan-2021 13:44:30 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 60032032 bytes) in /home/bingleytc/public_html/wordpress/wp-includes/wp-db.php on line 2022”
Thanks,
Ken
Hello, i push the memory php to the limit at 768Mo this is the strongest shared server offering at ionos.
And there is better but always this error when editing a page containing the shortcodes wp download manager.
Fatal error: Out of memory (allocated 811429888) (tried to allocate 60047472 bytes) in /xxxxx/xx/xxxxxxx/htdocs/asacso/wp-includes/wp-db.php on line 2022
It’s crazy, he still wants 60MB more php memory.
I have never seen such memory consumption for a call to shortcodes, in addition I have two other websites which use wp domnload manager and which do not generate this error.
Several users have told you about the memory problem, you offered no other solution than to increase the capacity of the server when we face this problem, but all the same wp download manager obliges us to rent a dedicated server running just to run, while otherwise it runs on shared servers.
For wpdm elementor, when I activate this wpdm module I no longer access the elementor settings in the pages the loader remains in motion indefinitely …
Do you think there is a solution to find where this memory problem comes from ?
Nice day
Gérard
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.
Hi
My host has increased my database to 2GB.
As a result of this action, I can no longer use Download manager pro.
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 6006520 bytes) in /homepages/26/d662063834/htdocs/clickandbuilds/TOPAntiMalware/wp-includes/wp-db.php on line 2056
I deleted and reinstalled Download manager, but the problem persists.
Can you help me out?
Best regards
Hello – will you please be able to assist in resolving this error? Checked plugin config, but not sure where to start… The problem seems to arise when trying to change user Profiles from Subscriber to Vendor. Is this perhaps a known issue with documentation I can refer to?
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Premium Packages – Sell Digital Products Securely.
WordPress version 5.5.3
Current theme: Prime (version 2.3.2)
Current plugin: Premium Packages – Sell Digital Products Securely (version 4.6.9)
PHP version 5.6.40
AnonymousInactive
Hi,
After install it I’ve this message in WP dashboard:
“There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about debugging in WordPress.”
And this email form WP:
“Howdy!
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, WPDM – Amazon s3.
First, visit your website (http://staging.retailers.flywheelsites.com/) and check for any visible issues. Next, visit the page where the error was caught (http://staging.retailers.flywheelsites.com/wp-admin/edit.php?post_type=wpdmpro&page=wpdm-aws) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
http://staging.retailers.flywheelsites.com/wp-login.php?action=enter_recovery_mode&rm_token=tFEHEtXkMKkYRo26Yk7YB5&rm_key=O5wjWIknL2F3deW5Sre8rA
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.6
Current theme: Verse Enfant (version 1.0)
Current plugin: WPDM – Amazon s3 (version 3.0.1)
PHP version 7.3.16-1+ubuntu16.04.1+deb.sury.org+1
Error Details
=============
An error of type E_ERROR was caused in line 5 of the file /www/wp-content/plugins/wpdm-amazon-s3/tpls/aws-manager.php. Error message: Uncaught Error: Call to undefined function wpdm_valueof() in /www/wp-content/plugins/wpdm-amazon-s3/tpls/aws-manager.php:5
Stack trace:
#0 /www/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php(488): include()
#1 /www/wp-includes/class-wp-hook.php(287): WPDM_AmazonS3->awsManager(”)
#2 /www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#3 /www/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#4 /www/wp-admin/admin.php(259): do_action(‘wpdmpro_page_wp…’)
#5 /www/wp-admin/edit.php(10): require_once(‘/www/wp-admin/a…’)
#6 {main}
thrown
“
Hello, it has been a couple of good weeks now since I cannot update anymore the plugin. I get a fatal error login stating the following:
An error occurred while updating Download Manager: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
This is a paid version of the plugin.
I have opened the ticket before, but it seemed to have disappeared.
I have recently realised that the web server logs have a lot of these entries I have replaced the domain name:
[Mon Nov 30 19:17:40.422621 2020] [php7:error] [pid 30067] [client 54.187.216.72:48650] PHP Fatal error: Uncaught Stripe\\Exception\\SignatureVerificationException: No signatures found matching the expected signature for payload in /var/www/domain.com/www/wp-content/plugins/wpdmpp-stripe/libs/vendor/stripe/stripe-php/lib/Exception/SignatureVerificationException.php:28\nStack trace:\n#0 /var/www/domain.com/www/wp-content/plugins/wpdmpp-stripe/libs/vendor/stripe/stripe-php/lib/WebhookSignature.php(59): Stripe\\Exception\\SignatureVerificationException::factory(‘No signatures f…’, ‘{\\n “created”: …’, ‘t=1606763860,v1…’)\n#1 /var/www/domain.com/www/wp-content/plugins/wpdmpp-stripe/libs/vendor/stripe/stripe-php/lib/Webhook.php(29): Stripe\\WebhookSignature::verifyHeader(‘{\\n “created”: …’, ‘t=1606763860,v1…’, ‘whsec_Zp16sdMwd…’, 300)\n#2 /var/www/domain.com/www/wp-content/plugins/wpdmpp-stripe/wpdmpp-stripe.php(366): Stripe\\Webhook::constructEvent(‘{\\n “created”: …’, ‘t=1606763860,v1…’, ‘whsec_Zp16sdMwd…’)\n#3 /var/www/domain.com/www/wp-includes/class-wp-hook.php(287): WPDMPP\\Libs\\Payme in /var/www/domain.com/www/wp-content/plugins/wpdmpp-stripe/libs/vendor/stripe/stripe-php/lib/Exception/SignatureVerificationException.php on line 28
These seem to be being caused by webhook calls from Stripe, I have the latest Download Manager Pro, Premium Packages and Download manager Stripe plugins installed. So webhook calls are causing an http 500 error due to a PHP error.
I have tried deleting and recreating the webhook in Stripe, I tried removing the webhook in Stripe and letting the Download Manager Stripe plugin create it for me as it is supposed to in the latest version, it did not create a webhook in Stripe for me.
Any ideas what is causing this, I do not know how long it has been happening as I was looking at something else and noticed all these log entries.
Hello, we purchased the PDF Stamper plugin a while ago, but it appears the WP Download Manager plugin (free) now keeps on giving us a critical error message when trying to access the list of all download files from within the plugin.
The website is hosted on WordPress.com platform (the paid one, not the free wordpress.com). Chatted with their support team and they came back with the following detail:
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 53534720 bytes) in /wordpress/drop-ins/object-cache.php online 165
I’ve queried of ways to increase the memory limit, but unfortunately, WordPress.com (paid) doesn’t allow us to do that. They gave me the following link to see if there is something that can be done with the plugin to resolve the error:
https://wordpress.com/support/php-environment/
Your assistance will be greatly appreciated.
Thanks
Thanks for the response, I was using the wpdm_search_results shortcode, so thanks for showing the correct one.
However, the site crashes when I attempt to use the tags shortcode:
Fatal error: Uncaught Error: Cannot unset string offsets
in “…/wp-content/plugins/download-manager/libs/class.ShortCodes.php on line 576”
I set the PHP memory limit to 1G. I then signed up again – going through the whole process as if I was a new customer. When I went to download the file (DS-719-1 under Software), it said to subscribe but I was already logged in. I logged out and logged in, same – button says must subscribe. Before it was access denied and now it continues to say subscribe to download. I am unable to download anything with the free plan set in the access.
I am getting a different PHP error now – see below. Please fix. BTW, I reviewed the PHP error log and the memory error that was listed was AFTER I went in there to do my testing on 10/29. Now after you were in there on 10/30, there is a memory error. Either way, I changed it to 1G and there should be no reason this isn’t working.
Also, the subscribed or sign up dates are all set for today which isn’t true. Some of these were from awhile ago. Why are the dates being changed to today’s date? I have done nothing to these sign ups so this date should not change from day to day. I see that someone else in the forum is having issues with this.
I don’t understand why this can’t get working and we are MONTHS into purchasing this!!! I even changed hosting companies to be able to control the memory limit so there shouldn’t be any other issues but there is.
My PHP error log says this now:
[03-Nov-2020 21:09:47 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wpdmpp_price_format() in /home/creeksi4/public_html/wp-content/plugins/wppromembership/src/Account/user-account.php:40
Stack trace:
#0 /home/creeksi4/public_html/wp-content/plugins/wppromembership/src/helper-functions.php(20): include()
#1 /home/creeksi4/public_html/wp-content/plugins/wppromembership/src/Account/AccountManager.php(136): wppm_render_template(‘/home/creeksi4/…’, Array, true)
#2 /home/creeksi4/public_html/wp-includes/class-wp-hook.php(287): WPDM\WPPM\Account\AccountManager->renderUserAccount(”)
#3 /home/creeksi4/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#4 /home/creeksi4/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /home/creeksi4/public_html/wp-admin/admin.php(259): do_action(‘wppm_plan_page_…’)
#6 /home/creeksi4/public_html/wp-admin/edit.php(10): require_once(‘/home/creeksi4/…’)
#7 {main}
thrown in /home/creeksi4/public_html/wp-content/plugins/wppromembership/src/Account/user-account.php on line 40
-
This reply was modified 4 years, 6 months ago by
Bobby Hayes.
I have checked that there is causing Fatal error: Allowed memory size in your PHP log error,
I think this is causing for PHP memory setting
Fixing the Error there are a couple of ways on how to go about resolving this error. These include:
1.Editing the wp-config.php
file
2.Editing the php.ini
file
3.Editing the .htaccess
file
1.Editing the wp-config.php
file
Here you will need to edit thewp-config.php
file.
define( 'WP_MEMORY_LIMIT', '1024M' );
2.Editing the php.ini
file
On a live install, the file can be accessed within the root of your install, that is within the /public_html/ folder. Note that the file is not installed by WordPress but in most cases set up by your host. If you are using CPanel as your control panel, for example, make sure the checkbox for “Show Hidden Files” is checked and then click Go. You may check into this article on how to go about editing the file. Before editing the file, kindly preserve a backup to it by downloading it to your computer.
Once this is done, open the file, add or edit the following line:
memory_limit 512M
3.Editing the .htaccess
file
The .htaccess
file is a file located within the root of your WordPress files.
You will need to add or edit the following code to the bottom of the file:
php_value memory_limit 256M
With this done, you can then save your changes and check if the error is resolved.
Thanks
Hi I;m getting error messages when trying to add custom fields..
Saying the WPDM\Form::radiobutton() / WPDM\Form::checkbox() functions are not found…
Fatal error: Uncaught Error: Call to undefined method WPDM\Form::radiobutton() in /srv/www/wordpress-one/public_html/wp-content/plugins/download-manager/libs/class.Form.php:62 Stack trace: #0 /srv/www/wordpress-one/public_html/wp-content/plugins/download-manager/libs/class.Form.php(189): WPDM\Form->formGroup(‘wpdm_cregf_GDPR…’, Array) #1 /srv/www/wordpress-one/public_html/wp-content/plugins/download-manager/libs/class.User.php(88): WPDM\Form->render() #2 /srv/www/wordpress-one/public_html/wp-content/plugins/download-manager/tpls/wpdm-reg-form.php(33): WPDM\libs\User::signupForm(Array) #3 /srv/www/wordpress-one/public_html/wp-content/plugins/download-manager/libs/class.ShortCodes.php(265): include(‘/srv/www/wordpr…’) #4 /srv/www/wordpress-one/public_html/wp-includes/shortcodes.php(343): WPDM\ShortCodes->registerForm(Array, ”, ‘wpdm_reg_form’) #5 [internal function]: do_shortcode_tag(Array) #6 /srv/www/wordpress-one/public_html/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(wpdm_r…’, ‘do_shortcode in /srv/www/wordpress-one/public_html/wp-content/plugins/download-manager/libs/class.Form.php on line 62