メインコンテンツに移動

メインナビゲーション

  • ホーム
  • サイトマップ
  • ビデオ
  • ご連絡

パンくず

  • ホーム
  • Drupalのモジュール(Geocorder)が依存関係設定していないモジュール(Entity API)が有効でなければエラーになります

Drupalのモジュール(Geocorder)が依存関係設定していないモジュール(Entity API)が有効でなければエラーになります

drupal
entity api
geocorder

エラー現象:モジュール(geocorder)の「Geocode from another field」を利用する際にエラーとなります

  • Drupalバージョン:7.53
  • geocorderバージョン:7.x-1.3
  • エラーの再現手順
    • geocorderをインストールして有効化にします(依存モジュール:geoPHP , Chaos tools)
    • コンテンツ(例:Article)フィールド管理画面(Home » Administration » Structure » Content types » Article)フィールド(geofieldタイプ)を追加します
    • Widgetは「Geocode from another field」を選び、詳細設定画面に進むとエラーが発生
    • 発生エラー: Fatal error: Call to undefined function entity_get_all_property_info() 

原因:モジュール(geocorder)の一つ依存モジュール(Entity API)の登録がしていないため、Entity APIなしでエラーが発生

  • モジュール(geocorder)の依存モジュール(Enity API)がmodule.infoファイルに登録されていないため、有効化する際にEnityAPIモジュールの有効化どうかをチェックしないです
  • EntityAPIが有効ではなければ、フィールドの詳細設定画面でエラーが発生します
  • EnityAPIを有効にすれば、上記エラーが消えます
ホーム

古松

検索

Article Category

  • apache(7)
  • css(19)
  • drupal(295)
  • Electron(4)
  • html(34)
  • javascript(27)
  • laravel(4)
  • linux(5)
  • macOS(2)
  • mysql(13)
  • php(19)
  • python(4)
  • SEO(12)
  • video(72)
  • Visual Studio Code(4)
  • windows(13)
  • wordpress(32)