public function checkForFatalErrors() {
		// in case of memory size exhausted error
		gc_collect_cycles();
// 		$this->checkForPendingLogExceptions();
		
		$error = error_get_last();
		
		if (!isset($error) || $this->checkForError($error['type'], $error['file'], $error['line'], $error['message'])) {
			return;
		}
				
// 		if ($error['type'] == E_WARNING && substr($error['message'], 0, 23) == 'DateTime::__construct()') {
// 			return;
// 		}
		
// 		if (!$this->strictAttitude || ($error['type'] & self::STRICT_ATTITUTE_PHP_SEVERITIES)) {
// 			return;
// 		}
		
		try {
			$this->handleTriggeredError($error['type'], $error['message'], $error['file'], $error['line'], null, true);
		} catch (\Throwable $e) {
			$this->dispatchException($e);
		}

		$this->checkForPendingLogExceptions();
	}