Deprecated in PHP 8.0: Required parameter

Created on 13 September 2022, over 2 years ago
Updated 9 January 2024, about 1 year ago

Problem/Motivation

When switching to PHP8, I got the following issue:
PHP Deprecated: Required parameter $data follows optional parameter $module_name in /var/www/html/docroot/sites/all/modules/contrib/block_access/block_access.module on line 717

Proposed resolution

Update parameters in the function declaration.

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Alina Basarabeanu

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