A Few of Views Don't Work

Home Forums Calendar Products Events Calendar PRO A Few of Views Don't Work

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1018744
    Jay
    Participant

    Normally, I have photo view set to the default but I notice it does not display anything. Also, Week View, Day View and Map view are not working correctly.

    #1018745
    Jay
    Participant

    This reply is private.

    #1018874
    Brian
    Member

    Hi,

    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. For me as well the Week View and Map View both worked on your site.

    In Photo View 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

    #1018902
    Brian
    Member

    Hi,

    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

    #1019142
    Brian
    Member

    Hi,

    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

    #1019536
    Geoff
    Member

    Hey 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

    #1021497
    Jay
    Participant

    Hi Brian,

    the code worked. .

    Thanks,

    Jay

    #1021616
    Brian
    Member

    Great glad it helps.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘A Few of Views Don't Work’ is closed to new replies.