在第 165 行尝试访问 null 类型值的数组偏移量

问题描述 投票:0回答:0

实际上,我在这里搜索了答案,但找不到。当我切换到 php 7.4 时会发生这种情况。

            if ($signature != '') {
                if ( !$board_config['allow_html'] || !$userinfo['user_allowhtml']) {
                    $signature = preg_replace('#(<)([\/]?.*?)(>)#is', "&lt;\\2&gt;", $signature);
                }

.

arrays offset
© www.soinside.com 2019 - 2024. All rights reserved.