Home › Forums › Calendar Products › Events Calendar PRO › Photo View on calendar has stopped working
- This topic has 8 replies, 5 voices, and was last updated 8 years, 6 months ago by Geoff.
-
AuthorPosts
-
October 27, 2015 at 1:33 am #1018782SimonParticipant
Hi,
The ‘photo’ view on our calendar has stopped working – With this as defualt setting the events page is blank. Have changed to ‘list’ view today and all events display in that way and all single events still display. Was working yesterday and no installs/updates since so looking for any suggestions please
Cheers
SimonOctober 27, 2015 at 4:43 am #1018793charrameParticipantI have the same problem
October 27, 2015 at 7:35 am #1018871BrianKeymasterHi,
Sorry for the issues you are having. I can help troubleshoot this with you.
I could not replicate the issue on my test site, but on the Photo View I see different coding in the source code that might be causing this.
The events are there, but some css is hiding the events.
Do you have any templates in your theme in this directory:
yourtheme/tribe-events/pro/photo/
If so you may have to update the custom templates with the latest version found in the plugin here:
plugins/events-calendar-pro/src/views/pro/photo/
Let me know what you find out and we can go from here.
Thanks
October 27, 2015 at 8:13 am #1018900BrianKeymasterHi,
I am still not sure of the cause so please let me know what you find out.
Try adding this css to fix the photo view though:
#tribe-events-content-wrapper #tribe-events-photo-events {
opacity: 1;
}Add that css to your theme’s stylesheet or through a plugin such as Simple Custom CSS.
Let me know if that helps.
Thanks
October 27, 2015 at 9:27 am #1018938SimonParticipantI’ve added the css above and now get phot display back – However not as it used to be. Now seems to be more ‘formal’ and only allows one page of events so clicking for previous/next events has no effect.
October 27, 2015 at 11:46 am #1019011Mr Rupert CefaiParticipantHi,
I have the same issue as above but I am still on version 3.11.1 of Calendar PRO and have no custom templates. Strange this happened and that the simple CSS fix above fixes it.Is this a bug maybe?
October 27, 2015 at 1:20 pm #1019044BrianKeymasterHi,
The css is a temporary patch.
The issue appears to be scripts on sites are not loading and since the page is not completely loading the Photo View script is not running.
The scripts I found are all related to Facebook and Google Maps. Here is two sample files that my browser would not load:
http://connect.facebook.net/en_US/fbds.js
http://connect.facebook.net/en_GB/all.jsI am not seeing any issues on sites I run so it is unclear why your site is having an issue.
You can try to run through our Testing For Conflicts Guide and see if that narrows down the cause.
https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
Let me know what you find out.
Thanks
Hello charrame and Mr Rupert Cefai
Thanks for posting here. I can certainly help you here, but we can help you better if you create your own topic in the forum, where we can interact with you one on one. Also, we encourage you to post on your own topic because every time we post it will email the author of the topic.
So if you can let me know what you find out in a new topic we can help you there, but if you like you can still post what you find here.
Thanks
October 27, 2015 at 6:19 pm #1019132BrianKeymasterHi,
Sorry again for the issues here.
We think we have found the problem and it is due to a change in the Google Maps API.
Please add the following snippet to your theme’s functions.php:
/**
* Null values in the geoloc estimates can cause breakages with the
* current Google Maps scripts; this helps to ensure that is avoided
* by effectively casting nulls to zeroes.
*
* @param array $geocords
*
* @return array
*/
function temp_fix_geocoords_breakage( $geocords ) {
return array_map( 'floatval', $geocords );
}
add_filter( 'transient_geoloc_center_point_estimation', 'temp_fix_geocoords_breakage' );Let me know if that fixes the issue until we can get a release out.
Thanks
October 28, 2015 at 1:43 pm #1019528GeoffMemberHey there!
Just a heads up that we released a patch for this issue just minutes ago in Events Calendar PRO 3.12.5. Please check it out and feel free to hit us back up if you come across any other issues.
Thanks for reporting this and for your patience while we worked on it!
Geoff
-
AuthorPosts
- The topic ‘Photo View on calendar has stopped working’ is closed to new replies.