- Affected version
- 2.2.7 PL 1
Probably already known:
It seems like XenForo ist currently not compatible with PHP 8.1 due to missing return type declarations on many methods, most notably on classes implementing core interfaes like
This does generate error messages like
	
	
	
		
when running in development mode.
While PHP 8.1 is still a a few month away from stable, it would be nice to have this resolved before release date
				
			It seems like XenForo ist currently not compatible with PHP 8.1 due to missing return type declarations on many methods, most notably on classes implementing core interfaes like
\ArrayAccessThis does generate error messages like
		Code:
	
	An exception occurred: [ErrorException] [E_DEPRECATED] Return type of XF\Session\Session::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in src/XF/Session/Session.php on line 177While PHP 8.1 is still a a few month away from stable, it would be nice to have this resolved before release date

 
 
		
 
 
		 
 
		 
 
		
 
 
		
