TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in implode() (line 120 of modules/contrib/potion/potion.install).

Created on 15 March 2023, over 1 year ago
Updated 16 March 2023, over 1 year ago

Problem/Motivation

Because of a bug in potion.install it leaves the admin area unusable.

Steps to reproduce

Install potion module and login.

Proposed resolution

Fix wrongly placed parameters in implode functions.

Remaining tasks

  1. Fix wrongly placed parameters in implode functions.
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇰Denmark miksan

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

Comments & Activities

  • Issue created by @miksan
  • 🇩🇰Denmark miksan

    Here is a patch fixing the wrong order of arguments to the implode functions in potion.install...

  • 🇩🇰Denmark miksan

    Sorry. This is the right patch.

  • 🇨🇭Switzerland wengerk Lausanne

    Hello Miksan,

    Thank you for your contribution to the "Potion" module. However, I regret to inform you that the "Potion" module has been discontinued and is no longer actively maintained. As a result, I cannot merge any new code into the module.

    I appreciate your interest in contributing to the module, and I want to thank you for your efforts. If you or anyone else is interested in taking over the maintenance of the module, please let me know. I would be more than happy to transfer the ownership to someone who is willing to continue developing and supporting the module.

    Thank you again for your contribution, and I hope to hear back from you soon.

Production build 0.71.5 2024