ErrorException [ Warning ]: Declaration of MX_Lang::load($langfile, $lang = '', $return = false, $add_suffix = true, $alt_path = '', $_module = '') should be compatible with CI_Lang::load($langfile = '', $idiom = '', $return = false, $add_suffix = true, $alt_path = '')

APPPATH/third_party/MX/Lang.php [ 38 ]

33  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
34  * THE SOFTWARE.
35  **/
36 class MX_Lang extends CI_Lang
37 {
38 	public function load($langfile, $lang = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '', $_module = '')	{
39 		
40 		if (is_array($langfile)) {
41 			foreach($langfile as $_lang) $this->load($_lang);
42 			return $this->language;
43 		}
  1. APPPATH/third_party/MX/Modules.php [ 119 ] » MY_Exceptions::error_handler()

  2. APPPATH/third_party/MX/Modules.php [ 119 ] » include_once()

  3. {PHP internal call} » Modules::autoload()

  4. APPPATH/core/MY_Lang.php [ 11 ] » spl_autoload_call()

  5. FCPATH/system/core/Common.php [ 159 ] » require(arguments)

  6. FCPATH/system/core/CodeIgniter.php [ 220 ] » load_class()

  7. FCPATH/index.php [ 217 ] » require_once(arguments)

Environment

ErrorException [ Warning ]: Cannot modify header information - headers already sent by (output started at /home/udscoth/domains/uds.co.th/public_html/thiptanaporn/application/core/MY_Exceptions.php:198)

FCPATH/system/core/Input.php [ 286 ]

281 		else
282 		{
283 			$expire = ($expire > 0) ? time() + $expire : 0;
284 		}
285 
286 		setcookie($prefix.$name, $value, $expire, $path, $domain, $secure);
287 	}
288 
289 	// --------------------------------------------------------------------
290 
291 	/**
  1. {PHP internal call} » MY_Exceptions::error_handler()

  2. FCPATH/system/core/Input.php [ 286 ] » setcookie()

  3. APPPATH/core/MY_Lang.php [ 113 ] » CI_Input->set_cookie()

  4. FCPATH/system/core/Common.php [ 174 ] » MY_Lang->__construct()

  5. FCPATH/system/core/CodeIgniter.php [ 220 ] » load_class()

  6. FCPATH/index.php [ 217 ] » require_once(arguments)

Environment

ErrorException [ Warning ]: Declaration of MX_Loader::helper($helper) should be compatible with CI_Loader::helper($helpers = Array)

APPPATH/third_party/MX/Loader.php [ 104 ]

 99 		
100 		return CI::$APP->db;
101 	}
102 
103 	/** Load a module helper **/
104 	public function helper($helper) {
105 		
106 		if (is_array($helper)) return $this->helpers($helper);
107 		
108 		if (isset($this->_ci_helpers[$helper]))	return;
109 
  1. APPPATH/core/MY_Loader.php [ 4 ] » MY_Exceptions::error_handler()

  2. APPPATH/core/MY_Loader.php [ 4 ] » require()

  3. FCPATH/system/core/Common.php [ 159 ] » require(arguments)

  4. FCPATH/system/core/Controller.php [ 49 ] » load_class()

  5. APPPATH/third_party/MX/Base.php [ 55 ] » CI_Controller->__construct()

  6. APPPATH/third_party/MX/Base.php [ 60 ] » CI->__construct()

  7. APPPATH/third_party/MX/Controller.php [ 4 ] » require(arguments)

  8. APPPATH/core/MY_Controller.php [ 4 ] » require(arguments)

  9. FCPATH/system/core/CodeIgniter.php [ 239 ] » require(arguments)

  10. FCPATH/index.php [ 217 ] » require_once(arguments)

Environment

ErrorException [ Warning ]: Declaration of MX_Loader::helpers($helpers) should be compatible with CI_Loader::helpers($helpers = Array)

APPPATH/third_party/MX/Loader.php [ 119 ]

114 		Modules::load_file($_helper, $path);
115 		$this->_ci_helpers[$_helper] = TRUE;
116 	}
117 
118 	/** Load an array of helpers **/
119 	public function helpers($helpers) {
120 		foreach ($helpers as $_helper) $this->helper($_helper);	
121 	}
122 
123 	/** Load a module language file **/
124 	public function language($langfile, $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '') {
  1. APPPATH/core/MY_Loader.php [ 4 ] » MY_Exceptions::error_handler()

  2. APPPATH/core/MY_Loader.php [ 4 ] » require()

  3. FCPATH/system/core/Common.php [ 159 ] » require(arguments)

  4. FCPATH/system/core/Controller.php [ 49 ] » load_class()

  5. APPPATH/third_party/MX/Base.php [ 55 ] » CI_Controller->__construct()

  6. APPPATH/third_party/MX/Base.php [ 60 ] » CI->__construct()

  7. APPPATH/third_party/MX/Controller.php [ 4 ] » require(arguments)

  8. APPPATH/core/MY_Controller.php [ 4 ] » require(arguments)

  9. FCPATH/system/core/CodeIgniter.php [ 239 ] » require(arguments)

  10. FCPATH/index.php [ 217 ] » require_once(arguments)

Environment

ErrorException [ Warning ]: Declaration of MX_Loader::language($langfile, $idiom = '', $return = false, $add_suffix = true, $alt_path = '') should be compatible with CI_Loader::language($file = Array, $lang = '')

APPPATH/third_party/MX/Loader.php [ 124 ]

119 	public function helpers($helpers) {
120 		foreach ($helpers as $_helper) $this->helper($_helper);	
121 	}
122 
123 	/** Load a module language file **/
124 	public function language($langfile, $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '') {
125 		return CI::$APP->lang->load($langfile, $idiom, $return, $add_suffix, $alt_path, $this->_module);
126 	}
127 	
128 	public function languages($languages) {
129 		foreach($languages as $_language) $this->language($_language);
  1. APPPATH/core/MY_Loader.php [ 4 ] » MY_Exceptions::error_handler()

  2. APPPATH/core/MY_Loader.php [ 4 ] » require()

  3. FCPATH/system/core/Common.php [ 159 ] » require(arguments)

  4. FCPATH/system/core/Controller.php [ 49 ] » load_class()

  5. APPPATH/third_party/MX/Base.php [ 55 ] » CI_Controller->__construct()

  6. APPPATH/third_party/MX/Base.php [ 60 ] » CI->__construct()

  7. APPPATH/third_party/MX/Controller.php [ 4 ] » require(arguments)

  8. APPPATH/core/MY_Controller.php [ 4 ] » require(arguments)

  9. FCPATH/system/core/CodeIgniter.php [ 239 ] » require(arguments)

  10. FCPATH/index.php [ 217 ] » require_once(arguments)

Environment

ErrorException [ Warning ]: Declaration of MX_Loader::_ci_get_component($component) should be compatible with & CI_Loader::_ci_get_component($component)

APPPATH/third_party/MX/Loader.php [ 270 ]

265 		return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return));
266 	}
267 
268 	public function _ci_is_instance() {}
269 
270 	public function _ci_get_component($component) {
271 		return CI::$APP->$component;
272 	} 
273 
274 	public function __get($class) {
275 		return (isset($this->controller)) ? $this->controller->$class : CI::$APP->$class;
  1. APPPATH/core/MY_Loader.php [ 4 ] » MY_Exceptions::error_handler()

  2. APPPATH/core/MY_Loader.php [ 4 ] » require()

  3. FCPATH/system/core/Common.php [ 159 ] » require(arguments)

  4. FCPATH/system/core/Controller.php [ 49 ] » load_class()

  5. APPPATH/third_party/MX/Base.php [ 55 ] » CI_Controller->__construct()

  6. APPPATH/third_party/MX/Base.php [ 60 ] » CI->__construct()

  7. APPPATH/third_party/MX/Controller.php [ 4 ] » require(arguments)

  8. APPPATH/core/MY_Controller.php [ 4 ] » require(arguments)

  9. FCPATH/system/core/CodeIgniter.php [ 239 ] » require(arguments)

  10. FCPATH/index.php [ 217 ] » require_once(arguments)

Environment

ErrorException [ Notice ]: Only variables should be assigned by reference

FCPATH/system/core/Loader.php [ 150 ]

145 	public function initialize()
146 	{
147 		$this->_ci_classes = array();
148 		$this->_ci_loaded_files = array();
149 		$this->_ci_models = array();
150 		$this->_base_classes =& is_loaded();
151 
152 		$this->_ci_autoloader();
153 
154 		return $this;
155 	}
  1. FCPATH/system/core/Loader.php [ 150 ] » MY_Exceptions::error_handler()

  2. APPPATH/third_party/MX/Loader.php [ 59 ] » CI_Loader->initialize()

  3. FCPATH/system/core/Controller.php [ 51 ] » MX_Loader->initialize()

  4. APPPATH/third_party/MX/Base.php [ 55 ] » CI_Controller->__construct()

  5. APPPATH/third_party/MX/Base.php [ 60 ] » CI->__construct()

  6. APPPATH/third_party/MX/Controller.php [ 4 ] » require(arguments)

  7. APPPATH/core/MY_Controller.php [ 4 ] » require(arguments)

  8. FCPATH/system/core/CodeIgniter.php [ 239 ] » require(arguments)

  9. FCPATH/index.php [ 217 ] » require_once(arguments)

Environment