[+BUGFIX] Fixed call on a non-object in Theme locator