Title: Fatal error: Cannot declare class Less_Version
Last modified: August 23, 2019

---

# Fatal error: Cannot declare class Less_Version

 *  Resolved [acephalia](https://wordpress.org/support/users/acephalia/)
 * (@acephalia)
 * [7 years ago](https://wordpress.org/support/topic/fatal-error-cannot-declare-class-less_version/)
 * Hello I was interested in purchasing the pro version of your plugin but wanted
   to test drive it first. When I tried to install the version via the plugin manager
   and activate I get the following error.
 * Fatal error: Cannot declare class Less_Version, because the name is already in
   use in /wp-content/plugins/ameliabooking/vendor/oyejorge/less.php/lib/Less/Version.
   php on line 9
 * Could you please advise?
 * Thank you!

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

 *  Thread Starter [acephalia](https://wordpress.org/support/users/acephalia/)
 * (@acephalia)
 * [7 years ago](https://wordpress.org/support/topic/fatal-error-cannot-declare-class-less_version/#post-11859160)
 * Found the solution on Authors code canyon page for anyone else who runs into 
   this issue :
 * > It seems that some other plugin uses Less and that causes conflict with our
   > plugin. Can you please deactivate other plugins, activate our plugin and then
   > activate again other plugins, this will solve the issue.
 * I just disabled all my plugins and then activated Amelia and then reactivated
   all the other plugins again. Worked!
 *  Plugin Author [ameliabooking](https://wordpress.org/support/users/ameliabooking/)
 * (@ameliabooking)
 * [7 years ago](https://wordpress.org/support/topic/fatal-error-cannot-declare-class-less_version/#post-11860308)
 * Hi there,
 * Thank you for your inquiry.
 * We are glad to hear that you’ve managed to find the solution. We hope that you
   will like our plugin. If you have more questions please do not hesitate to ask.
 * Best regards.

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

The topic ‘Fatal error: Cannot declare class Less_Version’ is closed to new replies.

 * ![](https://ps.w.org/ameliabooking/assets/icon-256x256.png?rev=3429091)
 * [Booking for Appointments and Events Calendar - Amelia](https://wordpress.org/plugins/ameliabooking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ameliabooking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ameliabooking/)
 * [Active Topics](https://wordpress.org/support/plugin/ameliabooking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ameliabooking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ameliabooking/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ameliabooking](https://wordpress.org/support/users/ameliabooking/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/fatal-error-cannot-declare-class-less_version/#post-11860308)
 * Status: resolved