Home › Forums › Calendar Products › Events Calendar PRO › Strange Errors, Links Post Latest WP Update
- This topic has 4 replies, 2 voices, and was last updated 11 years, 3 months ago by
Brook.
-
AuthorPosts
-
December 26, 2014 at 11:16 am #925476
Meghan
ParticipantAfter updating the plug-in after the latest WordPress update, I’ve been getting strange text displays in both the Event listings and the Venue link on events. Anything I can do to fix this? Sample links to issues below…
http://playgroundparkbench.com/events/
http://playgroundparkbench.com/event/open-bounce-bounceu-2014-12-25/2014-12-26/December 26, 2014 at 11:43 am #925485Brook
ParticipantHello mrabuse,
I just so happened to login while you were running the 2014 theme, and I could not find a problem. I tried in a different browser and saw a different them. I realized you must be mid conflict test. Would you mind posting the result of your conflict test here? If I had to guess this would likely be related to a theme override inside of your theme, assuming it only applies to the venue link on those pages.
Thanks!
– Brook
December 26, 2014 at 11:45 am #925486Meghan
ParticipantSo I just put the 2014 theme on and the issue is gone – it is a conflict with my Customizr theme which I what I use… It just had an update and that’s when the issue appeared. How can I solve the conflict? I would prefer not to change themes if I don’t have to.
December 26, 2014 at 12:14 pm #925494Brook
ParticipantI understand that. From the look of it your theme likely has a theme override. When you look inside the theme folder, does it contain a folder called “tribe-events”? If so, the developer of customizr needs to update their calendar override to make it compatible with The Events Calendar. You might bring that to their attention.
If that folder does not exist, then something truly odd is at play. Looking at the HTML source of your page some function is outputting an HTML <a> link, when it should just output the URL. So your output should look like this:
<a href="example.com/venue-name/">But instead it looks like this:
<a href="<a href="example.com/venue-name/">">That’s a problem, and it’s causing all the extra junk to appear. I am not sure why that is happening. It would seem like the source of the conflict (evidently that is customizr) is overriding the basic WP get permalink functionality. But I can not picture a theme developer doing that because that is a terrible idea. Any plugin which uses get_permalink like ours will have this problem. I did come across one other user experiencing duplicate difficulties in that theme, but it is a little different. Aside from that we have fairly happy reports from customizr users over the years.
As far as fixing this problem, you’d need to first confirm what it is. If you do get_permalink(), what does it return? A URL or an HTML <a> tag? What about our function tribe_get_organizer_link()? With both of these you will need to pass a valid event post ID as the first parameter.
If that last paragraph sounds like gibberish, then if I were you I would either roll back to a previous version of the theme that still worked and didn’t possibly override get_permalink(), or I would hire a developer to integrate the latest version of your theme with TEC.
Does that make sense? Can I answer followups or help along the way?
Cheers!
– Brook
February 12, 2015 at 11:59 pm #942227Brook
ParticipantSince this topic has gone for a spell without an update, I am going to archive it. Please feel free to open a new topic though if you need anything else. Cheers!
– Brook
-
AuthorPosts
- The topic ‘Strange Errors, Links Post Latest WP Update’ is closed to new replies.
