各位大佬,3.5切换PHP8,网站一片空白
各位大佬,3.5切换PHP8,网站一片空白,但是我用代码查看PHP版本,是8.2的,没任何错误提示,就是一片空白。 javascript <button class="editorjs-codeFlask_CopyButton" title="复制代码" id="codeflask-copy-PvHDKYadUc"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect> <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path> </svg> </button> <button class="editorjs-codeFlask_Toggle" id="codeflask-Toggle-PvHDKYadUc"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <polyline points="6 9 12 15 18 9"></polyline> </svg> </button> <button class="editorjs-codeFlask_BottomToggle expand-mode" title="展开代码" data-empty="false"><span class="toggle-icon">▼</span> 展开</button> 一片<em>, </em>空白<em>, </em>各位<em>, </em>大佬<em>, </em>切换 3.5切换PHP8,早就没问题了,你这又是啥状态。你这Hello的,不是本地测试嘛 你这个测试逻辑就不对。空白,有可能是你的某些插件不支持php8.不是说你随便搞个页面没问题就行了。升级之前,你要看看自己安装的插件,有那些是已经支持php8的。不支持的,尝试用搜索,或者AI去调整。实在不行,干脆弃用部分插件。不然,你就先别升级 一般是你的插件模板不兼容php8
頁:
[1]