Notice: Trying to access array offset on value of type int in format_string()

Created on 15 February 2021, over 3 years ago
Updated 2 February 2023, over 1 year ago

After updating to PHP7.4 I get warning messages:

Notice: Trying to access array offset on value of type int in format_string() (line 1826 of /var/www/html/web/includes/bootstrap.inc).

This is coming from variables sent to the t() function where the key and value are separated by a comma, making it a regular array with 2 items instead of an associative array with 1 item.

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand scott.whittaker

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024