We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46208
    • 10 Posts
    Hi,

    I've just upgraded to 2.6.5, the front end seems to be fully functionnnal but I have Javascript issues in the manager (I've performed another site upgrade from 2.5.0 to 2.6.5 without seeing this issue).

    Issue 1, at page load, the "who's online" panel stay empty and I can see in the console :
    ext-all.js:21 Uncaught TypeError: Cannot read property 'dom' of null
        at MODx.grid.WhoIsOnline.onRender (ext-all.js:21)
        at MODx.grid.WhoIsOnline.onRender (ext-all.js:21)
        at MODx.grid.WhoIsOnline.onRender (ext-all.js:21)
        at MODx.grid.WhoIsOnline.render (ext-all.js:21)
        at MODx.grid.WhoIsOnline.Ext.Component [as constructor] (ext-all.js:21)
        at MODx.grid.WhoIsOnline.S [as constructor] (ext-base.js:21)
        at MODx.grid.WhoIsOnline.S [as constructor] (ext-base.js:21)
        at MODx.grid.WhoIsOnline.S [as constructor] (ext-base.js:21)
        at MODx.grid.WhoIsOnline.S [as constructor] (ext-base.js:21)
        at MODx.grid.WhoIsOnline.S [as constructor] (ext-base.js:21)
    


    Issue 2, when clicking on some "Manage" submenu (ie "clear cache", I have the following in the console :
    Uncaught SyntaxError: Invalid regular expression: missing /
    


    And noticed strange links when looking at the source :
    <a onclick="{literal} MODx.clearCache(); return false;{/literal} ">Clear Cache<span class="description">Delete Cache files in all Contexts</span>
    </a>
    


    I've cleared the browser cache and tried with several browsers without success.

    Any hint ?

    This question has been answered by sylbal. See the first response.

    [ed. note: sylbal last edited this post 5 years, 8 months ago.]
    • discuss.answer
      • 46208
      • 10 Posts
      Hi all,

      Sorry for this dupe post, I've found a previous post related to this issue (https://forums.modx.com/thread/103122/upgrade-form-2-5-8-to-2-6-0-manager-menu?page=2#dis-post-556271) and this was due to custom manager template.

      Everything fine now