Conflict with Fast Velocity Minify, using same minify library
-
Getting this error when using WordPress File Upload with Fast Velocity Minify:
PHP Fatal error: Cannot declare class MatthiasMullie\Minify\Minify, because the name is already in use in /home/sites/xxxxxx/www/wp-content/plugins/wp-file-upload/vendor/minifier/minify/src/Minify.php on line 26
This plugin is using the minification library from: https://github.com/matthiasmullie/minify, and FVM also includes that library as well.
It seems there should be an “if” statement to “not include that library” if it’s already defined somewhere else, OR rename it so it doesn’t conflict with other plugins.
I posted about this on the Fast Velocity Minify support page, and the FVM author said, “I have posted on their support forum a fix, however it depends on the author to implement it or not, or you could do that change yourself.”
He also noted that while testing WordPress File Upload on a default wordpress install, with only the default 2019 theme and no other plugins, that there are other errors on the console log: https://prntscr.com/n3osif.
Do you think these things will be addressed soon?
Thanks!
- The topic ‘Conflict with Fast Velocity Minify, using same minify library’ is closed to new replies.