Heroku にWordPress をデプロイしています。
今回テーマを Luxeritas に変更した際にページを表示しようとすると以下の様なエラーが出ました。
Fatal error: Uncaught Error: Call to undefined function mb_language() in /app/wp-content/themes/luxeritas/inc/wpfunc.php:2502 Stack trace: #0 /app/wp-content/themes/luxeritas/inc/compress.php(807): thk_convert() #1 /app/wp-content/themes/luxeritas/inc/optimize.php(264): thk_cssmin() #2 /app/wp-content/themes/luxeritas/inc/compress.php(36): thk_optimize->css_optimize() #3 /app/wp-content/themes/luxeritas/inc/wpfunc.php(47): thk_compress() #4 /app/wp-content/themes/luxeritas/inc/load-styles.php(305): thk_regenerate_files() #5 /app/wp-content/themes/luxeritas/inc/load-styles.php(351): thk_file_status_check() #6 /app/wp-content/themes/luxeritas/functions.php(427): require('/app/wp-content...') #7 /app/wp-includes/class-wp-hook.php(287): {closure}() #8 /app/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #9 /app/wp-includes/plugin.php(478): WP_Hook->do_action() #10 /app/wp-includes/template-loader.php(13): do_action() #11 /app/wp-blog-header.php(19): require_once('/app/wp-include...') #12 /app/index.php(17): requi in /app/wp-content/themes/luxeritas/inc/wpfunc.php on line 2502
mb_language() がない事が問題の様です。 PHP にあまり詳しくないのですが、 Heroku の PHP 実行環境では mb_language()が使えないのでしょうか?
こちらどの様に解決できるでしょうか?
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。