Page loading is very slow

The Problem

In some rare cases it happens that there seems to be a compatibility issue with the running SSL certificate. Open User Map makes use of a specific PHP function (getimagesize) which then does not work properly. This eventually leads to very long TTFB (Time To First Bite) times. Basically – the map takes forever to load.

Solution

Version 1.3.3 will fix this issue.

Temporary solution until Version 1.3.3 is available:

Add the following line to templates/partial-map-init.php around line 124:

PHP
if(isset($image_thumb)) {
  //use thumbnail if available
  $image = $image_thumb;
}

$image = str_replace(get_site_url(), '', $image);

$audio = get_post_meta($post_id, '_oum_location_audio', true);
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support

EN