3.18.3 – PHP fatal error caused by a translation issue in the Danish language file
Describe the bug There is an error in the Danish translation of a sentence, it causes a PHP fatal error when updating the plugin for Danish users. I'm opening this issue for awareness.
This is the error:
Uncaught ValueError: Unknown format specifier "p" in /wp-content/plugins/wp-rocket/inc/Engine/License/views/upgrade-popin.php:22
@johan-las already fixed it in Transifex, and it should be ready to release in the next minor
To Reproduce Steps to reproduce the behavior:
- Update to 3.18.3 on the Danish language
- See the error
Additional context Slack thread 1: https://group-onecom.slack.com/archives/C08F4M3BBJL/p1743411765117629 Slack thread 2: https://group-onecom.slack.com/archives/C08F4M3BBJL/p1743723336713109
ticket 1: https://secure.helpscout.net/conversation/2891354421/549509 ticket 2: https://secure.helpscout.net/conversation/2897405162/550920
another case: https://secure.helpscout.net/conversation/2904095713/552678?viewId=2683093
Related: https://secure.helpscout.net/conversation/2918919570/556428
Forgot to mention this case 3 weeks ago: https://secure.helpscout.net/conversation/2895736270/550522
Related: https://secure.helpscout.net/conversation/2925340572/557830?viewId=8127840
Another: https://secure.helpscout.net/conversation/2935995591/560103/
related: https://secure.helpscout.net/conversation/2933058996/559524?viewId=7406897
Related: https://secure.helpscout.net/conversation/2937109412/560281?viewId=273766
https://secure.helpscout.net/conversation/2955786626/564255/