Help Desk

Missing Dependency

  • Posts: 46 Topics: 19
    | Permalink

    On my community events pages, I’m getting a error thrown that the enqueued handle “tribe-events-editor” is missing dependency with handle “ecp-plugins”. I disabled all my plugins and switched themes and still getting the error.

    Posts: 5926
    | Permalink

    Hi Brandon,

    Thanks so much for reaching out!

    As a first step, can you try deleting the plugin and re-download from your Downloads page.  From there, you can use the Manual Updates process to add the plugin back in.

    Let me know if that helps!

     

    Thanks,

    Jaime

    Posts: 46 Topics: 19
    | Permalink

    Thanks for response, Jaime.

    I deleted the Events Calendar, Events Calendar Pro, and Community Events plugins then threw the filesets of each after downloading fresh copies into my plugins folder then activated them. The issue still persists in the same way it did before.

    I have a separate sandbox dev site on a local VM and I just installed the three plugins and visited the “Add New Event” Community Events page and I got the same “Missing Dependencies” error produced by Query Monitor, saying it’s missing “ecp-plugins”.

    Posts: 5926
    | Permalink

    Hi Brandon,

    Thanks for trying that.

    As a next troubleshooting step, can you try flushing your permalinks by going to Settings < Permalinks and Save Changes.  You will want to clear your browser and site cache as well after doing this.

    Let me know how that goes!

     

    Thanks,

    Jaime

    Posts: 46 Topics: 19
    | Permalink

    I did this on both my dev site on my localhost server and my live production site with no avail.

    Posts: 5926
    | Permalink

    Hi Brandon,

    Thanks for trying that.

    As a next step, let’s try to rule out if there is some type of conflict at play.
    This is usually because of:

    • A conflict with another plugin
    • A conflict with your WordPress theme
    • A template customization for the Events Calendar that requires updating

    When it comes to that type of issue, it is preferable to troubleshoot in a staging environment if you have one.

    A first quick test is to simply temporarily revert back to a default WordPress theme such as twenty-sixteen to see if the issue persists.

    The next step would be to go through our testing for conflicts procedure and let us know what you find out.

    Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.

    But, before you do that, there are 2 things I would advise:

    • Make a backup of your database
    • Consider activating a “Maintenance Page” plugin if you are doing this on your live site (to minimize impact on your visitors)

    Let me know how that goes!

     

    Thanks,

    Jaime

    Posts: 46 Topics: 19
    | Permalink

    Thank you for your response, Jaime. Unfortunately, none of that worked so I went ahead and created a new dev site doing only the following:

    – I installed WordPress added nothing to it.
    – I installed The Events Calendar, Events Calendar Pro, Community Events, and Query Monitor.
    – I changed the WP default setting in Settings > Permalinks so that the calendar would work properly.

    I did install or change the default theme or install or activate any other plugins.

    I went to http://mysite.com/events/community/add/ and http://mysite.com/events/community/list/ and Query Monitor still throws the exact same error. The source of this issue is clearly the events calendar plugin, possibly in either the-events-calendar/src/deprecated/Tribe__Events__Asset__Ecp_Plugins.php or the-events-calendar/src/Tribe/Assets.php.

    Posts: 5926
    | Permalink

    Thanks for going through all of that testing, I see what you mean.

    Although I have not been able to replicate this issue, we have had other users report a similar issue.

    I have added this thread to the bug report so that you will be notified when a fix has become available.

    Please let me know if you have any other questions in the meantime!

     

    Thanks,

    Jaime

    Posts: 6240 Topics: 17
    | Permalink

    Hi Brandon!

    Just wanted to share with you that a new release of Community Events is out, including a fix for this issue.

    Find out more about this release → https://theeventscalendar.com/announcing-the-events-calendar-4-6-22-1-and-community-events-4-5-13-1/

    We appreciate your patience while we worked on this.

    As always, we suggest to setup a dev/staging site so you can make all plugin updates without disrupting the live site.

    Please update your plugins and let us know if the fix works for your site.

    Best,
    Victor

    Posts: 46 Topics: 19
    | Permalink

    Thanks for the follow-up, Victor!

    See attached screenshots to show the error does unfortunately still persist. The only difference you’ll see in the screenshots is the version number changed from 4.6.21 to 4.6.22.1 (which is the version of The Events Calendar base plugin).

    Posts: 5926
    | Permalink

    Hi Brandon,

    I’m sorry to hear that you are still experiencing this issue!

    As a next troubleshooting step, could you please provide us with your complete updated system information in a private reply using the instructions found in the following link?

    https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    Let me know if you have any other questions in the meantime!

     

    Thanks,

    Jaime

    Posts: 46 Topics: 19
    | Permalink
    This reply has been marked as private.
    Posts: 5926
    | Permalink

    Hi Brandon,

    Do you still see this issue if you have Elastic Search disabled?

    Can you send me a link to the page where you are seeing the issue as well?

    Let me know if you have any other questions in the meantime!

     

    Thanks,

    Jaime

    Posts: 46 Topics: 19
    | Permalink

    Issue still exists when I stop the Elasticsearch service on the server. I will send you a link in a private reply with some temporary WordPress login credentials to our production site where you can see the error live there.

    Posts: 46 Topics: 19
    | Permalink
    This reply has been marked as private.
    Posts: 46 Topics: 19
    | Permalink

    Here’s a screenshot of what you should see when you visit that page and view Query Monitor’s error.

    Posts: 5926
    | Permalink

    Hi Brandon,

    Thanks for providing me with all of that information.

    Unfortunately, I could reproduce the same issue on my end. I have logged a bug report for this so it can be addressed in one of our next maintenance releases of our plugins.

    I will set this thread’s status as “Pending fix” and link it to the report. This way, we will notify you once a fix is released.

    We apologize for the inconvenience and we appreciate your patience while we work on this.

    Please let me know if you have any other questions in the meantime!

     

    Thanks,

    Jaime

    Posts: 46 Topics: 19
    | Permalink

    Thanks Jaime, staying tuned.

    Posts: 5926
    | Permalink

    Sounds good, thank you for your understanding.

    Posts: 2356
    | Permalink

    Hi There!

    Just wanted to share with you that a new release of our plugins is out, including a fix for this issue.

    Find out more about this release → https://theeventscalendar.com/maintenance-release-for-the-week-of-11-november-2018/

    We apologize for the delay and appreciate your patience while we worked on this.

    As always, we suggest to setup a dev/staging site so you can make all plugin updates without disrupting the live site.

    Please update the plugins and let us know if the fix works for your site.

    Regards,
    Sky