PHP Deprecated: Required parameter $form_state follows optional parameter $input

Created on 21 October 2022, about 2 years ago
Updated 25 November 2023, 12 months ago

Problem/Motivation

PHP Deprecated: Required parameter $form_state follows optional parameter $input in /var/www/html/public/sites/all/modules/imagefield_crop/imagefield_crop.module on line 782

Steps to reproduce

Run drush up with PHP 8.0

Proposed resolution

Make $form_state optional too as core does here in file_field_widget_value

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada joelpittet Vancouver

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

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

Sign in to follow issues

Merge Requests

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