Home › Forums › Calendar Products › Events Calendar PRO › Activating The Events Calendar Pro causes fatal error
- This topic has 4 replies, 2 voices, and was last updated 8 years, 11 months ago by
Elise Desaulniers.
-
AuthorPosts
-
April 28, 2017 at 12:03 am #1275659
Elise Desaulniers
ParticipantHey there!
I’ve run through all the steps outlined in the Testing for conflicts page and I don’t think there is a conflict in my case. The working setup I’m left with is:
- WordPress 4.7.4
- Twenty Sixteen 1.3
- The Events Calendar 4.5.5
As soon as I activate The Events Calendar Pro 4.5.6, the following error happens:
<br /> <b>Fatal error</b>: Uncaught InvalidArgumentException: No constructor with the events-pro.admin.settings alias is registered in /srv/www/infocqlm/releases/20170428051109/web/app/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php:138 Stack trace: #0 /srv/www/infocqlm/releases/20170428051109/web/app/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php(122): tad_DI52_Container->assertCtorAlias('events-pro.admi...') #1 /srv/www/infocqlm/releases/20170428051109/web/app/plugins/the-events-calendar/common/src/Tribe/Container.php(173): tad_DI52_Container->make('events-pro.admi...') #2 /srv/www/infocqlm/releases/20170428051109/web/app/plugins/events-calendar-pro/src/Tribe/Main.php(1986): tribe('events-pro.admi...') #3 /srv/www/infocqlm/releases/20170428051109/web/wp/wp-includes/class-wp-hook.php(298): Tribe__Events__Pro__Main->on_plugins_loaded('') #4 /srv/www/infocqlm/releases/20170428051109/web/wp/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #5 /sr in <b>/srv/www/infocqlm/releases/20170428051109/web/app/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php</b> on line <b>138</b><br />The only way out of it is to manually rename TEC Pro’s folder to deactivate the plugin. Kind of annoying. Can you help me out?
April 28, 2017 at 12:53 am #1275668Elise Desaulniers
ParticipantI figured it out! Everything was working on my local server so I had been racking my brain trying to find the differences between the two environments. Then I decided to start
var_dump‘ing on the real server. That’s when I found out that the file containing the offending class was just not there.How could this have happened when I deploy everything with Trellis/Git? I have no clue. I had to force add the file to my local git repository because apparently, it was mentioned in a .gitignore somewhere. I’m pretty sure that wasn’t true. My IDE’s color codes agree with me. In any case, I can now sleep at ease.
April 28, 2017 at 5:47 am #1275725Courtney
MemberThanks Desaulniers!
And we really appreciate all that you did to test for conflicts too!
Courtney 🙂
May 20, 2017 at 9:35 am #1286703Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Activating The Events Calendar Pro causes fatal error’ is closed to new replies.
