Photo View not work

Home Forums Calendar Products Events Calendar PRO Photo View not work

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1019043
    Roman
    Participant

    Today I noticed that the photo view template does not work! The problem is that displays a white screen.
    I checked out, the problem is not only for me but for all sites…

    #1019141
    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

    #1019158
    Roman
    Participant

    Thanks, now it works.

    #1019258
    Brian
    Member

    Thanks for confirming.

    We are working on a release to fix this.

    For now I am going to close this ticket to new replies, but the issue is still open and we will update this ticket once we release a fix.

    If you have any new questions or issues please create a new ticket and reference this one.

    Thanks

    #1019535
    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Photo View not work’ is closed to new replies.