Uncaught TypeError: can't access property "contentWindow", $(...)[0] is undefined


We are not able to view shared folders for some strange reason all of a sudden. We have upgrade to nextcloud 17.07 from 12.x. PHP 7.2.

Uncaught (in promise) TypeError: can’t access property “length”, response.propStat is undefined in client.js

on viewing a shared folder


Uncaught TypeError: can’t access property “contentWindow”, $(…)[0] is undefined in main.js

On viewing the files overview.

Config looks good and reports all is fine.

Any suggestions where I can start to debug this?