I use the Uniform plugin AJAX style on a multi-language site. It all works fine when I visit the default language (English) version of the site. But when I switch to the second language (Swedish) the page breaks. Looks like something doesn’t work when the page try to echo the token. If I delete this line from the form:
<input type="hidden" name="_submit" value="<?php echo uniform('contact-form')->token() ?>">
the page works but the form is broken, obviously.