Hi Simon
Could you please check in LocateAnything > Options that you have selected at least one post type in “what do you want to localize”?
Hi and thanks for the response!
No, I hadn’t any post types selected as I had originally been targeting custom post types created with a plugin, which I had disabled!
I changed the options to localize Posts.
Now after the “Preview not available yet” message I get a number of debugging errors in the preview pane:
Notice: Undefined index: locate-anything-marker-html-template in […]/wp-content/plugins/locateanything/public/class-locate-anything-public.php on line 676
Notice: Undefined index: locate-anything-marker-type in […]/wp-content/plugins/locateanything/public/class-locate-anything-public.php on line 686
Deprecated: Non-static method Locate_Anything_Public::remove_shortcodes() should not be called statically in […]/wp-content/plugins/locateanything/public/class-locate-anything-public.php on line 876
Deprecated: Non-static method Locate_Anything_Public::setup_shortcodes() should not be called statically in […]/wp-content/plugins/locateanything/public/class-locate-anything-public.php on line 883
Notice: get_author_name is deprecated since version 2.8.0! Use get_the_author_meta(‘display_name’) instead. in […]/wp-includes/functions.php on line 3831
Hello,
Those are notices, most of them don’t originate from the plugin. to make those notices disappear go to your wp-config.php file, mark the DEBUG constant to false and save it.
Thanks for quick response!
Sorry I didn’t explain the problem I have very well, it is that the preview map is still not loading after making sure a post type is localized.
I switched debugging back on and I copied those notices as I thought they might be useful. As you can tell(!) I’m not a PHP developer so it’s hard for me to tell what’s relevant…