Hi there, i have Themeforest Visia installed as a theme and the plugin installs fine and operates fine on the site. But once i try to log out as admin i get a fatal error conflict with the themes WPML file.
Fatal error: Call to a member function get_active_languages() on a non-object in > PeThemeWPML.php on line 19
Line 19 is $this->_langs = $sitepress->get_active_languages();
public function langs() {
if ($this->_langs) {
return $this->_langs;
}
global $sitepress;
$this->_langs = $sitepress->get_active_languages();
return $this->_langs;
}
I can log out on the standard theme and of course once i delete the plugin from the ftp server everything works fine but i don't have the plugin.
Any tips would be great seeing i find the plugin great!