Uncaught (in promise) TypeError

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smilovky
    Junior Member
    • Feb 2018
    • 12

    Uncaught (in promise) TypeError

    Hello,
    can you help me solve a problem with the crm?
    for years it works without problems but since 2 days it does not work anymore
    I searched the forum and I tested everything: empty costum folder, upload again from the latest version ... but still nothing
    can you help me please?



    Uncaught (in promise) TypeError: (this.getConfig(...).get(...) || []).forEach is not a function
    at child.setupGlobalSearch (eval at _execute (loader.js:94), <anonymous>:243:68)
    at child.setup (eval at _execute (loader.js:94), <anonymous>:231:18)
    at child.initialize (bull.js:276)
    at child.Backbone.View (backbone-min.js:1224)
    at child [as constructor] (backbone-min.js:1884)
    at child [as constructor] (backbone-min.js:1884)
    at new child (backbone-min.js:1884)
    at Bull.Factory.<anonymous> (bull.js:114)
    at Bull.Factory.<anonymous> (bull.js:98)
    at Espo.Loader.load (loader.js:292)
  • smilovky
    Junior Member
    • Feb 2018
    • 12

    #2
    what i noticed that only the admin account can not login (after authentication it displays empty page with the error in the consol)

    on the other hand a simple user (regular) connects
    made to change a regular by admin (in phpmyadmin) this account encounters the same problem

    there is a problem with the admin account and I do not know how to solve it

    Comment

    • Maximus
      Senior Member
      • Nov 2018
      • 2731

      #3
      Hello,
      >for years it works without problems but since 2 days it does not work anymore
      What is changed? Did you upgrade EspoCRM or something else? Provide more information about how this error occurred or what you had changed before it happened.
      Check the error log file in the data/logs directory.
      What the php and DB versions do you use?

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        Hi,

        I recommend checking data/config.php parameter globalSearchEntityList. It could be that for some reason the value is not an array.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        Working...