- Status changed to Needs work
over 1 year ago 8:34pm 4 May 2023 - 🇺🇸United States jacobbell84
This doesn't appear to be fixed in the latest version. My site is getting the same error and in looking at what's committed into your repo it's not matching the patches people are linking to here.
The current repo looks like this
$view_arg = !empty($this->configuration['view_arg']) ? $this->configuration['view_arg'] : NULL; ...... if (!empty($this->configuration['view_arg'])) { $view->setArguments($view_arg); }
But this version is missing the part of the other patches where it's wrapping the argument in an array. I believe it should be like this:
$view->setArguments([$view_arg]);
-
g089h515r806 →
committed 5640a812 on 8.x-1.x
Issue #3204724 by jacobbell84: ypeError: Argument 1 passed to Drupal\...
-
g089h515r806 →
committed 5640a812 on 8.x-1.x
- First commit to issue fork.
- @sakthi_dev opened merge request.
- Status changed to Needs review
over 1 year ago 9:06am 5 May 2023 -
sakthi_dev →
committed 82aa17a8 on 8.x-1.x
Issue#3204724: Resolve typeerror.
-
sakthi_dev →
committed 82aa17a8 on 8.x-1.x
-
g089h515r806 →
committed 19ee5faf on 8.x-1.x
Issue #3204724 by g089h515r806: ypeError: Argument 1 passed to Drupal\...
-
g089h515r806 →
committed 19ee5faf on 8.x-1.x
- Status changed to Fixed
over 1 year ago 12:27pm 20 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.