wordpress 错误信息:/home/storage/736/3736736/user/htdocs/wp-includes/compat.php

9jyewag0  于 12个月前  发布在  WordPress
关注(0)|答案(1)|浏览(190)

我的WordPress网站出现以下错误:
致命错误:/home/storage/736/3736736/user/htdocs/wp-includes/compat.php LINE:502_autoload()已不再支持,请改用spl_autoload_register()
通过查看其他罚单,我更新了第502行:

function spl_autoload_register( $classname ) {
    ...
}

字符串
但是我现在得到了下面的错误:
警告:/home/storage/736/3736736/user/htdocs/wp-includes/class-wp-session-tokens.php第71行
已弃用:/home/storage/736/3736736/user/htdocs/wp-includes/nav-menu.php LINE:831用户名:密码:
已弃用:/home/storage/736/3736736/user/htdocs/wp-includes/nav-menu.php LINE:831
致命错误:未捕获错误:在/home/storage/736/3736736/user/htdocs/wp-content/plugins/LayerSlider/layerslider.php中调用未定义的函数create_function():69堆栈跟踪:#0 /home/storage/736/3736736/user/htdocs/wp-settings.php(303):include_once()#1 /home/storage/736/3736736/user/htdocs/wp-config.php(81):需要一次(“/home/storage/7...”)#2 /home/storage/736/3736736/user/htdocs/wp-load.php(37):require_once(“/home/storage/7...”)#3 /home/storage/736/3736736/user/htdocs/wp-blog-header.php(13):2019 - 05 - 27 11:00:
我在使用WordPress。
有人能帮帮忙吗?

woobm2wo

woobm2wo1#

你可能会面临一个问题,你的PHP版本.我也面临同样的问题.我的网站是不兼容的最新版本的PHP.我改变了PHP版本7.4,它为我工作.

相关问题