Page 1 of 1

V2.2.12 Content Manager 'blank' (REDUX) + side menus fail

Posted: Thu Oct 10, 2019 9:20 pm
by Lew
Original post locked, so adding new topic with more information and another solution method.

Had same 2.2.12 behavior: Content Manager blank, admin sidebar menus wouldn't open, etc.

Was using Chrome, so hit PF12 to bring up Chrome DevTools ... refreshing the admin page it hit a Javascript error (I think in "standard.js") saying "$.cookie is not a function".

Researching that error on StackOverflow suggested that it is because the JQuery cookie plugin was not being loaded, and/or JQuery was getting loaded a second time which would lose all the previously loaded plugins.

On a hunch, went to DevTools Network tab, and discovered that if I checked the "Disable cache" setting at the top (just below the tabs), then went back to the admin browser page and hit Refresh, suddenly all the functions worked as expected. Going back to the Network tab and unchecking "Disable cache" again, then refreshing the admin page still worked.

Further research suggested that the browser was using an old cached version of "standard.js" that is part of the OneEleven theme - the new version seem to no longer even have the call to $.cookie that was failing.

As the original poster found (by turning Javascript on and off -- which presumably cleared its cache?) it seems to be a Javascript caching problem.

Re: V2.2.12 Content Manager 'blank' (REDUX) + side menus fai

Posted: Thu Oct 10, 2019 9:45 pm
by DIGI3
You can usually clear old scripts from your browser cache with a force refresh (ctrl-f5 on windows). I'm not sure there's any need for anything more elaborate.