As workaround you can disable the compress option (see
https://www.dokuwiki.org/config:compress). Most probably you have some plugin installed that creates javascript that isn't compatible with the compression. Can you try disabling all plugins that aren't bundled with DokuWiki?