-
作者帖子
-
错误如下:
Fatal error: Uncaught Error: Call to undefined function register_post_meta() in /www/wwwroot/cheaptalk/wp-content/themes/astra/inc/metabox/class-astra-meta-boxes.php:646 Stack trace: #0 /www/wwwroot/cheaptalk/wp-includes/class-wp-hook.php(298): Astra_Meta_Boxes->register_meta_settings(”) #1 /www/wwwroot/cheaptalk/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /www/wwwroot/cheaptalk/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /www/wwwroot/cheaptalk/wp-settings.php(448): do_action(‘init’) #4 /www/wwwroot/cheaptalk/wp-config.php(96): require_once(‘/www/wwwroot/ch…’) #5 /www/wwwroot/cheaptalk/wp-load.php(37): require_once(‘/www/wwwroot/ch…’) #6 /www/wwwroot/cheaptalk/wp-admin/admin.php(31): require_once(‘/www/wwwroot/ch…’) #7 /www/wwwroot/cheaptalk/wp-admin/customize.php(13): require_once(‘/www/wwwroot/ch…’) #8 {main} thrown in /www/wwwroot/cheaptalk/wp-content/themes/astra/inc/metabox/class-astra-meta-boxes.php on line 646
错误如下:
Fatal error: Uncaught Error: Call to undefined function register_post_meta() in /www/wwwroot/cheaptalk/wp-content/themes/astra/inc/metabox/class-astra-meta-boxes.php:646 Stack trace: #0 /www/wwwroot/cheaptalk/wp-includes/class-wp-hook.php(298): Astra_Meta_Boxes->register_meta_settings(”) #1 /www/wwwroot/cheaptalk/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /www/wwwroot/cheaptalk/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /www/wwwroot/cheaptalk/wp-settings.php(448): do_action(‘init’) #4 /www/wwwroot/cheaptalk/wp-config.php(96): require_once(‘/www/wwwroot/ch…’) #5 /www/wwwroot/cheaptalk/wp-load.php(37): require_once(‘/www/wwwroot/ch…’) #6 /www/wwwroot/cheaptalk/wp-admin/admin.php(31): require_once(‘/www/wwwroot/ch…’) #7 /www/wwwroot/cheaptalk/wp-admin/customize.php(13): require_once(‘/www/wwwroot/ch…’) #8 {main} thrown in /www/wwwroot/cheaptalk/wp-content/themes/astra/inc/metabox/class-astra-meta-boxes.php on line 646停用你后台的全部插件,然后再手动下载 Astra 主题上传安装。
您好 我没起用任何插件,astra 也是下载的.zip 压缩包来手动上传安装的,还是出现一样的错误
找到=工具=站点健康,把系统信息复制了贴上来。
另外检查服务器程序目录权限。
感谢解答 ,可能是由于 我用宝塔默认安装的 wordpress 版本是 4.8.17,我手动升级到最新版本 5.8.2 已成功解决 没出现类似的错误
最新的主题插件这些,不支持 4.9 及 5.0 以下的版本,因为内含了古藤堡编辑器。
-
作者帖子
- 哎呀,回复话题必需登录。