thinkphp 6在php 8.1下报错

浏览:983 发布日期:2021/12/05
5.0.0 - 普通 - 未处理
在php8.1下使用会报错
错误如下:
7544#6908: *115 FastCGI sent in stderr: "PHP Fatal error: During inheritance of ArrayAccess: Uncaught think\exception\ErrorException: Return type of think\Paginator::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
评论(
后面还有条评论,点击查看>>