- Issue created by @vibrasphere
- π±πΉLithuania vibrasphere
Getting this with PHP 7.4 too now, but only while deploying new projects, old websites do not produce this error.
Potential/similar fix maybe? https://www.drupal.org/project/drupal/issues/3314719 π Notice: Trying to access array offset on value of type null in _field_write_instance() Needs review
- π±πΉLithuania vibrasphere
Tried applying same logic from https://www.drupal.org/project/commerce_option/issues/3192150 β but no result.
- First commit to issue fork.
- @sano opened merge request.
- πΈπ°Slovakia sano
I encountered the same error on a different line in the code and fixed it in the cited merge request.
- Status changed to Needs review
almost 2 years ago 12:56pm 19 August 2023 - Status changed to RTBC
24 days ago 11:31pm 15 May 2025 - π±πΉLithuania vibrasphere
Patch works, thanks.
We have another one now after adding the product to cart, same module.
Warning: Trying to access array offset on value of type null in commerce_pricing_attributes_add_to_cart_submit() (line 974 of /sites/all/modules/commerce_pricing_attributes/commerce_pricing_attributes.module).