Fatal error on the activation

SupportFatal error on the activation
Jonathan Sulkin asked 7 years ago
Hi Im traying to install the plug in but when I activate it it says this: Warning: class_exists() expects parameter 1 to be string, array given in /home/varlixco/public_html/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php on line 231

Fatal error: Call to a member function init() on array in /home/varlixco/public_html/wp-content/plugins/easy-appointments/main.php on line 97   Can you help me please?   Best!
3 Answers
Nikola Loncar Staff answered 7 years ago
Hi Jonathan, looks like collision between Events Calendar and Easy Appointments . Do you have latest version of both plugins? Best regards, Nikola
Sulkin Staff replied 7 years ago

Hi Nikola

Yes, I have the latest version of both..

How can we fix it?

Best!

Nikola Loncar Staff answered 7 years ago
Hi, I have locally both version on my test site and it's working. Can you please tell me have you tried to turn off Events Calendar?   Best regards, Nikola
CraigNB Staff answered 7 years ago
Hi Nikola, I have this same problem,  New WP installation.  Had another Event Calendar on board, but not activated.  I have since deleted that.  But no luck activating.  I thought I would delete and reinstall, but now Easy will not delete, very strange.  What are your instructions to manually delete and start over?  My WP is 4.9.2 Thanks for your app3! Craig
CraigNB Staff replied 7 years ago

Update… boy, what a mess. I looked under the hood at the plugin directory and events calendar, while had been deleted, the files and directory where still there. I deleted that directory, and your EASY successfully activated.. I’m worried the database is a mess, so may have to just dump the entire installation and start over. I wish you, and other, developers played more strictly according to standards.

Nikola Loncar Staff replied 7 years ago

Hi, both plugins use same component. I will remove that part and have my own component instead of having standard one. Don’t worry about EA database, it’s using own tables there.

Best regards,
Nikola