Trying to access array offset on value of type bool

Created on 20 January 2023, over 1 year ago
Updated 24 January 2023, over 1 year ago

Problem/Motivation

PHP8 warnings are observed during adding a Search environment on 'admin/config/search/apachesolr/settings/add' page.

Text of warnings

Warning: Trying to access array offset on value of type bool in apachesolr_multisitesearch_form_apachesolr_environment_edit_form_alter() (line 87 of ../apachesolr_multisitesearch/apachesolr_multisitesearch.module).
Warning: Trying to access array offset on value of type bool in apachesolr_multisitesearch_form_apachesolr_environment_edit_form_alter() (line 97 of ../apachesolr_multisitesearch/apachesolr_multisitesearch.module).
πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ΎBelarus alena_stanul

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.

  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.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