Skip Navigation

[Resolved] Map does not work anymore

This support ticket is created 2 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 11 replies, has 3 voices.

Last updated by Martin 2 years, 11 months ago.

Assisted by: Nigel.

Author
Posts
#2247065
Frontend.jpg
Backend.jpg
Frontend.jpg
Backend.jpg

Hi,

I have a map on hidden link
here: hidden link (maybe I have to disable till the problem is solved...)

It used to have two sections of addresses, both shown in one map (addresses from Germany and addresses "not" from Germany. All worked fine for months.

After I just changed the image at the top of the page with the map (should not have anything to do with the map), the map stopped showing up – and also all addresses are not visible. If I call the same page in the admin section all is visible. See screenshots.

I have already deactivated all plugins (only Toolset and Tag-Div-related plugins were running), same behavior.

Any idea what might cause this – and how to get the map running again?

Thanks for any help!
Martin

#2247219

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

Thank you for getting in touch.

In a case like this when the plugins are not functioning as intended we recommended that you disable the non-toolset plugins.
What this means is that you will need to go through your list of plugins and disable each of your plugins one at a time while checking to see if the issue still remains.

As it would appear that this might be the cause of the issue. Once you can confirm that there is some form of plugin interference please let me know.

If the issue still remains please let me know and provide admin access to the site as well so that I can have a more detailed look for you.

Thanks,
Shane

#2247299

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

I've found out why the map isn't showing any markers ubt the root cause i'm still looking into.

The problem is being caused by the view not being displayed on the frontend, if you look under the heading Händler außerhalb von Deutschland you'll see that the view results aren't showing.

Can you recall when they stopped showing ? Also if you're able to can you provide the php logs for the site so that I can see if there is anything in the logs that could point me in the right direction.

Thanks,
Shane

#2247313

Hi Shane,

Yes, it seems like that - as in the backend all works fine. This page usually does not get changed as it is dynamic.

I changed the image in the topmost of the post. But not on the page itself but by uploading a new file Tobit. The plug-in „media replace“ replaces the image and updates the database with the new file name. Somehow.

If can give you log file as long as you direct me where to find them…

#2247467

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

I did some checks on the site again as well as to look at the debug data for Toolset and found that you were using mysql version 5.5.5

Unfortunately this is below the minimum required for Toolset to function normally. This could be what is affecting the view block display on the frontend.

We require a minimum of version 5.6 of mysql as per our minimum server requirements document below.
https://toolset.com/toolset-requirements/

What you can do is to contact your server's support team to update the mysql version and check again to see if the view loads on the frontend as well as lists out your map markers.

Thanks,
Shane

#2247515

Hi Shane,

I just checked the server settings and it says „Maria DB 10.3.28“ is installed…

#2248823

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Shane is on vacation this week, so let me step in here.

I looked at your site and can see what Shane described, that the two Views on the page are not returning any results when rendered on the front end. Hence the map—which gets its markers from the Views—does not have any markers to display.

I can't see why that is happening, and the debug option for Views which is turned on in the settings doesn't seem to be working, so I would need to do some testing.

Do you have a staging site rather than the production site for testing?

If so could you please share details? (I'll set up another private reply.)

Otherwise I'll need to take a copy of the site.

#2248851

Hi Higel,

thanks for jumping in. Currently I am also investigatinb how to upgrade to a newer MariaDB version (currently 10.3.28). But this seems to be not an easy task. I am also not sure that this really can cause this behaviour. Otherwiese I will have to downgrade Toolset...

But maybe you will find the problem – we have no staging server. But I could send you a WeTransfer or Link to a backaup from this morning. as new as the current website...

#2249485

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I've taken a copy of the site (it's huge!) and am installing it locally, I'll do some testing there and get back to you.

#2249491

Yes, but the size Besides just from the images... I would assume that a backup just off the database, the themes and other plug-ins would already do the job.

Anyway, you now have the full back up. And I’m really curious why the map stopped working. So, any help is super appreciated!!

#2249595

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

The problem is that the status of the Views on the page had been changed to draft, and hence were not being output on the front end (even though they were still visible on the back end), and hence were not providing the markers for the map.

I ran a quick code snippet on your site to revert the status back to publish, and it now works.

I don't know what action prompted unpublishing the Views, hopefully it won't recur.

#2249603

My issue is resolved now. Thank you! Great that you found the reason for the behavior. It would be interesting why the views got unpublished. The whole page become so after updating an image in it via plugin "Media Replace". So, it normally should not do so.

In this process also the views must have been set back to "draft" somehow.

I learned to have a look at the status of views (did not even know that they can be "draft" independently from the post that uses them. Lesson learned.

Any a big applause to you – and the whole team/company – as this is support at ist best! You took time, a deep dive into the website, going trough the tedious process of grabbing and activating a backup – and to really look into the reason! Great thanks!!