assert(is_int($mixedCount) failure on admin/config. Also fix other errors

Created on 4 April 2024, 3 months ago
Updated 18 April 2024, 2 months ago

Problem/Motivation

In some yet undefined conditions, the module may fail an assertion like this:

The website encountered an unexpected error. Try again later.

AssertionError: assert(is_int($mixedCount)) in assert() (line 262 of modules/contrib/g2/src/Requirements.php).
Drupal\g2\Requirements->prepareStatisticCheck() (Line: 288)
Drupal\g2\Requirements->checkStatistics() (Line: 87)
g2_requirements('runtime')

Steps to reproduce

TBD

Proposed resolution

TBD

Remaining tasks

Identify reproduction steps.

User interface changes

None expected.

API changes

None expected.

Data model changes

None expected.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France fgm Paris, France

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