Dear @nghtmre,
Travelers Map is saving the metadata of each post in a single and concatenated json string in the database.
I don’t know how you imported your posts, but I think that might be the problem. Travelers Map saving functions are launched on post save, and they are compacting all the data into one row in the database :
The metadata is named _latlngmarker
and is made of :
compact('latitude', 'longitude', 'markerdata', 'customtitle', 'customexcerpt', 'customthumbnail', 'customanchor');
(You can find this in travelers-map\includes\admin\cttm-admin.php
)
Then on post save, the metadata is saved :
update_post_meta($post_id, '_latlngmarker', $markers_json_array);
Also, a private taxonomy is set on each post with a marker (and removed when markers are deleted), this is used by the plugin to fetch only the posts with a marker (for query speed optimization) :
// add terms in private taxonomy
wp_set_post_terms($post_id, 'hasmarker', 'cttm-markers-tax', false);
So maybe you deleted manualy some marker metadata without deleting the private taxonomy. And the plugin is fetching the posts, but they don’t have any metadata so an error is appearing.
It’s hard to help you without knowing what you have done with your custom RSS import, but I tried to summarize how Travelers map is working.
Also you can check on the plugin code to try to understand, the saving functions are in \travelers-map\includes\admin\cttm-admin.php
.
The error you get is in \travelers-map\includes\public\js\dist\travelersmap-bundle.js
line 341, you could console.log()
here to see what markerdata you get.