Leuchtfeuer / auth0-for-mautic

This Mautic plugin connects Mautic with Auth0.
https://www.Leuchtfeuer.com
GNU General Public License v3.0
12 stars 5 forks source link

Cannot install Plugin on 5.1.0 #14

Open djimatr opened 2 months ago

djimatr commented 2 months ago

Describe the bug When trying to install the plugin it errors out after trying to clear the cache

To Reproduce Steps to reproduce the behavior:

  1. After adding the plugin to the plugin directory in MAutic as per the instructions - uploading and creating the plugin folder
  2. run the cache clear
  3. Plugin does not appear in the plugin folder

Expected behavior Should clear the cache and be ready to install from the plugins

Screenshots PHP Fatal error: Declaration of MauticPlugin\MauticAuth0Bundle\Integration\Auth0Integration::shouldAutoCreateNewUser() must be compatible with Mautic\PluginBundle\Integration\AbstractSsoServiceIntegration::shouldAutoCreateNewUser(): bool in /home/omstest/public_html/plugins/MauticAuth0Bundle/Integration/Auth0Integration.php on line 76

Additional context Add any other context about the problem here.

PatrickJenkner commented 2 months ago

Hi @djimatr , the installation instructions are not up to date for Mautic 5, sorry about that. To install the plugin for Mautic 5, the command in step 3 should be git clone -b Mautic5-Support https://github.com/Leuchtfeuer/auth0-for-mautic.git plugins/LeuchtfeuerAuth0Bundle