PHP Fatal error: Declaration of Views link area options are not compatible

Created on 16 January 2023, about 2 years ago
Updated 4 September 2024, 6 months ago

Problem/Motivation

I'm getting this error when updating version 2.0.
PHP Fatal error: Declaration of Drupal\views_linkarea\Plugin\views\area\Link::buildOptionsForm(Drupal\views_linkarea\Plugin\views\area\mixed &$form, Drupal\Core\Form\FormStateInterface $form_state): void must be compatible with Drupal\views\Plugin\views\area\TokenizeAreaPluginBase::buildOptionsForm(&$form, Drupal\Core\Form\FormStateInterface $form_state) in /var/www/html/drupal9/web/modules/contrib/views_linkarea/src/Plugin/views/area/Link.php on line 130

Steps to reproduce

Install module and add link in header from the link area field. This will give error.

But it is working fine with the version 1.3
Thanks

🐛 Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

🇮🇳India AnokR

Live updates comments and jobs are added and updated live.
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.71.5 2024