hey all, kinda surprised this hasn’t come up but I did a fresh download and install of 2.1 earlier today and ended up with this in a rendered page on the admin, which basically broke any javascript and therefore made the CP unusable:
<h4>A PHP Error was encountered</h4>
<p>Severity: Notice<br />
Message: Undefined variable: global_js_mtime<br />
Filename: _shared/header.php<br />
Line Number: 37</p>
<p></div>There’s only one reference to global_js_mtime where it’s being used, but never set. I ended up just checking to see if it’s set and if not, using jquery_mtime, which was a variable also available in the same file:
themes/cp_themes/default/_shared/header.php
How’d this get through QA?