Activating The Events Calendar Pro causes fatal error

Home Forums Calendar Products Events Calendar PRO Activating The Events Calendar Pro causes fatal error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1275659
    Elise Desaulniers
    Participant

    Hey 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:

    1. WordPress 4.7.4
    2. Twenty Sixteen 1.3
    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?

    #1275668
    Elise Desaulniers
    Participant

    I 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.

    #1275725
    Courtney
    Member

    Thanks Desaulniers!

    And we really appreciate all that you did to test for conflicts too!

    Courtney 🙂

    #1286703
    Support Droid
    Keymaster

    Hey 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Activating The Events Calendar Pro causes fatal error’ is closed to new replies.