我遇到了以下问题,但我不知道如何解决它,我也试图对定义进行评论,但它不能解决问题。
错误:
Deprecated: define(): Declaration of case-insensitive constants is deprecated in /storage/.../public_html/wp-content/plugins/themehunk-customizer/featuredlite/inc/constant.php on line 3
Deprecated: define(): Declaration of case-insensitive constants is deprecated in /storage/.../public_html/wp-content/plugins/themehunk-customizer/featuredlite/inc/constant.php on line 4我的疑问可能是wordpress使用的版本和加载网站的主机的版本问题?
发布于 2019-07-19 21:40:35
检查"wp-config“文件中的"WP_DEBUG”条目是否为"false“。
发布于 2020-06-30 23:18:17
在PHP7.3中:不推荐使用第三个参数true see here调用define()
发布于 2019-07-19 21:27:28
似乎您使用的是PHP7.3,自PHP7.3.0起,定义不区分大小写的常量已被弃用。
我没有看到任何解决这个问题的办法,但是你可以把你的PHP降级到7.2来让它工作。
https://stackoverflow.com/questions/57113302
复制相似问题