• Resolved markerx

    (@markerx)


    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)
  • Hi @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

    Thread Starter markerx

    (@markerx)

    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.