Parameter order leads to PHP warning

Created on 6 October 2025, 6 days ago

Problem/Motivation

When upgrading to PHP 8, we get the following warning message:
Deprecated: Optional parameter $path declared before required parameter $langcode is implicitly treated as a required parameter in /app/public/sites/all/modules/contrib/ckeditor_link/ckeditor_link.module on line 328

Steps to reproduce

Upgrade PHP when CKEditor is installed

Proposed resolution

I have already fixed the issue -- just posting to save the next person some time. Apply the attached patch to change the module order.

Remaining tasks

none

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ezra

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

    The issue particularly affects sites running on PHP version 8.2.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.

No activities found.

Production build 0.71.5 2024