原因となるプログラムは分かりましたが、なぜそのエラーが発生するのかが分かりません…。
http://github.com/concrete5/concrete5/blob/8.4.4/concrete/src/Editor/LinkAbstractor.php#L145
特定の記事でなるように思いますが、そうでしょうか?
また、画像の挿入で起こっているようです。特殊な画像を入れたりしていますでしょうか?
Re: ブログ記事のリカバリー方法を教えてください。
2019年3月18日 at 12:03
Method name must be a string だけだと、どのファイルに問題があったのかまでが分からないのですが、管理画面のログにもう少し詳細なエラー文が残ってないでしょうか?
Re: ブログ記事のリカバリー方法を教えてください。
2019年3月18日 at 15:08
お世話様です。
特定の記事かどうかは分かりません。
以降、記事の編集を行っていませんので。
特殊な画像を入れたりしていませんが、
ただ、ソースコードを表示して、 width="238"の前に style="margin: 0 0 0 100px;" を入れて調整をしています。
<p style="margin-top:0mm; margin-right:0mm; margin-bottom:.0001pt; margin-left:5.0pt; margin:8pt 0mm 16pt 42pt"><strong><span style="color:#2ecc71;"><span style="font-size:12pt"><span style="line-height:150%"><span style="font-family:メイリオ">関連記事 ➡ </span></span></span></span><a href="https://a-itc.info/blog/website201809"><span style="color:#3498db;">スマホ対策ホームページどこでも同じ?いいえ違います</span></a></strong></p><figure class="content-editor-image-captioned"><a href="https://a-itc.info/blog/website201809"><img alt="スマホ最適化" height="168" src="https://a-itc.info/download_file/view_inline/1772" style="margin: 0 0 0 100px;" width="238" /></a><figcaption> モバイルファーストインデックス対応。 どこからでも電話できる。パソコンもタブレットも最適表示・操作性</figcaption></figure>
宜しくお願いします。
特定の記事かどうかは分かりません。
以降、記事の編集を行っていませんので。
特殊な画像を入れたりしていませんが、
ただ、ソースコードを表示して、 width="238"の前に style="margin: 0 0 0 100px;" を入れて調整をしています。
<p style="margin-top:0mm; margin-right:0mm; margin-bottom:.0001pt; margin-left:5.0pt; margin:8pt 0mm 16pt 42pt"><strong><span style="color:#2ecc71;"><span style="font-size:12pt"><span style="line-height:150%"><span style="font-family:メイリオ">関連記事 ➡ </span></span></span></span><a href="https://a-itc.info/blog/website201809"><span style="color:#3498db;">スマホ対策ホームページどこでも同じ?いいえ違います</span></a></strong></p><figure class="content-editor-image-captioned"><a href="https://a-itc.info/blog/website201809"><img alt="スマホ最適化" height="168" src="https://a-itc.info/download_file/view_inline/1772" style="margin: 0 0 0 100px;" width="238" /></a><figcaption> モバイルファーストインデックス対応。 どこからでも電話できる。パソコンもタブレットも最適表示・操作性</figcaption></figure>
宜しくお願いします。
Re: ブログ記事のリカバリー方法を教えてください。
2019年3月18日 at 16:05
再現できました。閉じ " の抜けなど、不正なHTMLを入力することでエラーになるようです。
<p><img alt="slider1.png" src="http://concrete5.test/index.php/download_file/view_inline/4" style="margin:0; width="600" /></p>
エラー回避は要望として出しておきますので、取り急ぎは正しいHTMLを入力しているか気をつけてください。
<p><img alt="slider1.png" src="http://concrete5.test/index.php/download_file/view_inline/4" style="margin:0; width="600" /></p>
エラー回避は要望として出しておきますので、取り急ぎは正しいHTMLを入力しているか気をつけてください。
Re: Re: ブログ記事のリカバリー方法を教えてください。
2019年3月18日 at 19:27
Your post has been saved and will be published after approval by the forum moderator.
Yamachann11
Re: Re: ブログ記事のリカバリー方法を教えてください。
ありがとうございます。
ログは、
該当する時間かどうかわかりませんが、管理者(私のID)で、
Exception Occurred: /home/a-itc/a-itc.info/public_html/updates/concrete5-8.4.4_remote_updater/concrete/src/Editor/LinkAbstractor.php:145 Method name must be a string (0)
が1分未満の間隔で6回、2分間隔で2回、その後、5分後に1回、更に3分後に1回出ています。
またこれとは別にゲストユーザーで、Exception Occurred: /home/a-itc/a-itc.info/public_html/updates/concrete5-8.4.4_remote_updater/concrete/blocks/form/controller.php:360 設定されたフォームになにか問題があります(ID番号が設定されていません) (0) が出ています。
こちらは、過去に5回起きています。
「フォームになにか問題があります」・・・というのは別の問題でしょうが、メールが送れないなどの問題となりますか?(自分でテストメールは送れるのですが)
データベースクエリーログは空です。
宜しくお願いします。