Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

PHP Fatal error: Cannot redeclare LkWdwrd\MuPluginLoader\Util\rel_path()  #113

@alapiere

Description

@alapiere

Hi,
I've got an error in logs and in specific custom BO page;

Not sure what caused this.

PHP Fatal error: Cannot redeclare LkWdwrd\MuPluginLoader\Util\rel_path() (previously declared in /www/XX/public/vendor/boxuk/wp-muplugin-loader/src/Util/util.php:23) in /www/XX/public/vendor/boxuk/wp-muplugin-loader/src/Util/util.php on line 23"

  "require": {
     (..)
    "boxuk/wp-muplugin-loader": "*",

 "config": {
  "require-all": true,
    "allow-plugins": {
      (..)
      "boxuk/wp-muplugin-loader": true
    }

if I remove mu-require.php from mu-plugins, it works fine.
Happy to provide any additional troubleshooting instructions if needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions