DateRecurModularSierraModalOccurrencesForm.php: foreach() argument must be of type array|object, string given

Created on 14 November 2024, about 1 month ago

Problem/Motivation

Object { message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 200\nDebugging information follows.\nPath: /date-recur-modular/sierra-modal-exclude-form?ajax_form=1\nStatusText: parsererror\nResponseText: \n( ! ) Warning: foreach() argument must be of type array|object, string given in /var/www/html/public/modules/contrib/date_recur_modular/src/Form/DateRecurModularSierraModalOccurrencesForm.php on line 395\nCall Stack\n#TimeMemoryFunctionLocation\n10.0151512568{main}(  ).../index.php:0\n20.1146705592Drupal\\Core\\DrupalKernel->handle( $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = [...] }; public $request = class Symfony\\Component\\HttpFoundation\\InputBag { protected $parameters = [...] }; public $query = class Symfony\\Component\\HttpFoundation\\InputBag { protected $parameters = [...] }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = [...] }; public $files = …", name: "AjaxError", stack: "@https://site.test/core/misc/ajax.js?v=10.3.8:196:32\n@https://site.test/core/misc/ajax.js?v=10.3.8:1922:3\n" }

Steps to reproduce

  1. With Sierra on a node create page
  2. Open the Show/exclude occurrences without setting a date
  3. Try to click "Done" and this will be in the console.

Proposed resolution

Debug and propose a patch

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.2

Component

Code

Created by

🇨🇦Canada joelpittet Vancouver

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024