Strange Template Path Issue, Looking for a 'Hooks' folder

Home Forums Calendar Products Community Events Strange Template Path Issue, Looking for a 'Hooks' folder

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #70726
    Kyle
    Participant

    I started getting a weird error recently with Community Events on the My Events page:

    Warning: include(/home/content/15/11765115/html/wp-content/plugins/the-events-calendar-community-events/views/hooks/event-list.php) [function.include]: failed to open stream: No such file or directory in /home/content/15/11765115/html/wp-content/themes/scrollider/tribe-events/community/event-list.php on line 24

    Warning: include() [function.include]: Failed opening ‘/home/content/15/11765115/html/wp-content/plugins/the-events-calendar-community-events/views/hooks/event-list.php’ for inclusion (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/15/11765115/html/wp-content/themes/scrollider/tribe-events/community/event-list.php on line 24

    The weird thing is that it is looking for a ‘Hooks’ directory in the Community Events plugin, that doesn’t exist. Simply copying over events-list.php into a Hooks folder to match that file path solved the issue, but I’m worried this will get overridden with the next update. Note I do have the events-list.php file in my theme folder, does that have something to do with it?

    #70729
    Casey
    Participant

    Kyle,
    Have you upgraded The Events Calendar and Events Calendar Pro to 3.1 also? If not, then go ahead and do that and let me know if the problem persists. Thanks!

    #70741
    Kyle
    Participant

    Yes, they are all 3.1

    #70835
    Casey
    Participant

    Kyle,
    Do you have any ECP template overrides in your theme directory? Check to see if there is a folder called ‘tribe-events’ in your theme directory. I suspect that you have some older template files in there that might be causing this warning.

    #75635
    Casey
    Participant

    Kyle,
    Were you able to resolve this issue? Just let me know if we can close this thread out. Thanks!

    #75642
    Kyle
    Participant

    My fault! Yes, you’re last comment resolved this — the templates from 3.0.5 to 3.1 apparently changed quite a bit.

    #75643
    Casey
    Participant

    Thanks for confirming that this got you sorted. Since you’re all good, I’m going to mark this thread “Answered” and close it out.

    We really appreciate your support and please let us know if you need anything else in the future. If you find yourself with a few minutes and would be so kind as to give us a “Works” rating or a positive star voting on the WordPress.org repo (http://wordpress.org/extend/plugins/the-events-calendar/), or even a shoutout to your followers on Facebook or Twitter, it would mean a lot to us. Thanks again for using the plugin.

    #981925
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Strange Template Path Issue, Looking for a 'Hooks' folder’ is closed to new replies.