Argument #6 ($seed) must be of type ?int, string given

Created on 22 May 2024, about 1 month ago
Updated 5 June 2024, 18 days ago

Problem/Motivation

I updated a bunch of modules in my AI testing repository and suddenly "Analyze SEO" broke. When I click "Analyze", nothing happens and I get the following error in Drupal log:
TypeError: Drupal\openai\OpenAIApi::chat(): Argument #6 ($seed) must be of type ?int, string given, called in /var/www/html/web/modules/contrib/openai_seo/src/OpenAiAnalyzer.php on line 221 in Drupal\openai\OpenAIApi->chat() (line 227 of /var/www/html/web/modules/contrib/openai/src/OpenAIApi.php)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇮Finland mErilainen

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024