wordpress 安裝 Astra 主題失敗

正在檢視 7 個帖子:1-7 (共 7 個帖子)
  • 作者
    帖子
  • heipao
    參與者
    • 文章數量: 4
    @heipao
    樓主

    錯誤如下:

    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

    heipao
    參與者
    • 文章數量: 4
    @heipao
    樓主

    錯誤如下:
    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

    詩語
    管理員
    • 文章數量: 5,932
    @feibisi

    停用你後臺的全部外掛,然後再手動下載 Astra 主題上傳安裝。

    heipao
    參與者
    • 文章數量: 4
    @heipao
    樓主

    您好 我沒起用任何外掛,astra 也是下載的.zip 壓縮包來手動上傳安裝的,還是出現一樣的錯誤

    未使用任何外掛

    詩語
    管理員
    • 文章數量: 5,932
    @feibisi

    找到=工具=站點健康,把系統資訊複製了貼上來。

    另外檢查伺服器程式目錄許可權。

    heipao
    參與者
    • 文章數量: 4
    @heipao
    樓主

    感謝解答 ,可能是由於 我用寶塔預設安裝的 wordpress 版本是 4.8.17,我手動升級到最新版本 5.8.2 已成功解決 沒出現類似的錯誤

    詩語
    管理員
    • 文章數量: 5,932
    @feibisi

    最新的主題外掛這些,不支援 4.9 及 5.0 以下的版本,因為內含了古藤堡編輯器。

正在檢視 7 個帖子:1-7 (共 7 個帖子)
  • 哎呀,回覆話題必需登入。

話題資訊

  • 當前位於:Astra
  • 6 條回覆
  • 2 個參與人
  • 最後回覆:<a href="https://bbs.weixiaoduo.com/users/feibisi/" title=" 檢視詩語的個人資料" class="bbp-author-link"><span class="bbp-author-name"> 詩語</span></a>
  • 上次活動:<a href="https://bbs.weixiaoduo.com/topic/39319/#post-39326" title=" 回覆至:wordpress 安裝 Astra 主題失敗">3 年、 5 月前</a>