Okay
  Public Ticket #2506794
Installing plugin
Closed

Comments

  • Jonny started the conversation

    Hello,

    I just purchased your plugin, installed it, tried to activate it, encountered this error in the top of my wordpress dashboard.

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Cannot declare class Less_Version, because the name is already in use in /home/davidsam/public_html/clic.org.au/wp-content/plugins/ameliabooking/vendor/oyejorge/less.php/lib/Less/Version.php on line 9

    Please help me to rectify this. I have downloaded and reinstalled but still the error pursists.

    Cheers,
    - Jonny

  • Jonny replied

    For reasons unknown, I followed the advice of this guy:


    And turned off all of the other plugins, activated Amelia, then re-turned out all of the initial plugins?

  •  2,572
    Aleksandar replied

    Hello Jonny

    Thank you for your purchase, and sorry for the inconvenience caused.

    The issue here is that there's probably another plugin that's using the same version of Less, and it's already been defined.

    Good call on deactivating other plugins, and activating Amelia first.

    If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.


    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Jonny replied

    Hi Aleksandar,

    Thanks for your reply and help, it is appreciated.

    Is there a means of automating / solving this issue should it become present again?
    My aim would be to overcome this issue when I start streamlining your plugin into all of our other web builds...

    E.g.
    Having WPAmelia plugin resolve to using another plugins reference of Less?
    Having WpAmelia use it's own version of Less to remove the conflict?
    Somehow resolving the plugin load order as we have now?

    Do you have any provision, suggestions, documentation or direction on how to solve this issue?
    And in any case, is this something that the WpAmelia team are already working on to resolve?

    Cheers,
    - Jonny

  •  2,572
    Aleksandar replied

    Hello Jonny

    It's not as easy as that. That'd be like asking if Amelia can use its own version of PHP. Less is an extension for CSS, and we can't use old versions or "its own" version of Less since using outdated versions is never a good idea for any SW development, and there's no "own" version of Less.

    This issue shouldn't occur anymore, though, as you've already activated the plugin, but you can test it. If you deactivate Amelia now, you should be able to activate it again, even though other plugins are activated. The issue should occur only during initial activation.

    I can't suggest anything else other than what I already advised. Our developers are looking into this, but I don't know when this will be resolved.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Jonny replied

    Thanks for that Aleksandar,

    Your answer was comprehensive.

    Please let us know when your developers have taken a look / made any progress.

    Sincerely,
    - Jonny

  •   Jonny replied privately
  •   Aleksandar replied privately