-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error: Cannot redeclare LkWdwrd\MuPluginLoader\Util\rel_path() #113
Comments
Hey @alapiere Do you have any other mu-plugin loader packages in your |
@jdamner error message
composer.json
Maybe it's because we require the utils here for composer: https://github.com/boxuk/wp-muplugin-loader/blob/master/src/Composer/MuLoaderPlugin.php#L32 After commenting out the latter it worked. |
For us this seems to be happening when the theme (or plugin) is requiring the I guess a simple, but not very elegant, fix would be to add some |
Same problem here. |
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"
if I remove mu-require.php from mu-plugins, it works fine.
Happy to provide any additional troubleshooting instructions if needed
The text was updated successfully, but these errors were encountered: