Closed IvanMontillaM closed 3 years ago
Ah sorry about this. I just need to check for the existence of the langswitcher plugin. I’ll get a fix out ASAP.
I've just released a 2.1.1 with a fix..should be available soon.
Quick fix is to change lines 124-125 in typhoon.php:
$langswitcher = $this->grav['langswitcher'] ?? null;
if ($langswitcher && $language->enabled() && $this->config->get( 'theme.menu.langswitcher.enabled')) {
Dear @rhukster, thank you very much for the fix! Have a nice weekend! :-)
Good evening,
I updated Typhoon theme from v2.0.1 to v.2.1.0 and the website stopped working suddenly.
I didn't have
langswitcher
plugin previously installed as I just write in English and I don't bother with any other language. I installed it thinking this might resolve the issue, but it didn't. I installed it viabin/gpm install langswitcher
.I tried the following command
bin/gpm install typhoon
, overwrote accordingly and thenbin/grav clean && bin/grav cache
just in case and still this didn't solve.What I did was to comment out lines
125
through184
in./typhoon.php
and this did the trick, albeit I suspect this is not the cleanest hack.If you want to reproduce my build, I just used: Blog Skeleton
Body of the log:
List of plugins I have:
Keep it up with the great theme!