change to php 8 causes Unsupported operand types: string + string

Created on 7 September 2023, 10 months ago
Updated 11 September 2023, 10 months ago

Problem/Motivation

Since we changed to php 8.1 the attached file gives the error
php Error TypeError: Unsupported operand types: string + string in __TwigTemplate_8094a737adc00d46b4b28a8e4ca8728f->doDisplay() (line 39 of /app/docroot/sites/default/files/php/twig/64f237df80199___

I tried adding |number_format after all the data variables but still get this error.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Fixed

Version

6.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dianacastillo Miami

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024