Drupal モジュールには次のような数行のコードがあります。
if ($arg == 'true' && isset($_SESSION['xyz']['noredirect'])) {
unset($_SESSION['xyz']['noredirect']);
}
2 行目が実行されると、次のエラーが発生します。
Error messageNotice: Undefined variable: _SESSION in blah() (line 122 of /home/xxxxxxx/public_html/sites/all/modules/blah/blah.module).
セッションが設定されているのに、設定を解除できない理由がまったくわかりません。
何か案は?
ありがとう