カレンダーでイベントを作成した後、エクスプレスの属性(カレンダーイベント)として使用したいと考えています。
Expressフォームでエントリーを追加することには成功しましたが、
Expressエントリーリストブロックで一覧表示する際、そのカレンダーイベントを検索項目に指定するとエラーになってしまいます。
/concrete/attributes/calendar_event/search.php の3行目にて
Undefined variable $calendarID
また、Expressエントリーリストブロック設定内「フィルタ」のフィールドとしてこのカレンダーイベントを使用してもエラーとなります。
何か設定が足りないのか、バグなのか判断できずにおります。
対応方法等ご教示いただけないでしょうか。
よろしくお願いいたします。
Concrete Version
Core Version - 9.2.5
Version Installed - 9.2.5
Database Version - 20240122172319
Database Information
Version: 10.5.15-MariaDB-log
SQL Mode:
PHP Version
8.1.22
▼フィルタとして設定時のエラー
カレンダー
Fatal error: Uncaught Whoops\Exception\ErrorException: Undefined variable $calendarID in serverpass/concrete/attributes/calendar_event/search.php:3 Stack trace: #0 serverpass/concrete/attributes/calendar_event/search.php(3): Whoops\Run->handleError(2, ‘Undefined varia…’, ‘/home/serverID/…’, 3) #1 serverpass/concrete/src/View/AbstractView.php(180): include(‘/home/serverID/…’) #2 serverpass/concrete/src/View/AbstractView.php(164): Concrete\Core\View\AbstractView->renderViewContents(Array) #3 serverpass/concrete/src/Search/Field/AttributeKeyField.php(83): Concrete\Core\View\AbstractView->render(Object(Concrete\Core\Attribute\Context\BasicSearchContext)) #4 serverpass/concrete/src/Search/Field/AbstractField.php(51): Concrete\Core\Search\Field\AttributeKeyField->renderSearchField() #5 serverpass/concrete/src/Search/Field/AttributeKeyField.php(124): Concrete\Core\Search\Field\AbstractField->jsonSerialize() #6 [internal function]: Concrete\Core\Search\Field\AttributeKeyField->jsonSerialize() #7 serverpass/concrete/src/Error/Handler/JsonErrorHandler.php(79): json_encode(Array) #8 serverpass/concrete/vendor/filp/whoops/src/Whoops/Run.php(398): Concrete\Core\Error\Handler\JsonErrorHandler->handle(Object(Whoops\Exception\ErrorException)) #9 [internal function]: Whoops\Run->handleException(Object(Whoops\Exception\ErrorException)) #10 {main} thrown in serverpass/concrete/attributes/calendar_event/search.php on line 3
{“error”:{“type”:“Whoops\Exception\ErrorException”,“message”:“Uncaught Whoops\Exception\ErrorException: Undefined variable $calendarID in serverpass/concrete/attributes/calendar_event/search.php:3\nStack trace:\n#0 serverpass/concrete/attributes/calendar_event/search.php(3): Whoops\Run->handleError(2, ‘Undefined varia…’, ‘/home/serverID/…’, 3)\n#1 serverpass/concrete/src/View/AbstractView.php(180): include(‘/home/serverID/…’)\n#2 serverpass/concrete/src/View/AbstractView.php(164): Concrete\Core\View\AbstractView->renderViewContents(Array)\n#3 serverpass/concrete/src/Search/Field/AttributeKeyField.php(83): Concrete\Core\View\AbstractView->render(Object(Concrete\Core\Attribute\Context\BasicSearchContext))\n#4 serverpass/concrete/src/Search/Field/AbstractField.php(51): Concrete\Core\Search\Field\AttributeKeyField->renderSearchField()\n#5 serverpass/concrete/src/Search/Field/AttributeKeyField.php(124): Concrete\Core\Search\Field\AbstractField->jsonSerialize()\n#6 [internal function]: Concrete\Core\Search\Field\AttributeKeyField->jsonSerialize()\n#7 serverpass/concrete/src/Error/Handler/JsonErrorHandler.php(79): json_encode(Array)\n#8 serverpass/concrete/vendor/filp/whoops/src/Whoops/Run.php(398): Concrete\Core\Error\Handler\JsonErrorHandler->handle(Object(Whoops\Exception\ErrorException))\n#9 [internal function]: Whoops\Run->handleException(Object(Whoops\Exception\ErrorException))\n#10 {main}\n thrown”,“code”:1,“file”:“serverpass/concrete/attributes/calendar_event/search.php”,“line”:3,“trace”:[{“file”:“serverpass/concrete/attributes/calendar_event/search.php”,“line”:3,“function”:null,“class”:“Whoops\Exception\ErrorException”,“args”:[“Uncaught Whoops\Exception\ErrorException: Undefined variable $calendarID in serverpass/concrete/attributes/calendar_event/search.php:3\nStack trace:\n#0 serverpass/concrete/attributes/calendar_event/search.php(3): Whoops\Run->handleError(2, ‘Undefined varia…’, ‘/home/serverID/…’, 3)\n#1 serverpass/concrete/src/View/AbstractView.php(180): include(‘/home/serverID/…’)\n#2 serverpass/concrete/src/View/AbstractView.php(164): Concrete\Core\View\AbstractView->renderViewContents(Array)\n#3 serverpass/concrete/src/Search/Field/AttributeKeyField.php(83): Concrete\Core\View\AbstractView->render(Object(Concrete\Core\Attribute\Context\BasicSearchContext))\n#4 serverpass/concrete/src/Search/Field/AbstractField.php(51): Concrete\Core\Search\Field\AttributeKeyField->renderSearchField()\n#5 serverpass/concrete/src/Search/Field/AttributeKeyField.php(124): Concrete\Core\Search\Field\AbstractField->jsonSerialize()\n#6 [internal function]: Concrete\Core\Search\Field\AttributeKeyField->jsonSerialize()\n#7 serverpass/concrete/src/Error/Handler/JsonErrorHandler.php(79): json_encode(Array)\n#8 serverpass/concrete/vendor/filp/whoops/src/Whoops/Run.php(398): Concrete\Core\Error\Handler\JsonErrorHandler->handle(Object(Whoops\Exception\ErrorException))\n#9 [internal function]: Whoops\Run->handleException(Object(Whoops\Exception\ErrorException))\n#10 {main}\n thrown”]},{“file”:“serverpass/concrete/vendor/filp/whoops/src/Whoops/Run.php”,“line”:514,“function”:“handleError”,“class”:“Whoops\Run”,“args”:[1,“Uncaught Whoops\Exception\ErrorException: Undefined variable $calendarID in serverpass/concrete/attributes/calendar_event/search.php:3\nStack trace:\n#0 serverpass/concrete/attributes/calendar_event/search.php(3): Whoops\Run->handleError(2, ‘Undefined varia…’, ‘/home/serverID/…’, 3)\n#1 serverpass/concrete/src/View/AbstractView.php(180): include(‘/home/serverID/…’)\n#2 serverpass/concrete/src/View/AbstractView.php(164): Concrete\Core\View\AbstractView->renderViewContents(Array)\n#3 serverpass/concrete/src/Search/Field/AttributeKeyField.php(83): Concrete\Core\View\AbstractView->render(Object(Concrete\Core\Attribute\Context\BasicSearchContext))\n#4 serverpass/concrete/src/Search/Field/AbstractField.php(51): Concrete\Core\Search\Field\AttributeKeyField->renderSearchField()\n#5 serverpass/concrete/src/Search/Field/AttributeKeyField.php(124): Concrete\Core\Search\Field\AbstractField->jsonSerialize()\n#6 [internal function]: Concrete\Core\Search\Field\AttributeKeyField->jsonSerialize()\n#7 serverpass/concrete/src/Error/Handler/JsonErrorHandler.php(79): json_encode(Array)\n#8 serverpass/concrete/vendor/filp/whoops/src/Whoops/Run.php(398): Concrete\Core\Error\Handler\JsonErrorHandler->handle(Object(Whoops\Exception\ErrorException))\n#9 [internal function]: Whoops\Run->handleException(Object(Whoops\Exception\ErrorException))\n#10 {main}\n thrown”,“serverpass/concrete/attributes/calendar_event/search.php”,3]},{“file”:“[internal]”,“line”:0,“function”:“handleShutdown”,“class”:“Whoops\Run”,“args”:}]},“errors”:["Uncaught Whoops\Exception\ErrorException: Undefined variable $calendarID in serverpass/concrete/attributes/calendar_event/search.php:3\nStack trace:\n#0 serverpass/concrete/attributes/calendar_event/search.php(3): Whoops\Run->handleError(2, ‘Undefined varia…’, ‘/home/serverID/…’, 3)\n#1 serverpass/concrete/src/View/AbstractView.php(180): include(‘/home/serverID/…’)\n#2 serverpass/concrete/src/View/AbstractView.php(164): Concrete\Core\View\AbstractView->renderViewContents(Array)\n#3 serverpass/concrete/src/Search/Field/AttributeKeyField.php(83): Concrete\Core\View\AbstractView->render(Object(Concrete\Core\Attribute\Context\BasicSearchContext))\n#4 serverpass/concrete/src/Search/Field/AbstractField.php(51): Concrete\Core\Search\Field\AttributeKeyField->renderSearchField()\n#5 serverpass/concrete/src/Search/Field/AttributeKeyField.php(124): Concrete\Core\Search\Field\AbstractField->jsonSerialize()\n#6 [internal function]: Concrete\Core\Search\Field\AttributeKeyField->jsonSerialize()\n#7 serverpass/concrete/src/Error/Handler/JsonErrorHandler.php(79): json_encode(Array)\n#8 serverpass/concrete/vendor/filp/whoops/src/Whoops/Run.php(398): Concrete\Core\Error\Handler\JsonErrorHandler->handle(Object(Whoops\Exception\ErrorException))\n#9 [internal function]: