Same here. Had run into an editing issue in /libraries/cms/application/site.php
Found:
forum.joomla.org/viewtopic.php?f=709&t=825504
and changed $lang_code = $this->getLanguage()->getTag();
to $lang_code = JFactory::getLanguage()->getTag();
to get rid of a fatal error.
That worked (I think) until just upgraded the JoomSEF to 4.6.4.
Now getting that fatal error: Fatal error: Using $this when not in object context in /components/com_sef/joomsef.php on line 644
It seems to go away if you disable Auto Update URLs as mentioned in the forum thread. But that isn't necessarily good. Help?