It seems that your theme is attempting to support Polylang and / or WPML but something goes wrong.
It is possible that the theme author expects that you use the option "add the language code to all urls" in Polylang settings. Did you test this?
Have you a file called wpml-config.xml in your theme directory?