Warning for undefined array keys

Created on 25 June 2024, 6 months ago
Updated 10 July 2024, 5 months ago

Problem/Motivation

When adding a node that has text fields which uses the ai_interpolator, this warning appear:

Warning: Undefined array key "openai_joiner" in Drupal\ai_interpolator_openai\OpenAiTextBase->generate()
 (line 38 of modules/contrib/ai_interpolator_openai/src/OpenAiTextBase.php).

Proposed resolution

Add checking if this array key is defined..

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇯🇴Jordan odai jbr

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

Comments & Activities

Production build 0.71.5 2024