ChrisRAoW / mautic-rss-to-email-bundle

Mautic plugin to send emails from RSS
103 stars 23 forks source link

Cannot declare class MauticPlugin\GrapesJsBuilderBundle\GrapesJsBuilderBundle, because the name is already in use #38

Closed TonyBogdanov closed 3 years ago

TonyBogdanov commented 3 years ago

When I install this plugin with composer require I get the above error during cache:clear.

I'm pretty sure it's caused by this line: https://github.com/ChrisRAoW/mautic-rss-to-email-bundle/blob/d5532047642b54129690fc18625a372f75ca678c/MauticRssToEmailBundle.php#L20

What's it's purpose? Mautic already uses the composer autoloader (at least in development mode). If this is some weird edge case, it should at least be include_once.

TonyBogdanov commented 3 years ago

Actually I just realised this references some custom loader within the plugin, but the above issue is still quite real. I forgot to mention that this happens with Mautic 3.3.2.

TonyBogdanov commented 3 years ago

Just did some more testing and it looks like all of this is already resolved in master. In fact, master installs beautifully in all of the following Mautic versions:

Perhaps you could just release it?

ChrisRAoW commented 3 years ago

@TonyBogdanov Good point. I tagged it version 1.5.