Error in my website due to Ajax Search Pro plugin

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Error in my website due to Ajax Search Pro plugin

This topic contains 8 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #35979
    hebaelhakim85
    hebaelhakim85
    Participant

    I logged into my website and noticed that my search function wasn’t working located at: https://hebaelhakim.com/emotions-library/ (scroll down to very bottom). My understanding is that this is functioning through Ajax Search Pro which I installed a long time ago maybe in 2015.

    I went in the backend of my WordPress website and found that the plugin is outdated with the version I had was 4.5.1 and the newer one is 4.21.8 so I proceeded to purchase and download the new plugin.

    Now it doesn’t work at all and it gives me this error line at the top of my website:

    Warning: in_array() expects parameter 2 to be array, string given in /home/customer/www/hebaelhakim.com/public_html/cms/wp-content/plugins/ajax-search-pro/includes/classes/actions/class-asp-indextable.php on line 163

    I do not know how to fix this and I want my search box to work again.

    Attachments:
    You must be logged in to view attached files.
    #35984
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    This might indicate a data inconsistency – updating from that very old release may caused it.
    Can you please try the following:
    – go to the index table options panel and save the settings without changing anything: https://i.imgur.com/dAGEjV9.png
    – please do the same for all the search bars you have created before: https://i.imgur.com/0d15Aos.png

    This should refresh any inconsistent information in the database and hopefully fix the issue.

    Best,
    Ernest Marcinko

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


    #35987
    hebaelhakim85
    hebaelhakim85
    Participant

    Hi Ernest

    Thanks for your reply. I tried the two things you mentioned and I am not sure it fixed the issue and it’s still occurring… Still the same issue even when I go to Incognito browser

    What else can I try?

    Thanks
    Heba

    #35988
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Heba,

    I logged in via the details, did a few manual optmizations on the database – and it should be fine now. Can you please check?

    Best,
    Ernest Marcinko

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


    #35990
    hebaelhakim85
    hebaelhakim85
    Participant

    Hi Ernest,

    Thanks so much for your help with the manual optimisations. It does look like the error message has gone and when I click on the magnifying glass after entering a search term yes it brings up the results however something is still not working as it was before.

    Before, when I used to enter a search term without even pressing the magnifying glass it would right away bring up the image results under the search bar as per the attached image (I can’t really demonstrate it because it’s not working).

    Is there a way to bring that back?

    Thanks
    Heba

    Attachments:
    You must be logged in to view attached files.
    #35992
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Sure!

    Can you please check now?

    Best,
    Ernest Marcinko

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


    #35993
    hebaelhakim85
    hebaelhakim85
    Participant

    Yes that works now Ernest!! Thanks so very much you’ve been an amazing help!

    I might be scrapping this entire website but I want to keep the Ajax Search Pro functionality – can this work under any theme I choose and are there any tutorials on how best to use it or customise it because I worked on this a very long time ago and need to refresh my memory on how to best use this tool.

    Thanks again for all your help!

    #35994
    hebaelhakim85
    hebaelhakim85
    Participant

    Also one more thing Ernest

    I received this error message just now related to MEGA SEARCH ADVANCED AJAX LIVE SEARCH – is this part of your product and can you help me troubleshoot this too?

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Mega Search : Advanced Ajax Live Search.

    First, visit your website (https://hebaelhakim.com/) and check for any visible issues. Next, visit the page where the error was caught (https://hebaelhakim.com/cms/wp-admin/post.php?post=15256&action=edit) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    https://hebaelhakim.com/cms/wp-login.php?action=enter_recovery_mode&rm_token=66HX9rxeNVlqVKAnTXHnf0&rm_key=IPpp9wGt7KaLoPwMQ5dLrR

    #35995
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Unfortuantely that is not our plugin, you may have to contact their developer team. However unless this issue is reported multiple times, you can safely ignore it. Sometimes WordPress is too sensitive reporting these issues.

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.