Any updates on this? We would really like to use this plugin in conjunction with the Mailerlite Developed Woocommerce Plugin but the two plugins currently conflict.
Hello,
Yes, I am also having the same issue with same error message when enabling WordPress debug:
Fatal error: Cannot redeclare Clue\StreamFilter\register() (previously declared in /home/xxxx/public_html/wp-content/plugins/connector-gravityforms-mailerlite/vendor/clue/stream-filter/src/functions.php:140) in /home/xxxx/public_html/wp-content/plugins/woo-mailerlite/vendor/clue/stream-filter/src/functions.php on line 127
Many of us do use this plugin together with the WooCommerce MailerLite plugin, will be good to have a quick solution since our website is live!
Any quick solution for this please??
The issue has to do with namespacing in the plugin. If you do a find/replace and rename the “Clue\StreamFilter” to “Clue\StreamFilter2” it will resolve the issue. The plugin developer simply needs to fix their namespacing.
Thanks Martessi,
This seems to have fixed the issue!
Thanks again.
Sven
The problem is because the official plugin for WooCommerce and this connector are using the same class name. 😉
The issue has to do with namespacing in the plugin. If you do a find/replace and rename the “Clue\StreamFilter” to “Clue\StreamFilter2” it will resolve the issue. The plugin developer simply needs to fix their namespacing.
I am not that good into coding! Can anyone please explain me better which file to edit and what to edit please? I have been struggling with this issue for 3 weeks now and can’t find a quick solution!!!
Simply use your favorite code editor and do a search and replace (Cmd + F on MacOS or Ctrl + F on Windows). Then, search for Clue\StreamFilter and replace with something like Clue\StreamFilter2. Save and replace all files on the server.
Salut Aurélien,
Thanks for helping, I understand and know how to search, but in which file I should search to replace Clue\StreamFilter with Clue\StreamFilter2? In this file plugins/connector-gravityforms-mailerlite/vendor/clue/stream-filter/src/functions.php ?
In the entire folder of this plugin 😉
Hello! I’ve solved in version 1.2