Warning: Trying to access array offset on value of type int in Drupal\domain_path_pathauto\DomainPathautoHelper->validateAlteredForm()

Created on 5 May 2023, about 1 year ago
Updated 15 August 2023, 11 months ago

Problem/Motivation

Throws this when saving a product

Warning: Trying to access array offset on value of type bool in Drupal\domain_path_pathauto\DomainPathautoHelper->validateAlteredForm() (line 163 of modules/domain_path/modules/domain_path_pathauto/src/DomainPathautoHelper.php).
Drupal\domain_path_pathauto\DomainPathautoHelper->validateAlteredForm(Array, Object)
call_user_func_array(Array, Array) (Line: 82)
Drupal\Core\Form\FormValidator->executeValidateHandlers(Array, Object) (Line: 275)
Drupal\Core\Form\FormValidator->doValidateForm(Array, Object, 'commerce_product_product_edit_form

Steps to reproduce

TBD

Proposed resolution

Check if $domain_path_data is an array on DomainPathautoHelper.php#L161

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bobburns

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

Comments & Activities

Production build 0.69.0 2024