# Variable in error message not correctly shown

**URL:** <https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940>\
**Category:** ℹ️ Support\
**Created:** [August 1, 2017, 2:51pm UTC](https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940 "2017-08-01T14:51:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![borekon](https://help.nextcloud.com/user_avatar/help.nextcloud.com/borekon/32/3201_2.png) [@borekon](https://help.nextcloud.com/u/borekon)\
**Post date:** [August 1, 2017, 2:51pm UTC](https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940/1 "2017-08-01T14:51:09Z")

</div>

I have a similar problem, but it’s on the sido of the nextcloud code i think, because the message that appears in the administration sections says "_The “Strict-Transport-Security” HTTP header is not configured to at least “ **{seconds}** ” seconds. For enhanced security we recommend enabling HSTS as described in our security tips._  
Notice the word in bold. It should be a number. Anyway, did all security scans and the header is set correctly.  
I think it could be a bug.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [August 1, 2017, 8:20pm UTC](https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940/2 "2017-08-01T20:20:33Z")

</div>

Different problem -\> different topic.

Which version are you using? Which webserver?

---

<div class="post-metadata">

**Author:** ![borekon](https://help.nextcloud.com/user_avatar/help.nextcloud.com/borekon/32/3201_2.png) [@borekon](https://help.nextcloud.com/u/borekon)\
**Post date:** [August 7, 2017, 8:59pm UTC](https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940/3 "2017-08-07T20:59:35Z")

</div>

I thought it was the same problem.  
Nextcloud 11.0.3 with apache 2.2.22 on debian with ispconfig

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [August 8, 2017, 11:25am UTC](https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940/4 "2017-08-08T11:25:50Z")

</div>

This week, 11.0.4 was released, if you still have this problem, please report this to:

> **[nextcloud/server](https://github.com/nextcloud/server/issues)**
>
> ☁️ Nextcloud server, a safe home for all your data

---

<div class="post-metadata">

**Author:** ![borekon](https://help.nextcloud.com/user_avatar/help.nextcloud.com/borekon/32/3201_2.png) [@borekon](https://help.nextcloud.com/u/borekon)\
**Post date:** [August 9, 2017, 7:37pm UTC](https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940/5 "2017-08-09T19:37:57Z")

</div>

Updated to 12.0.1 and the same happens. I wonder if it happens to anyone else.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [August 9, 2017, 7:43pm UTC](https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940/6 "2017-08-09T19:43:18Z")

</div>

> [@borekon](#):
>
> I wonder if it happens to anyone else.

Hard to say, once you set the header correctly you won’t see this message again.

---

<div class="post-metadata">

**Author:** ![borekon](https://help.nextcloud.com/user_avatar/help.nextcloud.com/borekon/32/3201_2.png) [@borekon](https://help.nextcloud.com/u/borekon)\
**Post date:** [September 2, 2017, 7:24am UTC](https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940/7 "2017-09-02T07:24:40Z")

</div>

Obviously, the header was already set.  
I found the problem.  
It was in the es.js file translation to spanish. Someone translated the variable name to spanish (segundos) but it should stay in english (seconds).

I made a pull request.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 2, 2024, 2:26pm UTC](https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940/8 "2024-12-02T14:26:46Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 1:43pm UTC](https://help.nextcloud.com/t/variable-in-error-message-not-correctly-shown/18940/9 "2024-12-04T13:43:06Z")

</div>


