Notice: Trying to access array offset on value of type bool with PHP 7.4

Created on 18 May 2021, over 3 years ago
Updated 31 October 2023, about 1 year ago

Problem/Motivation

After updating to PHP 7.4 I get this message:

Notice: Trying to access array offset on value of type bool en webform2pdf_enabled_pdf_access() (line 18 on /[...]/sites/all/modules/webform2pdf/webform2pdf.module).

Steps to reproduce

The only change was updating to PHP 7.4 version.

It shows the error when "Generate PDF Document" is disabled in the webform

πŸ› Bug report
Status

Fixed

Version

4.1

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain Sistemas SUMADOS

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

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

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.71.5 2024