Home › Forums › Calendar Products › Events Calendar PRO › Photo and Week views not working
- This topic has 4 replies, 3 voices, and was last updated 10 years, 5 months ago by
Geoff.
-
AuthorPosts
-
October 26, 2015 at 8:24 pm #1018757
Kelly
ParticipantSuddenly, the photo and week view are not showing any events. Other views seem ok.
October 27, 2015 at 7:34 am #1018870Brian
MemberHi,
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/
or here:
yourtheme/tribe-events/pro/week/
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 #1018901Brian
MemberHi,
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 6:19 pm #1019133Brian
MemberHi,
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:42 pm #1019526Geoff
MemberHey 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 and Week views not working’ is closed to new replies.
