Hello
I have noticed the error messages below in the error_log file from the backend. I wondered if you could help me shed some light on what may be the issue?
Also does anyone know what Pomo/streams.php files are?
Really appreciate your help
Isabel
[15-Jan-2021 03:23:15 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 8192 bytes) in /home/nptaorg/public_html/wp-content/plugins/download-manager/wpdm-functions.php on line 2237
[15-Jan-2021 03:23:15 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 28672 bytes) in /home/nptaorg/public_html/wp-includes/pomo/streams.php on line 173
[15-Jan-2021 03:23:17 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 8192 bytes) in /home/nptaorg/public_html/wp-content/plugins/download-manager/wpdm-functions.php on line 2237
[15-Jan-2021 03:23:17 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 28672 bytes) in /home/nptaorg/public_html/wp-includes/pomo/streams.php on line 173
Which version of PHP, WordPress and WPDM you are using, please let me know
thanks
Hi
I am using
php – version 7.3.26
Wordpress – version 5.6
WPDM – 5.1.20
Many thanks
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
Thank you so much for you help. I only had to make a change to wp-config.php file following your recommendations, following which there has been no errors logged into the error_log document today! So I am hoping that’s this issue solved. Thank you very much again. (The php.ini file already had a memory_limit of 512M, and the .htaccess file also showed memory_limit of 512M in two locations: (1) under ‘php7_module’and (2) under ‘lsapi_module’.)
I would like to ask you for some advice on the updates on the version used. At present, I am running with version 5.1.2, which was activated on 10th August 2020. When this was done, it changed the name of ‘download-manager’ file in public_html/wp-content/plugins/ to ‘5f310ee025160-jlKtWQ’. This seems to have stopped all updates notification on WP dashboard during all that time, and I only realised what had happened on 10Aug 2020 recently, hence corrected the file name back to ‘download-manager’. Should I now update to version 5.3.3? I just have concerns that it breaks the functionality of the plugin front-end or even on WP dashboard, as it says that the compatibility of version 5.3.3 with WordPress 5.6 is unknown. Thank you very much in advance for any advice you can provide?
Many thanks
Isabel
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
please check the doc here, https://www.wpdownloadmanager.com/doc/settings/license/ for your license key option
thanks
Hi
Many thanks for the link.
Does the free version of Download Manager require a licence key? And is the licence key required to run an update?
Many thanks
Yes, licence key required to run an update for the PRO plugin, let me know, how can I further help you
thanks
All sorted, thank you very much for your help on this occasion. Great service.
Thank you. we are always here for giving you services. If you like our services, if you have free time, please give us a 5* here, https://wordpress.org/support/plugin/download-manager/reviews/, we will be very encouraged in our work.
Thanks.
The topic ‘Error Messages related to download-manager’ is closed to new replies.