Fatal error: Call to undefined method language::detect() in /class2.php on line 456