Title: Fatal Error When Activating Plugin
Last modified: April 17, 2017

---

# Fatal Error When Activating Plugin

 *  Resolved [markerx](https://wordpress.org/support/users/markerx/)
 * (@markerx)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-33/)
 * I am attempting to use Easy Appoitnments, but I get an error when trying to activate
   the plugin:
 * `Fatal error: Uncaught exception 'ReflectionException' with message 'Class EATableColumns
   does not have a constructor, so you cannot pass any constructor arguments' in/
   var/www/clients/client1/web23/web/wp-content/plugins/easy-appointments/vendor/
   lucatume/di52/src/tad/DI52/Ctor.php:114 Stack trace: #0 /var/www/clients/client1/
   web23/web/wp-content/plugins/easy-appointments/vendor/lucatume/di52/src/tad/DI52/
   Ctor.php(114): ReflectionClass->newInstanceArgs(Array) #1 /var/www/clients/client1/
   web23/web/wp-content/plugins/easy-appointments/vendor/lucatume/di52/src/tad/DI52/
   Ctor.php(86): tad_DI52_Ctor->create_instance(Array) #2 /var/www/clients/client1/
   web23/web/wp-content/plugins/easy-appointments/vendor/lucatume/di52/src/tad/DI52/
   Singleton.php(16): tad_DI52_Ctor->get_object_instance() #3 /var/www/clients/client1/
   web23/web/wp-content/plugins/easy-appointments/vendor/lucatume/di52/src/tad/DI52/
   Container.php(77): tad_DI52_Singleton->get_object_instance() #4 /var/www/clients/
   client1/web23/web/wp-content/plugins/easy-appointments/ven in /var/www/clients/
   client1/web23/web/wp-content/plugins/easy-appointments/vendor/lucatume/di52/src/
   tad/DI52/Ctor.php on line 114`
 * Any ideas?
 * Thanks!

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

 *  [Nikola Loncar](https://wordpress.org/support/users/loncar/)
 * (@loncar)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-33/#post-9038759)
 * Hi [@markerx](https://wordpress.org/support/users/markerx/),
 * here is a quick fix but I am not sure why you have that issue. Open plugin folder
   go to src/fields/tablecolumns.php and in that file append this on line 5 so it’s
   looks like from :
 * before
 *     ```
       class EATableColumns
       {
       ```
   
 * after
 *     ```
       class EATableColumns
       {
           public function __construct()
           {
           } 
       ```
   
 * can you tell me the PHP version that you have?
 * Best regards,
    Nikola
    -  This reply was modified 9 years, 1 month ago by [Nikola Loncar](https://wordpress.org/support/users/loncar/).
 *  Thread Starter [markerx](https://wordpress.org/support/users/markerx/)
 * (@markerx)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-33/#post-9038893)
 * That worked. Thank you very much!
 * As you requested: PHP Version 5.3.3-7+squeeze28
 * Seems a bit out of date 🙁

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

The topic ‘Fatal Error When Activating Plugin’ is closed to new replies.

 * ![](https://ps.w.org/easy-appointments/assets/icon-256x256.png?rev=1472759)
 * [Easy Appointments](https://wordpress.org/plugins/easy-appointments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-appointments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-appointments/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-appointments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-appointments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-appointments/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [markerx](https://wordpress.org/support/users/markerx/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-33/#post-9038893)
 * Status: resolved