[Plugin: The Events Calendar] Event link leads to blank page
-
It seems I installed the plugin okay, but whether I’m in calendar view or list view, clicking on the event just takes you to a blank page, not a page with the event details and such.
I am incorrect in understanding that each event has on its own page that is populated by the fields used when setting up the event within WP? Or is this blank page normal.
Any help/solutions are welcome.
Here is the site in development:
https://interlock.whitingerstrategicservices.com/home/calendar/upcoming/Thank you.
https://www.ads-software.com/extend/plugins/the-events-calendar/
-
Hey there wss310. Thanks for reaching out and sorry to hear you’re having problems. This definitely is not the core behavior of the plugin so it sounds like something else may be at play here. I assume you’ve already tried resaving your permalinks, right? Here are some thoughts right off the bat:
* It could be a permalinks-related issue. Resave your permalinks page to reset them.
* Make sure you’re running the latest version of the plugin (2.0.5).
* Check that there aren’t any earlier versions of The Events Calendar or Events Calendar PRO active anywhere on the site. If they’re present, deactivate them.
* Make sure you’re running the latest version of WordPress.
* Try to identify whether this is a conflict with another plugin. You can do so easily by deactivating any other plugins you’ve got active and checking whether the issue persists.
* If it isn’t a plugin conflict, it may be a theme one. If after deactivating all other plugins the issue persists, please revert to the default 2011 theme and test whether it’s an issue there.You are correct that each event creates its own page on the frontend. When clicking from an event list into an individual event, you should be able to see all the details of that event. I am seeing the issue on your site and that is not how it should be behaving.
Hopefully the steps outlined above (particularly the last two) will help resolve this. If not, let me know and I’ll do what I can to assist. Apologies for the inconvenience in the interim.
Hi,
I’m having a similar problem to wss310 except the link just sends me back to my homepage. When I create an new event, it seems to create fine and I can view the event. But if I make a change to the event, say adding a link or changing some of the words, the event still shows up in my calendar or events list but I get taken to the homepage.
I tried the steps listed above and haven’t identified anything that is causing the problem. The problem started when I last updated to version 2.0.5 of the events calendar. I found that the only way to resolve the problem is to continually create new events with different names. This becomes a big problem and I’ve had to start using a redirection tool, so that my site users can still get to the page they are trying to get to. I send out newsletters that have links, so once the newsletter is out, if there is a problem with the event, I can’t change the original link.
Have you got any suggestions?
Thanks
AlanFor what it’s worth… I had the same problem and it turned out to be my permalinks settings. B sure to set your permalinks to “Post name.”
Cheers,
ErikThanks Erik for the suggestion. Just tried and no luck.
Still have the same problem and now have 3 redirections for one event as I keep having to increment the link to get the event to work!
Alan
I’ve seemed to narrow it down to a theme issue. After trying the default theme the calendar worked fine. I will follow up with the theme support, but any thoughts as to what could be causing the conflict with theme installed?
Here is the theme I am using:
https://themeforest.net/item/pekaboo-for-wordpress-children-theme-template/409980?WT.ac=portfolio_thumb&WT.seg_1=portfolio_thumb&WT.z_author=population2Hey wss310: that’s the first time we’ve heard of a conflict with this particular theme. Did their dev give any suggestions or notes as to what TEC is doing that’s causing problems? If he has any suggestions to how we could make it integrate smoother, we’re absolutely open to those and will do what we can to get it functional.
Alan: were you able to identify if this was a theme conflict, by chance?
If you are using the Redirection plugin there is a known bug: settings in “Modified Posts” do odd things (Google for details). Try disabling Modified Posts and testing again
Nick Froome
I was having the same problem as Alan but with changes to events re-directing to the home page. But I’ve tried what Nick suggested and went into the re-direction plugin to Options and disabled the modified posts bit and it seems to be working fine now. So thanks Nick
Hi, I have a similar problem. In my case the details page of the event is not white, simply does not show the post content.
*The url is correct, I see that the redirect works.
*I updated the plugin to the latest version
*I disabled all plugins without solution!Yes I verified that turning off the current template plugin works correctly, then I understand is a problem with my custom template.
My template: https://themeforest.net/item/innovationscience-2-advanced-wordpress-theme/93906
List of events: https://www.e-construccion.cl/events/ – works well as the calendar
Event Details: https://www.e-construccion.cl/event/para-el-26/ – shows no event details. It even displays the text description corresponding to the first test event published.
Any idea to solve this problem is welcome
thanks
I’m having a similar problem once I updated from 2.0.4 to 2.0.6. All of my events are now missing their content.
https://www.lyp.org/event/public-relations-committee-meeting-9/
What changed from 2.0.4 to 2.0.6 that would have caused my events to no longer display content?
I got to the bottom of this. I had made an alteration to the Single.php template within the Event Calendar and saved the changed file within an “events” directory within my theme’s directory. The update must have changed something in regards to how the single template works, because the minor edit I made broke the content.
I’m trying to use the following code (from another page within my theme) but it no longer works. It did work with Event Calendar 2.0.4.
<?php global $theLayout; if (have_posts()) : while (have_posts()) : the_post(); $blogOptions = $theLayout['blog']; // style and layout info $postClass = array(); // images enabled? if ($theLayout['blog']['post_featured_images']) { // class $postClass[] = 'style-image-left'; // get thumbnail image $thumb = get_post_thumbnail_id(); // image sizes $imageW = $theLayout['blog']['image']['width']; $imageH = $theLayout['blog']['image']['height']; // get resized image // this will return the resized $thumb or placeholder if enabled and no $thumb $image = vt_resize( $thumb, '', $imageW, $imageH, true ); } if (!$image['url']) { // no imge $postClass[] = 'noImage'; } ?> //EVENT CONTENT <?php endwhile; endif; ?>
It seems that
if (have_posts()) : while (have_posts()) : the_post();
no longer works. Can anyone tell me how to fix this code so that it works correctly within the event calendar? I’m using the Mingle Theme available at ThemeForestHey there ekazda. Thanks for posting about this, and for sharing your code. Not sure what would have changed between 2.0.4 and 2.0.6 to result in this but let me see what our dev Jonah has to stay. Stay tuned and thanks for your patience thus far.
Hi ekazda,
Tricky… I can take a quick look at this but I’ll need you to send me a copy of the theme for evaluation purposes and your full single.php file in your ‘events’ folder. You can email me through my website in my profile – please reference this thread in the email ??
One quick thought though, the file should be single.php and not Single.php – that does make a difference! Also, what do you have as your Events Template in Settings > The Events Calendar > Template?
Thanks,
JonahI am also running into some events redirecting to the home page. The events seem to add fine, and redirect ok when first added. But after i update the event it begins to redirect back to the home page.
I am using the Agency child theme for Genesis by StudioPress.
I found this thread: https://www.ads-software.com/support/topic/plugin-the-events-calendar-permalinkredirect-issue?replies=6
My problem was a conflict with the Redirection plugin. I removed that plugin and the issue resolved. Hope this helps someone else.
- The topic ‘[Plugin: The Events Calendar] Event link leads to blank page’ is closed to new replies.