A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

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

/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 	}
/system/core/Loader.php [ 150 ] » /system/core/Controller.php [ 51 ] » /application/core/MY_Controller.php [ 6 ] » /application/controllers/pages.php [ 6 ] » /system/core/CodeIgniter.php [ 314 ] » /index.php [ 221 ]

Fatal error: Uncaught TypeError: Argument 1 passed to MY_Exceptions::exception_handler() must be an instance of Exception, instance of Error given in /var/www/calderdaletraining.ac.uk/public_html/application/core/MY_Exceptions.php:154 Stack trace: #0 [internal function]: MY_Exceptions::exception_handler(Object(Error)) #1 {main} thrown in /var/www/calderdaletraining.ac.uk/public_html/application/core/MY_Exceptions.php on line 154

ErrorException [ Fatal Error ]: Uncaught TypeError: Argument 1 passed to MY_Exceptions::exception_handler() must be an instance of Exception, instance of Error given in /var/www/calderdaletraining.ac.uk/public_html/application/core/MY_Exceptions.php:154 Stack trace: #0 [internal function]: MY_Exceptions::exception_handler(Object(Error)) #1 {main} thrown

/application/core/MY_Exceptions.php [ 154 ]

149 	 *
150 	 * @access	public
151 	 * @param	object	 exception object
152 	 * @return	boolean
153 	 */
154 	public static function exception_handler(Exception $e)
155 	{
156 		try
157 		{
158 			// Get the exception information
159 			$type	 = get_class($e);
[PHP internal call]