Manager stopped working / Can't login

I don’t really know how this happend, I was just editing sites and tweaking Content Blocks contents when suddenly my whole manager stopped working.

I could get to the Dashboard still, but the left resource, elements and files part is missing and I can’t click on anything in the navigation menu.

The developer console shows a bunch of errors which seem to be related to Ext JS:

Show Console Errors
Uncaught SyntaxError: expected expression, got '<' 
  lang.js.php:1:1

Uncaught SyntaxError: expected expression, got '<'
  modx.config.js.php:1:1

Uncaught ReferenceError: _ is not defined
<anonymous> http://localhost:8888/manager/assets/modext/modx.jsgrps-min.js?mv=304pl:19
  modx.jsgrps-min.js:19:62810

Uncaught TypeError: MODx.Layout is undefined
<anonymous> http://localhost:8888/manager/templates/default/js/layout.js?mv=304pl:1
  layout.js:1:1

Uncaught TypeError: P is undefined
extend http://localhost:8888/manager/assets/ext3/adapter/ext/ext-base.js:21
<anonymous> http://localhost:8888/assets/components/imageplus/js/mgr/imageplus.min.js?v=v2.9.4&mv=304pl:6
  ext-base.js:21:2381

window.controllers/Controllers is deprecated. Do not use it for UA detection. ace.min.js:1:18511
Uncaught TypeError: P is undefined
extend http://localhost:8888/manager/assets/ext3/adapter/ext/ext-base.js:21
<anonymous> http://localhost:8888/manager/assets/modext/widgets/system/modx.panel.dashboard.js?mv=304pl:145
  ext-base.js:21:2381

Uncaught TypeError: P is undefined
extend http://localhost:8888/manager/assets/ext3/adapter/ext/ext-base.js:21
<anonymous> http://localhost:8888/manager/assets/modext/widgets/system/modx.panel.dashboard.widget.js?mv=304pl:286
  ext-base.js:21:2381

Uncaught TypeError: P is undefined
extend http://localhost:8888/manager/assets/ext3/adapter/ext/ext-base.js:21
<anonymous> http://localhost:8888/manager/assets/modext/widgets/modx.panel.welcome.js?mv=304pl:54
  ext-base.js:21:2381

Uncaught TypeError: P is undefined
extend http://localhost:8888/manager/assets/ext3/adapter/ext/ext-base.js:21
<anonymous> http://localhost:8888/manager/assets/modext/sections/welcome.js?mv=304pl:19
  ext-base.js:21:2381

Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead
  jquery.js:3429:51

Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. modernizr.custom.js:4:2076

Uncaught ReferenceError: _ is not defined
<anonymous> http://localhost:8888/manager/assets/modext/modx.jsgrps-min.js?mv=304pl:19
ExtJS 2
  modx.jsgrps-min.js:19:81

Uncaught TypeError: i[(intermediate value)] is not a constructor
create ExtJS
load http://localhost:8888/manager/assets/modext/core/modx.js?mv=0e6a0be7:86
<anonymous> http://localhost:8888/manager/?:26
ExtJS 2
  ext-all.js:21:125217

Uncaught TypeError: i[(intermediate value)] is not a constructor
create ExtJS
load http://localhost:8888/manager/assets/modext/core/modx.js?mv=0e6a0be7:86
<anonymous> http://localhost:8888/manager/?:115
ExtJS 2
  ext-all.js:21:125217

When I open the manager in a private window I get this error:

Fatal error: Uncaught TypeError: array_merge(): 
  Argument #2 must be of type array, int given in /core/src/Revolution/modLexicon.php:242 
  Stack trace: 
    #0 /core/src/Revolution/modLexicon.php(242): array_merge(Array, 1) 
    #1 /core/src/Revolution/modManagerRequest.php(113): MODX\Revolution\modLexicon->load('core:default') 
    #2 /core/src/Revolution/modManagerRequest.php(61): MODX\Revolution\modManagerRequest->initialize() 
    #3 /core/src/Revolution/modX.php(1518): MODX\Revolution\modManagerRequest->__construct(Object(MODX\Revolution\modX)) 
    #4 /manager/index.php(56): MODX\Revolution\modX->getRequest() 
    #5 {main} thrown in /core/src/Revolution/modLexicon.php on line 242

This is a local install using MODX 3.0.4

Any help is appreciated!

1 Like

Actually it seems like a manual delete of the cache folder did the trick for now. I will try to observe what caused this…

2 Likes

This worked for me, thank you so much for this solution. Happy to login again.

1 Like