PHP 8 and Drupal 9 deprecation error

Created on 20 February 2024, over 1 year ago

Problem/Motivation

I'm following up from the PHP 8 deprecation error πŸ› PHP 8 deprecation error Needs review issue. In that case, they're managing version 7.x-2.0, so the patch doesn't apply. Additionally, I've encountered another issue related to Drupal 9 deprecation files. Therefore, the plan is to address both issues in a single patch for the alpha3 version.
Any suggestions for alternative approaches or updates regarding deprecated code are welcome

Proposed resolution

Change line 189 of fullcalendar.module from:

$fullcalendar_plugin = file_get_contents($fullcalendar_path, NULL, NULL, 0, 40);

to:

$fullcalendar_plugin = file_get_contents($fullcalendar_path, false, NULL, 0, 40);

Remove line 4 of fullcalendar.info.yml

core: 8.x

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain gmoraleb

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

Comments & Activities

Production build 0.71.5 2024