[RSS Feed/News] PHP 8.1 Compatibility

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #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 \ArrayAccess

This 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...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom