Small JavaScript Error Related to Clear Cache Button

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Small JavaScript Error Related to Clear Cache Button

This topic contains 2 replies, has 2 voices, and was last updated by Michael Samson Michael Samson 4 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26364
    Michael Samson
    Michael Samson
    Participant

    Hi Ernest,

    I wanted to report a small bug to you that my developer discovered and patched. This is something that you need to fix in ASP core.

    The problem is related to the Clear Cache button on the Cache Settings page.

    The asp_cache_settings admin page has a JavaScript error which prevents the “Clear the cache!” button from functioning. It tries to post the ajax request to “ajaxsearchpro.ajaxurl” location, but the “ajaxsearchpro” variable isn’t defined.

    We temporarily patched this in functions.php. I tried to include our code here, but your Wordfence keeps blocking me even when using the code buttons.

    Once you fix this we can remove our patch.

    Hope this helps!

    ~ Michael

    #26367
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Thank you Michael, I will make sure to fix this for the upcoming release!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #26390
    Michael Samson
    Michael Samson
    Participant

    Hi Ernest,

    I just updated ASP and your fix worked. I removed our patch.

    Thanks for getting this fixed!

    ~ Michael

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.