メインコンテンツに移動
ホーム
日本PostgreSQLユーザ会

メインナビゲーション

  • ホーム
  • ユーザ会
    • 日本PostgreSQLユーザ会の目的
    • 協賛会員
    • メーリングリスト等
  • 支部
  • 分科会・委員会
  • ダウンロード
  • ドキュメント
  • イベント
  • お知らせ
  • ニュース
  • カレンダー
  • サイトについて

パンくず

  1. ホーム

サイトマップ更新

## 最初のエラー ### 1. modules サブディレクトリから古い 2.x 版の simple_sitemap を削除。 ### 2. modules サブディレクトリに新しい 3.x 版の simpla_sitemap をインストール 拡張機能 》SSO 》Simple XML Sitemap 》Configure を実行すると次のエラー。 The website encountered an unexpected error. Please try again later. TypeError: Argument 3 passed to Drupal\simple_sitemap\EntityHelper::__construct() must implement interface Drupal\Core\Entity\EntityTypeBundleInfoInterface, none given, called in /var/vhosts/<a href="http://www.postgresql.jp/drupal-8.6.16/core/lib/Drupal/Component/DependencyInjection/Container.php">www.postgresql.jp/drupal-8.6.16/core/lib/Drupal/Component/DependencyInj…</a> on line 266 in Drupal\simple_sitemap\EntityHelper-&gt;__construct() (line 45 of modules/simple_sitemap/src/EntityHelper.php). ## 2度目のトライ 次の手順で途中までうまくいった。 ## 1. 上記と同じ。 * 1.1 cd モジュールディレクトリ; rm -rf simple_sitemap * 1.2 drupal 管理画面から、[拡張機能 》リスト] でモジュール一覧表示 simple-sitemap が消えたことを確認。 ## 2. 上記と同じ。 * 2.1 cd モジュールディレクトリ; tar xvfz simple_sitemap-8.x-3.3.tar.gz (simple_sitemap-8.x-3.3.tar.gz はあらかじめダウンロードしておく) * 2.2 drupal 管理画面から、[ 拡張機能 》リスト ] でモジュール一覧を確認 simplesitemap と simple_sitemap(Vies) があることを確認。 * 2.3 [ 拡張機能 》リスト ] の「Simple XML Sitema(Views)」をチェックしてインストール 拡張機能 》SSO 》Simple XML Sitema(Views) チェックボックスをクリックし、 「インストール」ボタンをクリックすると、 > モジュール Simple XML Sitemap (Views) が有効化されました。 と表示される。 ここで、「Configure」 をクリックすると、次のエラー。 サイトに予期せぬエラーが起こりました。しばらくたってから再度お試しください。&lt;/br&gt;&lt;/br&gt;&lt;em class=&quot;placeholder&quot;&gt;Drupal\Core\Database\DatabaseExceptionWrapper&lt;/em&gt;: SQLSTATE[42703]: Undefined column: 7 ERROR: column &amp;quot;type&amp;quot; does not exist LINE 1: SELECT type, status FROM simple_sitemap GROUP BY type, statu... ^: SELECT type, status FROM {simple_sitemap} GROUP BY type, status; Array ( ) in &lt;em class=&quot;placeholder&quot;&gt;Drupal\simple_sitemap\Form\SimplesitemapSettingsForm-&amp;gt;fetchSitemapInstanceStatuses()&lt;/em&gt; (line &lt;em class=&quot;placeholder&quot;&gt;341&lt;/em&gt; of &lt;em class=&quot;placeholder&quot;&gt;modules/simple_sitemap/src/Form/SimplesitemapSettingsForm.php&lt;/em&gt;). ## 最後に次の操作でやっと更新成功 ### 3. DBの更新 ブラウザで、 > https://サイトのドメイン/update.php にアクセスすると、次のようは表示となる。 ``` Drupal データベース更新 アップデートを適用する先の Drupal のバージョンを自動で判別しました。 承認待ちのアップデートが 10 個あります simple_sitemap module 8210 - Adding 'type' and 'delta' fields to simple_sitemap table. 8211 - Adding simple_sitemap.variants and simple_sitemap.types to configuration. 8212 - Changing storage data type of 'index' and 'include_images' from integer to boolean. 8213 - Altering the configuration storage of variants. 8214 - Removing sitemap types from configuration as they are to be stored as plugins in code. 8215 - Adding 'status' field to simple_sitemap table and weight to variants. 8216 - Adding per-variant bundle and entity override configuration. 8217 - Adding per-variant custom link configuration. 8301 - Changing id and delta fields of simple_sitemap table from smallint to int. 8302 - Removing unused batch_process_limit key from simple_sitemap.settings configuration. [保留中のアップデートを適用する] ``` のような表示がされるので、「保留中のアップデートを適用する」ボタンをクリックする。 すると、以下のアップデートのメッセージが返される。 ``` simple_sitemap モジュール アップデート #8217 The XML sitemaps need to be regenerated. ``` これで、更新終了。 ブラウザ管理画面から、「拡張機能 》SSO 》Simple XML Sitemap 》Configure」 が可能になった。 このURLは、 > https://サイトのドメイン/admin/config/search/simplesitemap である。
PostgreSQL Conference Japan 2026

2026 年 11 月 27 日(金)に AP東京八重洲にてカンファレンスを開催いたします。スポンサー、講演を募集中です。

» 詳細

協賛会員一覧

SRA OSS
NECソリューションイノベータ株式会社 様
NTT株式会社 様
富士通株式会社 様
NTTドコモソリューションズ株式会社 様
株式会社アシスト
株式会社インサイト
LPI-Japan 様
エンタープライズDB株式会社
ユニアデックス株式会社 様
PostgreSQLエンタープライズ・コンソーシアム
株式会社インプリム 様
システム開発合同会社様

» 協賛会員について

外部リンク

PostgreSQL 本家
PostgreSQL 台灣

RSS feed
ホーム
分科会・委員会
ダウンロード
ドキュメント
イベント
お知らせ
ニュース
カレンダー
ユーザ会の目的
ウェブ会員登録
会員制度について
協賛会員
理事会
総会
JPUG感謝賞
メーリングリスト
北海道支部
東北支部
新潟支部
関西支部
中国支部
九州支部
沖縄支部
コンタクト
プライバシーポリシー

各種コミュニティ
Lets Postgres