Hey Pal,
I tested a download locally and it always showed correctly download count. Are you using any custom template? Please share more details about your setup, the template you have selected in plugin settings, the shortcode used so we can try to replicate the issue.
Thread Starter
Pal
(@dis555)
Hi @hchouhan,
this is standard Card. Without any modifications.
I see this bug for a long time.
Updates come but this bug remains.
1 download ( in Russian language) screenshot:
https://prnt.sc/pm02aq
But this item has 6691 downloads:
https://prnt.sc/pm02n6
And after manual changing to 6692, work fine:
https://prnt.sc/pm02uq
Thread Starter
Pal
(@dis555)
The fact that this error is not visible on your local server or that no one wrote about it yet does not mean that it does not exist.
I showed screenshots – there is an error.
I myself have not written about this for 2 years.
I am using a clean WP installation with Avada theme and W3 Total Cache plugin.
There are no modifications.
But in code visible this 1 download:
<?php printf( _n( '1 download', '%d downloads', $dlm_download->get_download_count(), 'download-monitor' ), $dlm_download->get_download_count() ) ?>
I don’t know why ‘1 download’ is used here.
But in some cases, as in mine … instead of the actual number of downloads, this code writes ‘1 download’
Hello,
The “1 download” you see is text for translation making our plugin available for translation.
If you want to see a similar example, I would recommend checking https://developer.wordpress.org/reference/functions/comments_number/.
Thread Starter
Pal
(@dis555)
I don’t know why, the author of the plugin noted the topic Resolved.
But there is a problem.
If the language is not English, then the plugin has an error.
Another user with Same problem tried to write to this topic. But his message was deleted.
Hey @dis555,
I confirm this is an issue with non-English languages. I have created a ticket and my colleague will look into this soon.