Error while installing the module

Created on 4 February 2025, about 2 months ago

Problem/Motivation

The module doesn't get installed on Drupal 11 and throws the following error:
Fatal error: Declaration of Drupal\markdown\Plugin\Markdown\Parsedown\Parsedown::__sleep() must be compatible with Drupal\Core\Plugin\PluginBase::__sleep(): array in /code/web/modules/contrib/markdown/src/Plugin/Markdown/Parsedown/Parsedown.php on line 65

Steps to reproduce

Installed the module via composer and composer lenient package for durpal 11
installed league/commonmark as parser.

When tried to installed then i get the above error

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡΅πŸ‡°Pakistan Qaiser iqbal

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