Since updating from version 1.2 to 1.2.1 of meta knight it appears as though the plugin has stopped working on single-language Kirby instances. Every frontend page starts throwing http 500 errors after the update.
The issue appears to be in meta_information.php:61 where you call $page->url($kirby->defaultLanguage()->code()). But since $kirby->defaultLanguage() is null on single-language Kirby instances, you're just generating a non-recoverable error here.
Here's the full log of errors I'm getting on one of my Kirby instances with 1.2.1 of meta-knight
Since updating from version 1.2 to 1.2.1 of meta knight it appears as though the plugin has stopped working on single-language Kirby instances. Every frontend page starts throwing http 500 errors after the update.
The issue appears to be in meta_information.php:61 where you call
$page->url($kirby->defaultLanguage()->code())
. But since$kirby->defaultLanguage()
isnull
on single-language Kirby instances, you're just generating a non-recoverable error here.Here's the full log of errors I'm getting on one of my Kirby instances with 1.2.1 of meta-knight