# Upgrade naar discourse versie 2.8.0.beta7 & beta8 veroorzaakt gegevensverlies van scripts in de \</head\>-sectie die meestal niet in de browser zijn geladen

**URL:** <https://meta.discourse.org/t/upgraded-to-discourse-version-2-8-0-beta7-beta8-causing-data-loss-of-head-section-scripts-that-hasnt-been-loaded-most-times-in-browser/210871>\
**Category:** Product Support\
**Created:** [2 december 2021 om 11:12 UTC](https://meta.discourse.org/t/upgraded-to-discourse-version-2-8-0-beta7-beta8-causing-data-loss-of-head-section-scripts-that-hasnt-been-loaded-most-times-in-browser/210871 "2021-12-02T11:12:57Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![narayanan](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@narayanan](https://meta.discourse.org/u/narayanan)\
**Post date:** [2 december 2021 om 11:12 UTC](https://meta.discourse.org/t/upgraded-to-discourse-version-2-8-0-beta7-beta8-causing-data-loss-of-head-section-scripts-that-hasnt-been-loaded-most-times-in-browser/210871/1 "2021-12-02T11:12:57Z")

</div>

Hi,

After upgraded to discourse 2.8.0.beta7 & beta8 versions, below issue was occurred,

- I have written some javascript in theme component `</head>` (or) `Head` section which will work when discourse events getting triggered like OnAppEvent, DecorateWidget & OnPageChange. But the scripts written in `</head>` section wasn’t loaded in the browser sometimes. Header and After Header sections are loading well across the site. I found the `</head>` section script file was missing in browser source by seeing the below image,

 ![Javascript_NotLoadingIssue](https://global.discourse-cdn.com/meta/original/3X/a/b/aba90f78425b29c988b1cb08db61a957668a1fc5.png)

**Can someone confirm this issue occurred by upgrading the discourse version into 2.8.0.beta7 & beta8 or not ?**

---

_[View the full topic](https://meta.discourse.org/t/upgraded-to-discourse-version-2-8-0-beta7-beta8-causing-data-loss-of-head-section-scripts-that-hasnt-been-loaded-most-times-in-browser/210871)._
