Thank you for your report.
Is there a continuation of the error message?
Where does the beginning of output come from?
I think there is a file path and number of lines.
output started at ...:xx
— japanese
ご報告ありがとうございます。
エラーメッセージの続きありますか?
出力の始まりはどこからなのか。
ファイルパスと行数があると思います。
output started at ...:xx
提起した時点のものは危急の案件だったので別の応急対応をしてやり過ごしてしまったので、再び同じ事象が起こるまでご連絡が遅くなり申し訳ありません。
Warning: Cannot modify header information – headers already sent by (output started at /home/△△△/●●●.com/public_html/index.html:120) in /home/△△△/●●●.com/public_html/wordpress/wp-content/plugins/multi-device-switcher/multi-device-switcher.php on line 136
html上でphpを動かせる設定をhtaccessで行なって、静的htmlファイル(https://●●●.com/index.html)に
require( dirname( __FILE__ ) .’/wordpress/wp-load.php’);
を記述して120行目でWP Queryで新着投稿一覧を出力しようとしていて、上記のWarningが出力されます。
スマホ用閲覧ページ(https://●●●.com/sp/index.html)にも同様に新着投稿一覧を出力しようして、multi-device-switcher.php on line 133で同じ内容のWarningが出力されます。
ご報告ありがとうございます。
読込元で何か出力していますか?
『HTTP ヘッダーを変更する関数の呼び出しより前に、
すでに何かがアウトプットされているために発生』しているようです。
参考:
PHP の headers already sent
エラーはどう直したらいいですか?
https://ja.stackoverflow.com/questions/5453/
クッキーの送出のいい方法が見つかれば、
プラグインの設計を見直してみたいと思います。