For while page error, it is showing Fatal error : Allowed memory size of 268435456 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 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
This reply has been marked as private.
Hello,
I have already installed basic pro version of the plugin Download Manager Pro v5.3.
Right now it is updated to version 5.3.5
And I have just bought your add-on WPDM Directory Add-on.
While trying to activate it from plugins page, it gives me an error :
Warning: require_once(src/init.php): failed to open stream: No such file or directory in
/public_html/assets/plugins/wpdm-archive-page/wpdm-archive-page.php on line 61
Fatal error: require_once(): Failed opening required ‘src/init.php’ (include_path=’.:/usr/local/php74/lib/php’) in /public_html/assets/plugins/wpdm-archive-page/wpdm-archive-page.php on line 61
How can I make it work?
Best regards
Thierry
I’m using a custom form with custom fields for my registration form using Quick forms, but I got 3 problems with it:
First fatal error:
Fatal error: Uncaught Error: Method name must be a string in /home/xxxx/www/yyyy/public_html/wp-content/plugins/download-manager/libs/class.Form.php:62
There seems to be an empty field somewhere in the custom form (field type is NULL, which is throwing the error).
Fixed it myself for now using:
add_filter('wpdm_reg_form_fields', function($fields) {
foreach ($fields AS $field_key ► $field_val) {
if (!isset($field_val['type']) || empty($field_val['type'])) {
unset($fields[$field_key]);
}
}
return $fields;
});
=====
Second fatal error:
Radio button type is not working:
Fatal error: Uncaught Error: Call to undefined method WPDM\Form::radiobutton() in /home/xxxx/www/yyy/public_html/wp-content/plugins/download-manager/libs/class.Form.php:62
======
Third error:
Using the ‘select’ field type, the choices textarea is not showing up in the backend, only when I select ‘checkbox’ first and switching back to ‘select’. Filling in the ‘select’ choices/options is not passing the options to the select field though, it stays empty in the frontend.
Fixed it myself for now using:
add_filter('wpdm_reg_form_fields', function($fields) {
$fields['wpdm_cregf_Userregistration__customfield_']['attrs']['options'] = [
'Option 1' ► 'Option 1',
'Option 2' ► 'Option 2',
];
return $fields;
});
This reply has been marked as private.
Done however, it took many tries and would just hang.
I continue to get errors such as below.. Does 5.3.4 resolve this issue or can I roll back safely to an earlier version?
[14-Feb-2021 16:22:24 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 60270864 bytes) in D:\sites\www-xxxxxxx\public_html\wp-includes\wp-db.php on line 2022
[14-Feb-2021 16:22:38 UTC] WordPress database error Lock wait timeout exceeded; try restarting transaction for query UPDATE ffwp_postmeta SET meta_value = ‘5611’ WHERE post_id = 10168 AND meta_key = ‘__wpdm_download_count’ made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WPDM\libs\Apply->triggerDownload, include(‘/plugins/download-manager/wpdm-start-download.php’), WPDM\libs\DownloadStats->add, update_post_meta, update_metadata
[
For while page error, it is showing Fatal error : Allowed memory size of 268435456 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 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
I was checking the error,
This message is showing from your wp-admin/dashboard
Error logging is disabled.
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_DEBUGoption 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:
/html/wordpress/
See also: Editing wp-config.php , 3 Ways To Monitor PHP Errors
please check
thanks
I regularly get this error when downloading something from my website, though not always. Only once in a while. After an error, when I try a second time, it’s okay. It happens with any type of document.
I switched to version 1.3.12 but the error still exists.
Notice: A non well formed numeric value encountered in /public_html/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 50
Warning: Illegal string offset ‘602571e7b0fc5’ in /public_html/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 50
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6025710000032 bytes) in /public_html/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 50
While editing pages, it is showing
There was a critical bug on your website. Please check your website administrator email address for further instructions.
In wp-admin/dashboard, in the widget, it is showing,
Error logging is disabled.
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_DEBUGoption 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:
/homepages/44/d23395939/htdocs/clickandbuilds/YupikPressebereich/
See also: Editing wp-config.php , 3 Ways To Monitor PHP Errors
please check
thanks
Thank you for looking at it, but sorry to say, I still get 503
Just tried to look at ‘all packages’ and got:
503 Service Unavailable
The website is temporarily unable to service your request. Please try again later.
If you are the owner of the website:
Most likely the resource limits of the hosting package has been exceeded or a fatal code execution error has occured. Review logs and optimize your code execution.
You can find a full overview of your resource usage in our Controlpanel.
YCOfX2vNxZMJzQ6DmkUPagAAAFY – udskrevet.dk – 193.104.202.2
Hello ,
In french,
Je rencontre beaucoup d’erreur avec wpdownload manager pro
[09-Feb-2021 13:04:49 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 60228560 bytes) in %PATH-WEBSITE%/wp-includes/wp-db.php on line 2022
[09-Feb-2021 13:08:02 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 60218504 bytes) in %PATH-WEBSITE%/wp-includes/wp-db.php on line 2056
par exemple, je n’ai pas accès à la page des téléchargement via /wp-admin/edit.php?post_type=wpdmpro
j’obtiens le message :
Une erreur critique est survenue sur ce site. Veuillez consulter la boite de réception de l’e-mail d’administration de votre site pour plus d’informations.
j’ai modifié les valeurs mémoire comme expliqué ici : https://www.wpdownloadmanager.com/support/topic/problem-with-statistics-and-db/#post-146257
Le site est sous PHP 7.4 , table InnoDB
Comment résoudre le problème ?
This is the error that put the site out of memory:
[Mon Feb 08 10:02:59.878158 2021] [proxy_fcgi:error] [pid 5302:tid 139909901481728] [client 185.100.111.24:59318] AH01071: Got error ‘PHP message: PHP Warning: mysqli_query(): MySQL server has gone away in /home/219515.cloudwaysapps.com/efuqhbjwmc/public_html/wp-includes/wp-db.php on line 2056PHP message: PHP Warning: mysqli_query(): Error reading result set’s header in /home/219515.cloudwaysapps.com/efuqhbjwmc/public_html/wp-includes/wp-db.php on line 2056PHP message: PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 60199448 bytes) in /home/219515.cloudwaysapps.com/efuqhbjwmc/public_html/wp-includes/wp-db.php on line 2056’
The site has a huge memory limit: 2048 Mb
The problem is in the way the plugin store statistics.
The statistics were reset 10 days ago and the SQL DB BEFORE the statistics reset was 4.8Gb.
After resetting the statistics the DB becomes 51Mb and the site returned to work.
How can we do to block the statistics?
They would be useful but we cannot have to reset them every 10 days. Thanks for your help.
Updated first to free WPDM, now Premium WPDM, samme error: cannot acces download files either in backend or by download.
Error is:
503 Service Unavailable
The website is temporarily unable to service your request. Please try again later.
If you are the owner of the website:
Most likely the resource limits of the hosting package has been exceeded or a fatal code execution error has occured. Review logs and optimize your code execution.
You can find a full overview of your resource usage in our Controlpanel.
YB2vyOV53anx6lflhlVr-gAAACU – udskrevet.dk – 85.80.232.47
Any ideas about what to do?
Site is http://udskrevet.dk/
I can give all credentials, if necessary
The site is monitored by Sucuri
Cheers
Klavs
For now, you can continue this way, otherwise, this is giving a fatal error PHP Fatal error: Allowed memory size of 536870912 bytes exhausted you can check the Allowed memory size exhausted solution
thanks
Hi, when I try to open “All Packages” page I got an error (I had to enable debug mode to see it):
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 60173072 bytes) in /home/electrocelos/public_html/motorline.pt/wp-includes/wp-db.php on line 2056
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about debugging in WordPress.
WordPress database error: [Commands out of sync; you can't run this command now]
SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'wp_yoast_notifications' AND user_id = 9
WordPress database error: [Commands out of sync; you can't run this command now]
SHOW FULL COLUMNS FROM <code>wp_usermeta</code>
What is wrong?
-
This topic was modified 5 years, 7 months ago by
Rafael Viana.
This reply has been marked as private.
This reply has been marked as private.
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
Hi,
When I try to go to the ‘all packages’ page I get a critical error:
“There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about debugging in WordPress”
I found this thread in the support forum and have worked through it. I was getting a memory error, and have edited the wp-config.php file
to include: define( 'WP_MEMORY_LIMIT', '1024M' );.
I am still getting two errors, the same two I was getting before adding the memory limit:
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 6010704 bytes) in /***/***/public_html/wp-includes/wp-db.php on line 2022
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘ds_ct_enqueue_parent’ not found or invalid function name in /***/***/public_html/wp-includes/class-wp-hook.php on line 287
So it seems the memory limit is still an issue, and I’m not sure what the problem with the other error is. Can anyone help?
Thanks,
Emma
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.