Creation of dynamic property DrupalFileCache::$bin is deprecated

Created on 16 December 2023, 11 months ago
Updated 23 December 2023, 11 months ago

Problem/Motivation

In shared PHP hosting site enabling PHP 8.2 gets me these errors:


    Deprecated function: Creation of dynamic property DrupalFileCache::$bin is deprecated in DrupalFileCache->__construct() (line 110 of /home/X/domains/X/public_html/sites/all/modules/filecache/filecache.inc).
    Deprecated function: Creation of dynamic property DrupalFileCache::$directory is deprecated in DrupalFileCache->__construct() (line 111 of /home/X/domains/X/public_html/sites/all/modules/filecache/filecache.inc).
    Deprecated function: Creation of dynamic property DrupalFileCache::$ok is deprecated in DrupalFileCache->__construct() (line 113 of /home/X/domains/X/public_html/sites/all/modules/filecache/filecache.inc).

Steps to reproduce

Run File Chache in Drupal 7.x with PHP 8.2

Proposed resolution

IDK.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Component

Code

Created by

🇱🇹Lithuania Talkless

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024