Undefined array key "argument"

Created on 19 April 2022, about 2 years ago
Updated 20 March 2023, over 1 year ago

Problem/Motivation

When using the version 8.x-1.7 with PHP 8.1 and clearing the cache on a page/view where the view reference field is used,
the following error appears:

Warning: Undefined array key "argument" in Drupal\viewsreference\Plugin\Field\FieldFormatter\ViewsReferenceFieldFormatter->viewElements() (line 82 of /myproject/web/modules/contrib/viewsreference/src/Plugin/Field/FieldFormatter/ViewsReferenceFieldFormatter.php)

Proposed resolution

Added a patch to fix the issue

πŸ› Bug report
Status

Needs review

Version

1.7

Component

Code

Created by

πŸ‡­πŸ‡·Croatia Marijan Gudelj

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024