title: Move working Joomla 2.5 site from subdomain to root now 500 errors at logout
body: <p>I created a Working Joomla 2.5 website in a sub domain.  When I moved the site to the root and out of the sub domain folder I get the following error when I log out. Fatal error: Call to a member function init() on a non-object in /directory/templates/rt_clarion/error.php on line 20</p>
  
  <p>The build works fine in the sub domain but not in the root.  I've tried the stock Joomla Templates and I still get an error at logout.  I tried disabling the Joomla SEF, nothing. Anyone have any ideas what might be?</p>
  
  <p>The site was moved by using akeeba backup and restoring it in the root directory.</p>
  
  <p>I'm using Joomla 2.5.4, K2 v2.5.7, Rockettheme Template Clarion v1.2.  Again the build works flawlessly in the subdomain.</p>