• Hi Tijmen,
    I have been using this plugin for quite some time now with great results until the last couple of days and I am now experiencing some difficulties.

    Problem: The store locator plugin seems to be working to a point in that the category search options are all displaying and the map is showing and then when you click on search it seems to completing the search function as the little search icon appears and then disappears and nothing else happens. The other peculiar thing is that the default map location is showing but none of the map zoom settings are working.

    In the browser console I can see that there is the following js error Uncaught Reference Error: description is not defined. This is the mentioned url :https://www.example.com/wp-content/plugins-wp-store-locator/js/wpsl-gmap.min.js?ver=2.2.233:1

    Unfortunately Java Script is not my area and I dont know if this is a caching issue or something else. Any pointers/directions you can provide would be greatly appreciated.
    Cheers
    Rob

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Can you make sure this code exists in the in functions.php inside your active theme folder.

    add_filter( 'wpsl_include_post_content', '__return_true' );

    Thread Starter concepthub

    (@concepthub)

    Hey Tijmen,
    Perfect! Nailed it first go.
    Is this something that I would have inadvertently removed with something I have done?
    Cheers
    Rob

    Plugin Author Tijmen Smit

    (@tijmensmit)

    If you add this code, and then update your theme, then the functions.php is overwritten. So you will have to add it back again.

    This won’t be necessary anymore after the next plugin update, including the description text will simply be an option on the WPSL settings page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught reference error’ is closed to new replies.