We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 54437
    • 2 Posts
    After upgrading to Modx 2.6.5. I'm getting the following error in Manager when clicking the search button.

    (index):178 Uncaught TypeError: Ext.getCmp(...).toggle is not a function
        at HTMLAnchorElement.onclick ((index):178)


    onclick="Ext.getCmp('modx-uberbar').toggle()


    However
    Ext.getCmp('modx-uberbar')
    does not have a toggle function.

    I assume this relates to ext-all.js which is version Ext JS 3.4

    Also Modx news and Security feed is not loading on Manager Dash; no errors displayed or via inspector.

    I do not use custom manager templates.
    I've flushed cache from manager link and by manually deleting.
    I've re-installed numerous time.

    Stumped. All help/suggestions greatly appreciated.

    Regards,
    Michael

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

    • discuss.answer
      • 54437
      • 2 Posts
      Fixed it by turning on js/css compression.

      Goto system settings > search by key > "compress"
      Use Compressed CSS = Yes
      Use Compressed JavaScript Libraries = Yes
        • 3749
        • 24,544 Posts
        If you can get to the System Settings, put 'feed' in the search box at the upper right. Make sure the two feed URLs are https, not http. If you can't get there, they are in the modx_system_settings table in the DB: feed_modx_news, feed_modx_security.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting