mautic / mautic-joomla

Joomla Plugin
16 stars 16 forks source link

Fatal error on Joomla 2.5 #32

Open robwent opened 6 years ago

robwent commented 6 years ago

There is a Joomla version check here: https://github.com/mautic/mautic-joomla/blob/master/mauticApiHelper.php#L45

If the version is lower than 3.2 it tries to load /lib/Mautic/AutoLoader.php which doesn't exist.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/57741560-fatal-error-on-joomla-2-5?utm_campaign=plugin&utm_content=tracker%2F9142147&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F9142147&utm_medium=issues&utm_source=github).
robwent commented 6 years ago

Apparently adding this file back makes everything work https://github.com/mautic/mautic-joomla/blob/15b226b9d46c32ce17d8771dd825862e3b4b45bd/lib/Mautic/AutoLoader.php

robwent commented 6 years ago

https://mautic.slack.com/archives/C02HU8BUT/p1525041015000029

brentwilliams2 commented 6 years ago

Unsure if plugin works successfully after adding that file, but the plugin fails when "Send Registered Users" is turned on:

Fatal error: Interface 'Psr\Log\LoggerAwareInterface' not found in /chroot/home/mysite.com/html/plugins/system/mautic/lib/Mautic/Api/Api.php on line 23