Created on 1 March 2023, about 2 years ago

Problem/Motivation

Hi, when enabling PHP 8.0 and clearing caches,
A true/false quiz at the end before the results page gives "website encountered a error" and in the logs is this:

TypeError: PDOStatement::fetchAll(): Argument #2 must be of type int, string given in PDOStatement->fetchAll() (line 2299 of /var/www/html/drupal7/web/includes/database/database.inc).

When switching back to php7.4 all works.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

5.8

Component

Code - Quiz core

Created by

🇫🇮Finland anaconda777

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

Comments & Activities

Production build 0.71.5 2024