Skip Navigation

Map marker pop-ups with HTML content don’t work on WordPress Archives

Resolved

Reported for: Toolset Maps 1.7.3

Symptoms

The Toolset Maps plugin allows you to display pop-ups for map markers when someone clicks on them on a map.

There is an issue that prevents pop-ups from opening when you click on a map marker when the map is located on a WordPress Archive page. This issue only happens if you insert HTML into the pop-up content.

Also, the following PHP error might be displayed or logged:

  • Warning: Invalid argument supplied for foreach() in …/toolset-maps/application/controllers/compatibility/gutenberg/editor-blocks/blocks/map/MapBlock.php on line 820

Workaround

At the moment, there is no solution for this issue besides not using HTML in the map marker pop-ups.

Our developers are aware of the issue and will work on a fix as soon as possible.

Comments are closed