ChrisRAoW / mautic-rss-to-email-bundle

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

Symfony/SimplePie issue after Mautic update #13

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hello Chris,

Since the latest Mautic update, I am getting this error. Any suggestions for a fix?

mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ClassNotFoundException: "Attempted to load class "SimplePie" from the global namespace. Did you forget a "use" statement?" at /var/www/html/aofanews/plugins/MauticRssToEmailBundle/Feed/Feed.php line 12 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\ClassNotFoundException(code: 0): Attempted to load class \"SimplePie\" from the global namespace.\nDid you forget a \"use\" statement? at /var/www/html/aofanews/plugins/MauticRssToEmailBundle/Feed/Feed.php:12)"}

Thanks and regards,

ChrisRAoW commented 6 years ago

Reinstall the plug-in should work.

Verstuurd vanaf mijn iPhone

Op 14 aug. 2018 om 21:39 heeft pradeepm notifications@github.com het volgende geschreven:

Hello Chris,

Since the latest Mautic update, I am getting this error. Any suggestions for a fix?

mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ClassNotFoundException: "Attempted to load class "SimplePie" from the global namespace. Did you forget a "use" statement?" at /var/www/html/aofanews/plugins/MauticRssToEmailBundle/Feed/Feed.php line 12 {"exception":"[object] (Symfony\Component\Debug\Exception\ClassNotFoundException(code: 0): Attempted to load class \"SimplePie\" from the global namespace.\nDid you forget a \"use\" statement? at /var/www/html/aofanews/plugins/MauticRssToEmailBundle/Feed/Feed.php:12)"}

Thanks and regards,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ghost commented 6 years ago

Worked like a charm! Many thanks!

milosrusov commented 5 years ago

Hi guys, can you please tell me how to install simplepie by using compoer? Composer just kills the process. I am getting the sam error.

ChrisRAoW commented 5 years ago

@milosrusov I know what you know. I already want to imclude the library into this plugin so you only have to install it once and stay safe on Mautic update. Haven't had the time you to fix. Will try to push it through this week.

milosrusov commented 5 years ago

Thank you so much Chris! :)

ChrisRAoW commented 5 years ago

@milosrusov I just pushed a new version. Can you try to download the package from github and upload it to the plugins directory of Mautic? To be safe just follow the steps in the documentation.

milosrusov commented 5 years ago

Works like a charm! :D Thank you once again!