I've moved my joomla site from subdomain to main domain and from then I cannot login to my admin panel. The following error message given:
Fatal error: Call to a member function isAdmin() on a non-object in /home/x11igato/public_html/stage.navigator/plugins/authentication/cookie/cookie.php on line 57
I've wrote this lines in cookie.php, but with this, stil cannot login. Error message:
Warning Username and password do not match or you do not have an account yet.
Although my username and password is ok and exists in DB
public function __construct(& $subject, $config = array()) {
$this->app = JFactory::getApplication();
$this->db = JFactory::getDBO();;
}
PS. After more reseach I've found that in table #_extension, plugin "remember" was set to 0, I've changed it to 1. Still no success with login, error shown:
Fatal error: Call to a member function isAdmin() on a non-object in /home/x11igato/public_html/plugins/system/remember/remember.php on line 42
FYI in configuration.php the "live_site" variable is equal with an empty string.