It might have been a plugin issue – I uninstalled a couple ones I didn’t need anymore and it’s fine now. However, the search results page still shows all pages in the left sidebar. Does anyone know how to fix this?
On this page, for example, the left sidebar fully expands:
On this one, however, everything is fine: