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

SYSDIR/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. SYSDIR/core/Loader.php [ 150 ] » MY_Exceptions::error_handler(arguments)

  2. SYSDIR/core/Controller.php [ 51 ] » CI_Loader->initialize()

  3. APPPATH/controllers/frontend.php [ 17 ] » CI_Controller->__construct()

  4. SYSDIR/core/CodeIgniter.php [ 308 ] » Frontend->__construct()

  5. FCPATH/index.php [ 202 ] » require_once(arguments)

Environment

ErrorException [ Warning ]: file_exists(): open_basedir restriction in effect. File(_app_core/logs/log-2019-08-24.php) is not within the allowed path(s): (/srv/home/matthiashoekmancom/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/lib/php/)

SYSDIR/libraries/Log.php [ 89 ]

84 		}
85 
86 		$filepath = $this->_log_path.'log-'.date('Y-m-d').'.php';
87 		$message  = '';
88 
89 		if ( ! file_exists($filepath))
90 		{
91 			$message .= "<"."?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?".">\n\n";
92 		}
93 
94 		if ( ! $fp = @fopen($filepath, FOPEN_WRITE_CREATE))
  1. {PHP internal call} » MY_Exceptions::error_handler(arguments)

  2. SYSDIR/libraries/Log.php [ 89 ] » file_exists(arguments)

  3. SYSDIR/core/Common.php [ 359 ] » CI_Log->write_log(arguments)

  4. APPPATH/core/MY_Exceptions.php [ 162 ] » log_message(arguments)

  5. APPPATH/core/MY_Exceptions.php [ 233 ] » MY_Exceptions::exception_handler(arguments)

  6. {PHP internal call} » MY_Exceptions::shutdown_handler()

Environment

ErrorException [ Fatal Error ]: Uncaught TypeError: Argument 1 passed to MY_Exceptions::exception_handler() must be an instance of Exception, instance of Error given in /srv/home/matthiashoekmancom/domains/matthiashoekman.com/htdocs/www/_app_core/core/MY_Exceptions.php:140 Stack trace: #0 [internal function]: MY_Exceptions::exception_handler(Object(Error)) #1 {main} thrown

APPPATH/core/MY_Exceptions.php [ 140 ]

135 	 *
136 	 * @access	public
137 	 * @param	object	 exception object
138 	 * @return	boolean
139 	 */
140 	public static function exception_handler(Exception $e)
141 	{
142 		try
143 		{
144 			// Get the exception information
145 			$type	 = get_class($e);
  1. {PHP internal call} » MY_Exceptions::shutdown_handler()

Environment