• Resolved itshall

    (@itshall)


    Hello,

    I’ve just installed Events Calendar and am unable to view my Calendar page. I see a blank HTML page as if the template wasn’t even loaded. However, when I switch to another, default WordPress theme I am able to see it ok. I’ve even tried using custom templates in my project to get around this issue but to no avail. Could I get some insight into how my theme may be conflicting with the plugin? What conflict could prevent pages’ templates from loading?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey @itshall

    Thank you for reaching out.
    Without seeing the site it’s a bit hard to say.

    If I was to guess, I would recommend taking a look at Events > Settings > Display.
    More specifically try experimenting with the “Events template” option.

    Also, what theme are you using?

    Geoff

    Thread Starter itshall

    (@itshall)

    Hello @geoffbel

    I’ve tried changing the Events Template to my own templates and they appear just fine but there is no calendar. That’s why it seems like it can’t find the default events template at all, or something is stopping it.

    The theme is custom, main plugins include Timber, ACF Pro, Yoast SEO, Gravity Forms, and some others that I don’t suspect are the culprits.

    Would it help to see the staging site or do you need access to the code?

    Let me know, thanks,
    Tyler

    Hey @itshall

    Yes, setting up a staging site would be the next logical step so that you can test for conflicts: https://theeventscalendar.com/knowledgebase/k/testing-for-conflicts

    One thing I would try first is switching to a default WordPress theme to see if that helps.

    The second thing to be on the lookout for is making sure you don’t have an actual WordPress page that uses the /events slug as this will completely prevent the calendar view from working.

    The reason for this is that the calendar does not use a “real” WP page to work but it does need exclusivity over that slug/permalink.

    Let me know what you find out
    Geoff

    Thread Starter itshall

    (@itshall)

    Hello @geoffbel

    As said in my original post, switching to a default theme does make it work. The /events/ slug is not being used by anything else and I’ve even tried changing it to /calendar/ but no luck. I also just tried creating a Calendar page with the /calendar/ slug to see what would happen and got this notice:

    https://pasteboard.co/JXi8WfS.png

    However, the page is blank just the same. If it helps to know, no HTML loads on this blank page. The body and head tags are completely empty. I’ve been saving permalinks often to make sure thats not the issue. What level of access would you need to my staging site to hopefully determine the issue?

    @itshall

    Thank you for writing back!

    Based on what you are saying, it looks like the issue stems from the way is handling (or not handling) the wp archive page as the calendar relies on that to display properly.

    As for access, I would need a temporary complete one.

    Thread Starter itshall

    (@itshall)

    Hey @geoffbel

    Thanks for helping me figure this out. Your comment got me thinking about Timber’s role in this chaos and I found this Github issue: https://github.com/timber/timber/issues/1151

    The fix for me was removing the header.php and footer.php files and the templates load fine!

    Thanks again,
    Tyler

    • This reply was modified 3 years, 10 months ago by itshall.

    @itshall

    Nice!
    I am glad our conversation led you to resolution ??

    Have a great weekend!
    Geoff

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Calendar Page Doesn’t Load’ is closed to new replies.