noticeメッセージ

Events happening in the community are now at Drupal community events on www.drupal.org.
gg45's picture

いつもお世話になっております。

先日突然下記noticeメッセージが表示されたのですが、
このメッセージの修正パッチ等ご存知の方いらっしゃいますでしょうか。

Notice: Undefined property: stdClass::$uri theme_file_link() (/modules/file/file.module ファイル 726行).
Notice: Undefined property: stdClass::$filemime theme_file_icon() (
/modules/file/file.module ファイル 764行).
Notice: Undefined property: stdClass::$filemime theme_file_link() (/modules/file/file.module ファイル 733行).
Notice: Undefined property: stdClass::$filesize theme_file_link() (
/modules/file/file.module ファイル 733行).

fileモジュールのエラーのようですが、調べてみても解決方法が分かりません。
モジュールのバージョンは7.12です。

ご存知の方いらっしゃいましたらお教えいただけますと助かります。

どうぞよろしくお願い致します。

Comments

まずは最新版を。

qchan's picture

7.12を使われているということなのでまずは最新版の7.14 に上げることをおすすめします。
セキュリティFix以外にもかなり多くのバグFixがなされていて、
7.12から7.14までにコミットされたパッチ一覧は2ページでも収まらないくらい沢山あります。
drupalcode.org Git - project/drupal.git/shortlog

その次に、このIssueを見てください。
同じ様なNoticeが出ている人に参考になるようにとエラーメッセージを貼ってくれています。
コメントプレビュー時の問題に関するIssueですが、参考になるでしょうか。
Fields not rendered properly during comment preview | drupal.org

gg45's picture

qchanさん、ご連絡ありがとうございます。

バージョンをアップしてもエラーが直らなかったため、
エラーが表示される画面のviewsで
ファイルフィールドの表示を「一般のファイル」から「ファイルのURL」に指定を修正したら
エラーが表示されなくなりました。

原因自体はまだ分かっていないので、これから検証したいと思います。
取り急ぎお礼申し上げます。どうもありがとうございました!

日本 コミュニティ: Drupal Japan User Group

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: