Crashes when adding configuration

Created on 8 May 2023, over 1 year ago
Updated 30 June 2024, 5 months ago

Hi,

Very excited to try this module in depth, however, I'm running into a problem after trying to install it on a new Drupal instance.

Problem/Motivation

After installing Prompt, tyring to add a config at admin/config/system/prompt/add results in an error "The website encountered an unexpected error. Please try again later."

Tested on fresh Drupal 10.0.9 install with a few additional modules, and a vanilla standard install of 10.0.8.

Error log reports the following:

TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "token_element_validate" not found or invalid function name in call_user_func_array() (line 1083 of /var/www/***/core/lib/Drupal/Core/Form/FormBuilder.php).

Steps to reproduce

Install drupal 10 using the standard profile
Install prompt module as well as the ChatGPT and GPT3 sub modules
Enter secret key at ChatGPT and GPT3 settings pages
Visit admin/config/system/prompt and click on "Add prompt configuration setting"
Boom, you're dead.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇹🇭Thailand AlfTheCat

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

Comments & Activities

Production build 0.71.5 2024