Undefined index: scheme ...if you activate the seo url feature from store settings (Server tab). However the solution is easy.
Open the file catalog/controller/common/seo_url.php and go to the line 110 (or the line number given in error you see for seo_url.php file ifdifferent than 110) change the line:
return $url_data['scheme'] . '://' . $url_data['host'] . (isset($url_data['port']) ? ':' . $url_data['port'] : '') . str_replace('/index.php', '', $url_data['path']) . $url . $query;
with this:
return (isset($url_data['scheme'])?$url_data['scheme']:'http') . '://' . (isset($url_data['host'])?$url_data['host']:$_SERVER['HTTP_HOST']) . (isset($url_data['port']) ? ':' . $url_data['port'] : '') . str_replace('/index.php', '', $url_data['path']) . $url . $query;
After this change save the file and you shouln't see the error again and the seo urls should be working.