• 解決済 fukkoumiya

    (@fukkoumiya)


    bizメール&ウェブ ビジネスr3oというサーバーから、Wordpress6.2.2をインストールしました。
    その後、最新に更新して6.9になっています。
    再インストールでも症状改善していません。

    ダッシュボードの表示をみると、サイトヘルスステータスやイベントとニュースが読み込み中のまま表示されません。
    固定ページを追加しよとしても、白い画面になります。
    画面下に下記表示があります。
    Deprecated: PHP Startup: Use of mbstring.internal_encoding is deprecated in Unknown on line 0
    外観のテーマのカスタマイズやライブプレビューを押しても黒い画面になります。
    プラグインは2つインストールされていましたが、無効化されています。1つずつ有効化しても変化なしです。
    サイトを表示→サイトを編集、としても黒い画面で編集できません。
    2台のpcでどちらも同じ症状でした。
    どのようにしたら解決できますか?

    • このトピックはfukkoumiyaが2ヶ月前に変更しました。
    • このトピックはfukkoumiyaが2ヶ月前に変更しました。
15件の返信を表示中 - 1 - 15件目 (全25件中)
  • mokkosan

    (@mokkosan)

    エラーに書いてあるのは、「PHP 起動時エラー: mbstring.internal_encoding の使用は非推奨です」とあります。これは、以前のPHPでは使われていたけれど、PHP8.0以降は廃止になったmbstring.internal_encodingの設定を、なんらかの設定ファイルで読み込んでしまったため、PHPプログラムが動かなくなっている状態です。

    おそらくホスティングサービスのコントロールパネルがあるでしょうから、PHPの設定を確認して、該当する設定があったら削除してください。そちらの設定以外に、環境によりますが、.htaccessや.user.iniで設定している可能性もありますから、探して見てください。

    モデレーター まーちゅう

    (@rocketmartue)

    原因は、mokkosan が書かれている通りです。

    対応方法は、以下のページに書かれています。
    https://support.ntt.com/mw-premiumr3/faq/detail/pid2300001r2d/

    トピック投稿者 fukkoumiya

    (@fukkoumiya)

    ご返信ありがとうございます。
    php.iniファイルのエンコードをコメントアウトしました。
    ;mbstring.internal_encoding = UTF-8
    Deprecated: PHP Startup: Use of mbstring.internal_encoding is deprecated in Unknown on line 0
    エラーは消えましたが、白い画面や黒い画面になる症状は変化ありません。
    ッシュボードの表示をみると、サイトヘルスステータスやイベントとニュースが読み込み中のまま表示されないのも改善していません。
    引き続きよろしくお願いいたします。

    mokkosan

    (@mokkosan)

    元々のサイトは、mbstring.internal_encodingの設定をしてあっても動いていたということは、PHP7系列までの間に作成されて使われていたサイトということでしょう。ということは、テーマ自体がPHP8に対応していないという可能性があります。その手がかりを得る必要があります。

    お使いのテーマとプラグインの名前とバージョンがわかれば教えてください。

    また、WordPressの設定ファイルwp-config.phpで次の設定をすれば細かいエラーまで画面に表示されるようになります。

    define( 'WP_DEBUG', true );

    この状態でエラーの内容を記録してください。

    なお、本番環境をデバックモードのまま置いておくのは非常に危険ですから、エラーを記録したらすぐにその設定は削除してください。

    • この返信は2ヶ月前にmokkosanが編集しました。
    トピック投稿者 fukkoumiya

    (@fukkoumiya)

    @mokkosanさん、返信ありがとうございます。

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_DISPLAY’, true );
    @ini_set( ‘display_errors’, 1 );
    を追加して確認してみたのですが、特にエラーは表示されず状況は変わらずです。

    mokkosan

    (@mokkosan)

    お使いのテーマとプラグインの名前とバージョンがわかれば教えてください。加えて、PHPのバージョンも教えてください。

    トピック投稿者 fukkoumiya

    (@fukkoumiya)

    テーマは、「Twenty Twenty-Four」です。他のに変えましたが、結果同じでした。
    プラグインは、「Akismet Anti-spam: Spam Protection バージョン 5.6」と「Hello Dolly バージョン 1.7.2」です。どちらも無効化されています。
    PHPバージョンは8.3(CGI)です。8.3(Module)も選択できたので変更してみましたが同じ状況でした。
    ちなみに、現在はXAMPPをインストールしローカルでWorepressをインストールしていますが、正常に使用できています。
    サーバーの方にインストールしたWorepressは全く状況進展せずです。

    mokkosan

    (@mokkosan)

    そうなると、WordPress側というより、サーバー側によるものかもしれません。

    一番ありそうなのは、 REST API の通信遮断が起きていることが考えられます。

    現在のWordPress(特にブロックエディタ)やダッシュボードのウィジェットは、バックグラウンドで「REST API」という仕組みを使って通信しています。これが阻害されると、ご相談のような症状が発生します。

    おそらくサーバーに不正アクセスの遮断などを目的としたWAF機能が設定されていて、このこのセキュリティ機能が、WordPress内部の通信を「攻撃」と誤判定してブロックしている可能性があります。

    サーバーのコントロールパネルから、WAFを一時的にOFFにして、症状が改善するか確認してください。

    これ以外の場合なら、「サーバーのメモリ制限・リソース不足が起こっている」などが考えられます。

    Aki Hamano

    (@wildworks)

    Deprecatedエラーは単純に非推奨に関するエラーなので、クリティカルなエラーではありません。根本的な原因は別にあるかもしれません。

    ダッシュボードの表示をみると、サイトヘルスステータスやイベントとニュースが読み込み中のまま表示されません。

    固定ページを追加しよとしても、白い画面になります。

    外観のテーマのカスタマイズやライブプレビューを押しても黒い画面になります。

    ダッシュボードが動作していて、エディターに関する画面が動作しない、かつ何もエラーが画面に表示されないということは、サーバーサイド(PHP)ではなくフロントエンド(JS)のエラーの可能性もあります。

    ブラウザのデベロッパーツールを開いたときに、何らかのエラーがコンソールタブに記録されていないでしょうか?

    トピック投稿者 fukkoumiya

    (@fukkoumiya)

    ありがとうございます。
    WAFはオプションになっており、導入されていない状態です。
    コンソールタブは、下記のような表示がありました。
    何か読み解けるでしょうか?

    Uncaught SyntaxError: Unexpected token '<'
    site-editor.php?canvas=edit&p=%2Fwp_template%2Ftwentytwentyfour%2F%2Fhome:302 [Intervention] Images loaded lazily and replaced with placeholders. Load events are deferred. See https://go.microsoft.com/fwlink/?linkid=2048113
    load-scripts.php:7 Uncaught SyntaxError: Unexpected token '<'
    i18n.min.js?ver=c26c3dc7bed366793375:2 Uncaught TypeError: Cannot read properties of undefined (reading 'hooks')
    at i18n.min.js?ver=c26c3dc7bed366793375:2:4981
    at i18n.min.js?ver=c26c3dc7bed366793375:2:5277
    wp-i18n-js-after:1763 Uncaught ReferenceError: wp is not defined
    at wp-i18n-js-after:2:1
    wp-a11y-js-translations:1770 Uncaught ReferenceError: wp is not defined
    at wp-a11y-js-translations:5:2
    at wp-a11y-js-translations:6:4
    a11y.min.js?ver=cb460b4676c94bd228ed:2 Uncaught TypeError: Cannot read properties of undefined (reading 'domReady')
    at a11y.min.js?ver=cb460b4676c94bd228ed:2:477
    at a11y.min.js?ver=cb460b4676c94bd228ed:2:2174
    common-js-translations:1783 Uncaught ReferenceError: wp is not defined
    at common-js-translations:5:2
    at common-js-translations:6:4
    common.min.js?ver=6.9:2 Uncaught ReferenceError: jQuery is not defined
    at common.min.js?ver=6.9:2:22398
    wp-api-fetch-js-translations:1798 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-api-fetch-js-translations:5:10
    at wp-api-fetch-js-translations:6:4
    wp-keycodes-js-translations:1824 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-keycodes-js-translations:5:10
    at wp-keycodes-js-translations:6:4
    wp-rich-text-js-translations:1848 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-rich-text-js-translations:5:10
    at wp-rich-text-js-translations:6:4
    wp-blocks-js-translations:1859 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-blocks-js-translations:5:10
    at wp-blocks-js-translations:6:4
    blocks.min.js?ver=de131db49fa830bc97da:12 Uncaught TypeError: Cannot read properties of undefined (reading '__')
    at blocks.min.js?ver=de131db49fa830bc97da:12:34449
    at blocks.min.js?ver=de131db49fa830bc97da:19:57341
    at blocks.min.js?ver=de131db49fa830bc97da:19:57380
    wp-blocks-js-after:1865 Uncaught TypeError: Cannot read properties of undefined (reading 'unstable__bootstrapServerSideBlockDefinitions')
    at wp-blocks-js-after:2:11
    wp-components-js-translations:1885 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-components-js-translations:5:10
    at wp-components-js-translations:6:4
    components.min.js?ver=ad5cb4227f07a3d422ad:26 Uncaught TypeError: Cannot read properties of undefined (reading '__')
    at components.min.js?ver=ad5cb4227f07a3d422ad:26:25681
    at components.min.js?ver=ad5cb4227f07a3d422ad:33:314819
    at components.min.js?ver=ad5cb4227f07a3d422ad:33:314862
    wp-commands-js-translations:1895 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-commands-js-translations:5:10
    at wp-commands-js-translations:6:4
    commands.min.js?ver=cac8f4817ab7cea0ac49:2 Uncaught TypeError: Cannot read properties of undefined (reading '__')
    at commands.min.js?ver=cac8f4817ab7cea0ac49:2:44987
    at commands.min.js?ver=cac8f4817ab7cea0ac49:2:49892
    wp-preferences-js-translations:1906 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-preferences-js-translations:5:10
    at wp-preferences-js-translations:6:4
    preferences.min.js?ver=2ca086aed510c242a1ed:2 Uncaught TypeError: Cannot read properties of undefined (reading 'privateApis')
    at preferences.min.js?ver=2ca086aed510c242a1ed:2:4743
    at preferences.min.js?ver=2ca086aed510c242a1ed:2:6977
    wp-preferences-js-after:1916 Uncaught TypeError: Cannot read properties of undefined (reading 'store')
    at wp-preferences-js-after:6:43
    at wp-preferences-js-after:8:8
    wp-block-editor-js-translations:1927 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-block-editor-js-translations:5:10
    at wp-block-editor-js-translations:6:4
    block-editor.min.js?ver=6ab992f915da9674d250:21 Uncaught TypeError: Cannot read properties of undefined (reading '__')
    at block-editor.min.js?ver=6ab992f915da9674d250:21:47541
    at block-editor.min.js?ver=6ab992f915da9674d250:23:9210
    at block-editor.min.js?ver=6ab992f915da9674d250:23:9254
    wp-core-data-js-translations:1936 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-core-data-js-translations:5:10
    at wp-core-data-js-translations:6:4
    core-data.min.js?ver=15baadfe6e1374188072:2 Uncaught TypeError: Cannot read properties of undefined (reading '__')
    at 5914 (core-data.min.js?ver=15baadfe6e1374188072:2:33562)
    at r (core-data.min.js?ver=15baadfe6e1374188072:2:69874)
    at 5469 (core-data.min.js?ver=15baadfe6e1374188072:2:21475)
    at r (core-data.min.js?ver=15baadfe6e1374188072:2:69874)
    at 4565 (core-data.min.js?ver=15baadfe6e1374188072:2:18104)
    at r (core-data.min.js?ver=15baadfe6e1374188072:2:69874)
    at core-data.min.js?ver=15baadfe6e1374188072:2:70300
    at core-data.min.js?ver=15baadfe6e1374188072:2:70346
    wp-patterns-js-translations:1946 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-patterns-js-translations:5:10
    at wp-patterns-js-translations:6:4
    patterns.min.js?ver=4131f04a041db58120d8:2 Uncaught TypeError: Cannot read properties of undefined (reading 'privateApis')
    at patterns.min.js?ver=4131f04a041db58120d8:2:3050
    at patterns.min.js?ver=4131f04a041db58120d8:2:21952
    wp-server-side-render-js-translations:1955 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-server-side-render-js-translations:5:10
    at wp-server-side-render-js-translations:6:4
    editor.min.js?ver=6.9:2 Uncaught TypeError: g is not a function
    at new <anonymous> (editor.min.js?ver=6.9:2:10575)
    at editor.min.js?ver=6.9:2:82
    at editor.min.js?ver=6.9:2:13025
    wp-block-library-js-translations:1970 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-block-library-js-translations:5:10
    at wp-block-library-js-translations:6:4
    block-library.min.js?ver=226f2f0a9402f47ba8bc:2 Uncaught TypeError: Cannot read properties of undefined (reading '__')
    at block-library.min.js?ver=226f2f0a9402f47ba8bc:2:18378
    at block-library.min.js?ver=226f2f0a9402f47ba8bc:4:767240
    at block-library.min.js?ver=226f2f0a9402f47ba8bc:4:767285
    wp-media-utils-js-translations:1979 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-media-utils-js-translations:5:10
    at wp-media-utils-js-translations:6:4
    wp-editor-js-translations:1990 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-editor-js-translations:5:10
    at wp-editor-js-translations:6:4
    editor.min.js?ver=2239c699a89c6b9bc64f:7 Uncaught TypeError: Cannot read properties of undefined (reading 'SETTINGS_DEFAULTS')
    at editor.min.js?ver=2239c699a89c6b9bc64f:7:20941
    at editor.min.js?ver=2239c699a89c6b9bc64f:14:310791
    at editor.min.js?ver=2239c699a89c6b9bc64f:14:310830
    wp-widgets-js-translations:2004 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-widgets-js-translations:5:10
    at wp-widgets-js-translations:6:4
    widgets.min.js?ver=c0e4adfacd4c628b1d02:2 Uncaught TypeError: Cannot read properties of undefined (reading '__')
    at widgets.min.js?ver=c0e4adfacd4c628b1d02:2:16722
    at widgets.min.js?ver=c0e4adfacd4c628b1d02:2:19927
    wp-edit-site-js-translations:2013 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-edit-site-js-translations:5:10
    at wp-edit-site-js-translations:6:4
    edit-site.min.js?ver=b877e769e7f2bce85569:11 Uncaught TypeError: Cannot read properties of undefined (reading 'privateApis')
    at edit-site.min.js?ver=b877e769e7f2bce85569:11:131948
    at edit-site.min.js?ver=b877e769e7f2bce85569:11:714448
    at edit-site.min.js?ver=b877e769e7f2bce85569:11:714489
    wp-edit-site-js-after:2019 Uncaught TypeError: wp.domReady is not a function
    at wp-edit-site-js-after:2:4
    wp-format-library-js-translations:2028 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-format-library-js-translations:5:10
    at wp-format-library-js-translations:6:4
    format-library.min.js?ver=f2a1e4312beef67b86e7:2 Uncaught TypeError: Cannot read properties of undefined (reading 'privateApis')
    at format-library.min.js?ver=f2a1e4312beef67b86e7:2:1762
    at format-library.min.js?ver=f2a1e4312beef67b86e7:2:27516
    wp-util.min.js?ver=6.9:2 Uncaught ReferenceError: jQuery is not defined
    at wp-util.min.js?ver=6.9:2:1384
    wp-backbone.min.js?ver=6.9:2 Uncaught ReferenceError: jQuery is not defined
    at wp-backbone.min.js?ver=6.9:2:2997
    media-models.min.js?ver=6.9:2 Uncaught TypeError: Cannot read properties of undefined (reading 'post')
    at media-models.min.js?ver=6.9:2:12630
    at media-models.min.js?ver=6.9:2:13247
    wp-plupload.min.js?ver=6.9:1 Uncaught ReferenceError: jQuery is not defined
    at wp-plupload.min.js?ver=6.9:1:6029
    core.min.js?ver=1.13.3:5 Uncaught ReferenceError: jQuery is not defined
    at core.min.js?ver=1.13.3:5:88
    at core.min.js?ver=1.13.3:5:96
    mouse.min.js?ver=1.13.3:9 Uncaught ReferenceError: jQuery is not defined
    at mouse.min.js?ver=1.13.3:9:121
    at mouse.min.js?ver=1.13.3:9:129
    sortable.min.js?ver=1.13.3:9 Uncaught ReferenceError: jQuery is not defined
    at sortable.min.js?ver=1.13.3:9:160
    at sortable.min.js?ver=1.13.3:9:168
    mediaelement-migrate.min.js?ver=6.9:1 Uncaught ReferenceError: jQuery is not defined
    at mediaelement-migrate.min.js?ver=6.9:1:1183
    wp-mediaelement.min.js?ver=6.9:1 Uncaught ReferenceError: jQuery is not defined
    at wp-mediaelement.min.js?ver=6.9:1:1100
    api-request.min.js?ver=6.9:2 Uncaught ReferenceError: jQuery is not defined
    at api-request.min.js?ver=6.9:2:981
    media-views-js-translations:2081 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at media-views-js-translations:5:10
    at media-views-js-translations:6:4
    media-views.min.js?ver=6.9:2 Uncaught ReferenceError: jQuery is not defined
    at media-views.min.js?ver=6.9:2:107845
    at media-views.min.js?ver=6.9:2:110735
    media-editor-js-translations:2090 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at media-editor-js-translations:5:10
    at media-editor-js-translations:6:4
    media-editor.min.js?ver=6.9:2 Uncaught ReferenceError: jQuery is not defined
    at media-editor.min.js?ver=6.9:2:10841
    media-audiovideo.min.js?ver=6.9:2 Uncaught TypeError: Cannot read properties of undefined (reading 'post')
    at media-audiovideo.min.js?ver=6.9:2:10568
    at media-audiovideo.min.js?ver=6.9:2:12015
    mce-view.min.js?ver=6.9:2 Uncaught TypeError: s.template is not a function
    at mce-view.min.js?ver=6.9:2:7438
    at mce-view.min.js?ver=6.9:2:9677
    jquery.imgareaselect.min.js?ver=6.9:1 Uncaught ReferenceError: jQuery is not defined
    at jquery.imgareaselect.min.js?ver=6.9:1:9763
    image-edit-js-translations:2106 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at image-edit-js-translations:5:10
    at image-edit-js-translations:6:4
    image-edit.min.js?ver=6.9:2 Uncaught ReferenceError: jQuery is not defined
    at image-edit.min.js?ver=6.9:2:15473
    wp-block-styles-js-after:2113 Uncaught TypeError: Cannot read properties of undefined (reading 'registerBlockStyle')
    at wp-block-styles-js-after:3:12
    at wp-block-styles-js-after:8:4
    wp-block-directory-js-translations:2125 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-block-directory-js-translations:5:10
    at wp-block-directory-js-translations:6:4
    plugins.min.js?ver=039ed87b5b9f7036ceee:2 Uncaught TypeError: Cannot read properties of undefined (reading 'applyFilters')
    at f (plugins.min.js?ver=039ed87b5b9f7036ceee:2:2099)
    at block-directory.min.js?ver=55bdef7bd3137eee623d:2:20326
    at block-directory.min.js?ver=55bdef7bd3137eee623d:2:20625
    svg-painter.js?ver=6.9:129 Uncaught ReferenceError: jQuery is not defined
    at svg-painter.js?ver=6.9:129:5
    heartbeat.min.js?ver=6.9:2 Uncaught ReferenceError: jQuery is not defined
    at heartbeat.min.js?ver=6.9:2:5898
    wp-auth-check-js-translations:2140 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-auth-check-js-translations:5:10
    at wp-auth-check-js-translations:6:4
    wp-auth-check.min.js?ver=6.9:2 Uncaught ReferenceError: jQuery is not defined
    at wp-auth-check.min.js?ver=6.9:2:1616
    wp-core-commands-js-translations:2149 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
    at wp-core-commands-js-translations:5:10
    at wp-core-commands-js-translations:6:4
    react-dom.min.js?ver=18.3.1.1:10 TypeError: Cannot read properties of undefined (reading 'sprintf')
    at core-commands.min.js?ver=effe2d88d7f0c50a8ce9:2:1246
    at Array.map (<anonymous>)
    at core-commands.min.js?ver=effe2d88d7f0c50a8ce9:2:1224
    at Object.useMemo (react-dom.min.js?ver=18.3.1.1:10:114236)
    at e.useMemo (react.min.js?ver=18.3.1.1:10:9894)
    at m (core-commands.min.js?ver=effe2d88d7f0c50a8ce9:2:1210)
    at R (core-commands.min.js?ver=effe2d88d7f0c50a8ce9:2:10316)
    at ht (react-dom.min.js?ver=18.3.1.1:10:45677)
    at Qs (react-dom.min.js?ver=18.3.1.1:10:120133)
    at wl (react-dom.min.js?ver=18.3.1.1:10:88341)
    ar @ react-dom.min.js?ver=18.3.1.1:10
    react-dom.min.js?ver=18.3.1.1:10 Uncaught TypeError: Cannot read properties of undefined (reading 'sprintf')
    at core-commands.min.js?ver=effe2d88d7f0c50a8ce9:2:1246
    at Array.map (<anonymous>)
    at core-commands.min.js?ver=effe2d88d7f0c50a8ce9:2:1224
    at Object.useMemo (react-dom.min.js?ver=18.3.1.1:10:114236)
    at e.useMemo (react.min.js?ver=18.3.1.1:10:9894)
    at m (core-commands.min.js?ver=effe2d88d7f0c50a8ce9:2:1210)
    at R (core-commands.min.js?ver=effe2d88d7f0c50a8ce9:2:10316)
    at ht (react-dom.min.js?ver=18.3.1.1:10:45677)
    at Qs (react-dom.min.js?ver=18.3.1.1:10:120133)
    at wl (react-dom.min.js?ver=18.3.1.1:10:88341)

    こんにちは

    ブラウザのコンソールログのエラーとのことで、重要そうな部分はここかと思われます。

    load-scripts.php:7  Uncaught SyntaxError: Unexpected token '<'

    これは wp-admin/load-scripts.php での読み込みをした所、jsとして正しい出力がされずにエラーとなっています。サーバー側でのPHP実行が正しく行われず、なんらかのエラーが発生している可能性があります。

    PHPからのエラーログを確認していきたいです。
    wp-config.php

    define('WP_DEBUG', true);
    define('WP_DEBUG_DISPLAY', false);
    define('WP_DEBUG_LOG', true);
    @ini_set('display_errors', 0);

    を記載して再度実行してみてください。

    wp-content/debug.log にエラーログが表示されるので、その内容を貼り付けてください。
    ログが確認できたら、 wp-config.php に追加した内容は削除するのを忘れずにお願いします。

    もしくはお使いのサーバー環境のログ閲覧方法を確認して、ログ内容を貼り付けてください
    (この内容かも?しれません https://support.ntt.com/mw-premiumr3/faq/detail/pid2300001f4z/ )

    トピック投稿者 fukkoumiya

    (@fukkoumiya)

    ありがとうございます。
    wp-config.phpに追加しましたが、www/htdocs/wordpress/wp-content/debug.log が生成されませんでした。
    www/logs/error_log-20251222.gz があったのでそちらを貼ります。


    [Sun Dec 21 03:25:02.445625 2025] [mpm_prefork:notice] [pid 142332] AH00171: Graceful restart requested, doing restart
    [Sun Dec 21 03:25:02.534932 2025] [alias:warn] [pid 142332] AH00671: The ScriptAlias directive in /etc/httpd/conf.d/php83-cgi.conf at line 4 will probably never match because it overlaps an earlier ScriptAlias.
    [Sun Dec 21 03:25:02.622101 2025] [ssl:warn] [pid 142332] AH01909: f-kousaku.co.jp:443:0 server certificate does NOT include an ID which matches the server name
    [Sun Dec 21 03:25:02.622397 2025] [lbmethod_heartbeat:notice] [pid 142332] AH02282: No slotmem from mod_heartmonitor
    [Sun Dec 21 03:25:02.622688 2025] [mpm_prefork:notice] [pid 142332] AH00163: Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k mod_apreq2-20101207/2.8.1 mod_perl/2.0.12 Perl/v5.26.3 configured -- resuming normal operations
    [Sun Dec 21 03:25:02.622696 2025] [core:notice] [pid 142332] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
    [Sun Dec 21 07:43:13.216130 2025] [core:error] [pid 192389] [client 62.84.185.10:46470] AH00126: Invalid URI in request POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh HTTP/1.1
    [Sun Dec 21 13:47:52.236874 2025] [cgi:error] [pid 199717] [client 89.42.231.239:55922] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 14:36:19.231810 2025] [core:error] [pid 202579] [client 118.193.45.106:35932] AH00126: Invalid URI in request POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh HTTP/1.1
    [Sun Dec 21 14:46:02.429069 2025] [cgi:error] [pid 202579] [client 89.42.231.239:55358] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 15:11:35.620487 2025] [cgi:error] [pid 202579] [client 89.42.231.239:35088] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 15:15:34.018981 2025] [cgi:error] [pid 199673] [client 221.159.119.6:55797] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 15:15:34.088843 2025] [cgi:error] [pid 192389] [client 221.159.119.6:55833] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 15:39:52.613187 2025] [core:error] [pid 192389] [client 111.250.100.186:59560] AH00126: Invalid URI in request POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh HTTP/1.1
    [Sun Dec 21 16:03:35.292308 2025] [core:error] [pid 192401] [client 8.219.40.251:36654] AH00126: Invalid URI in request POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh HTTP/1.1
    [Sun Dec 21 16:51:05.635558 2025] [cgi:error] [pid 202579] [client 89.42.231.239:52700] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 18:17:28.240276 2025] [cgi:error] [pid 192401] [client 89.42.231.239:42882] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 18:28:17.170283 2025] [cgi:error] [pid 199673] [client 95.214.55.71:42252] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 19:36:29.046125 2025] [cgi:error] [pid 199717] [client 89.42.231.239:32918] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 19:45:33.232539 2025] [cgi:error] [pid 199717] [client 89.42.231.239:33778] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 20:10:33.278926 2025] [core:error] [pid 199717] [client 125.17.108.32:47396] AH00126: Invalid URI in request POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh HTTP/1.1
    [Sun Dec 21 20:51:32.356838 2025] [cgi:error] [pid 206808] [client 89.42.231.239:39464] AH02811: script not found or unable to stat: /var/www/cgi-bin/luci
    [Sun Dec 21 21:06:03.394611 2025] [core:error] [pid 192401] [client 125.17.108.32:60236] AH00126: Invalid URI in request POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh HTTP/1.1
    [Sun Dec 21 22:38:28.862616 2025] [cgi:error] [pid 208870] [client 45.194.92.18:35070] AH02811: script not found or unable to stat: /var/www/cgi-bin/webproc, referer: http://125.206.174.157:80/cgi-bin/webproc
    [Mon Dec 22 01:09:01.672646 2025] [autoindex:error] [pid 208867] [client 20.89.193.50:14662] AH01276: Cannot serve directory /var/www/html/images/: No matching DirectoryIndex (index.html,index.htm,index.cgi,index.php,index.shtml,index.jsp,index.php) found, and server-generated directory index forbidden by Options directive, referer: https://www.yahoo.com/
    [Mon Dec 22 01:09:02.842931 2025] [access_compat:error] [pid 210388] [client 20.89.193.50:16647] AH01797: client denied by server configuration: /var/www/html/xmlrpc.php, referer: https://duckduckgo.com/


    トピック投稿者 fukkoumiya

    (@fukkoumiya)

    phpinfoで確認すると、

    Additional .ini files parsed はnone
    mbstring.internal_encoding  はno value
    です。
    このあたりも何かヒントになるでしょうか?

    ログの貼り付けありがとうございます。

    ご共有いただいたログの内容を見る限り、本件に直接関係するエラーは確認できませんでした。
    また、wp-content/debug.log が作成されていないことから、WordPress の処理までリクエストが到達していない可能性が考えられます。

    現状を整理すると、以下のとおりです。

    • 固定ページを追加しようとすると、白い画面または黒い画面になる
    • WordPress 6.2.2 を新規インストール後、WordPress 6.9 へアップデートした
    • 再インストールを行っても症状は改善しなかった
    • 表示されていた Deprecated(PHP の非推奨)エラーはすでに解消している
    • テーマは「Twenty Twenty-Four」を使用し、プラグインは有効化していない
    • XAMPP 環境では正常に動作するが、サーバー環境では引き続き問題が発生している
    • WAF は設定していない
    • ブラウザのコンソールにて、wp-admin/load-scripts.php に構文エラーが発生している
    • PHP のエラーログには出力がない

    これらの点から、WordPress 自体ではなく、実行環境であるサーバー側の設定や挙動に起因している可能性が高いと考えられます。

    お使いのサーバー環境には、サポート窓口はございますでしょうか。
    ビジネス向けのサーバーであれば、契約プランにサポート対応が含まれている場合も多いため、一度サーバー側の設定について確認されることをおすすめします。

    新規インストール後にアップデートした状態で正常に動作しないという点は、やはり少し不自然に感じられます。

    トピック投稿者 fukkoumiya

    (@fukkoumiya)

    ありがとうございます。
    一度問い合わせたのですが、
    WordPressのサポート範囲について | NTTドコモビジネス お客さまサポート
    WordPressについては、コントロールパネルからのインストールまでがサポート範囲とのことで回答頂けませんでした。
    再度問い合わせをしようと思いますが、サポートして頂けるような切り口があるでしょうか?

15件の返信を表示中 - 1 - 15件目 (全25件中)

このトピックに返信するにはログインが必要です。