Error when downloading

Viewing 3 posts - 1 through 3 (of 3 total)
#146505

Jekela
Participant

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

#146641

Nayeem Riddhi
Moderator

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

#146651

Jekela
Participant

Thanks for your answer. It works for now. But this should not be necessary, it wasn’t a problem before and I didn’t change anything when the error happened. My downloads are mostly small files. So it seems to be some problem in the plugin itself. I hope this will get fixed in a following version.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Error when downloading’ is closed to new replies.