• Resolved mifapartnair

    (@mifapartnair)


    Bojour à tous,

    Je viens d’installer l’extension maxbuttons que j’ai téléchargé sur le site de wordpress. Cependant, lorsque j’essaie de l’activer j’ai le emssage d’erreur suivant :

    L’extension n’a pas pu être activée, car elle a déclenché une erreur fatale.

    Fatal error: Cannot redeclare class Leafo\ScssPhp\Colors in /home/gribeauvqi/www/wp-content/plugins/maxbuttons/assets/libraries/scssphp/src/Colors.php on line 20

    Avez-vous une idée d’ou cela vient et d’une démarche pour régler le problème ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    Bonjour,

    Another plugin ( probably ) is interfering with this also using the same library but without a proper check .

    The error message should include some more information ( ‘class already used at / ‘) – it would help to get the plugin name that’s conflicting here.

    Thread Starter mifapartnair

    (@mifapartnair)

    Hello,

    thank you for your answer.
    I’m looking for the plugin which uses the same library.
    I wrote all the message wichi were displayed, in which file/menu could I get more information in order to know the name of the plugin ?

    Plugin Author Bas Schuiling

    (@basszje)

    I don’t know how many plugins you have, but you can disable the plugins, enable Maxbuttons and then one by one enable the other plugins until one gives a similar error. That’s the one we are looking for.

    You can also post the list of your active plugin here and I’ll conduct a small search ( we are testing against many plugins already ). You can find the list under MaxButtons -> support in the lower part of that screen.

    Thread Starter mifapartnair

    (@mifapartnair)

    Hello, excuse me for the delay of my answer. This is the list of my active plugins. There are 46 plugins which are activate.

    AIO WP Builder
    Akismet
    Animate It!
    Arconix FAQ
    Backup
    Calculated Fields Form
    Calls to Action
    Contact Form 7
    Contact Form 7 MailChimp Extension
    Duplicator
    Dynamic To Top
    Easy Forms pour MailChimp par YIKES, Inc.
    Easy Pricing Tables Lite par Fatcat Apps
    Formidable
    Free & Simple Contact Form Plugin – PirateForms
    Google Analytics par MonsterInsights
    Gravity Forms
    GS Logo Slider
    Image Widget
    Interactive World Maps
    Jetpack par WordPress.com
    Leads
    Loco Translate
    Mailchimp Subscription Custom Form
    MaxButtons
    Meta Slider
    No Page Comment
    Page Builder par SiteOrigin
    Popups – WordPress Popup
    Pricing Table by Supsystic
    Q2W3 Fixed Widget
    Scroll Triggered Boxes
    Sidebars Personnalisées
    Simple Custom CSS
    SiteOrigin Widgets Bundle
    Styles & Layouts Gravity Forms
    TablePress
    Toolset Types
    URL Params
    Widget Instance
    WP Client Logo Carousel
    WP Mautic
    WP Super Cache
    WP SVG Icons
    Yoast SEO
    Zoho SalesIQ

    Plugin Author Bas Schuiling

    (@basszje)

    That’s a lot. So it might be one of them or your theme. I would suggest the following

    – Change your theme for a second and try to enable MaxButtons and see if it’s still a problem.

    If so, then

    – Do a filesearch on the plugins directory for Colors.php (some hosts can do this from the dashboard, file prompt or something like that ) and see what plugin directories show up.

    The alternative is to disable all plugins ( or the one that might do something with a color ), enable MaxButtons and then activate them until you hit the problem again.

    Thread Starter mifapartnair

    (@mifapartnair)

    Thank you for your help.

    I found was the responsible of this error.
    It was not the theme but a plugin nammed
    “AIO WP Builder”.

    Plugin Author Bas Schuiling

    (@basszje)

    Thanks for finding it. I’ll look at it for next update to see if we can help anything from our side, but probably they’ll need to fix this issue. I’d recommend not using that plugin for now and find another pagebuilder ( they are much better ones ).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Fatal error Cannot redeclare class’ is closed to new replies.