Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Error in my website due to Ajax Search Pro plugin
- This topic has 8 replies, 2 voices, and was last updated 4 years, 5 months ago by
Ernest Marcinko.
-
AuthorPosts
-
December 16, 2021 at 1:22 pm #35979
hebaelhakim85
ParticipantI 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.
December 16, 2021 at 3:39 pm #35984Ernest Marcinko
KeymasterHi,
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.pngThis should refresh any inconsistent information in the database and hopefully fix the issue.
December 16, 2021 at 9:38 pm #35987hebaelhakim85
ParticipantHi 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
HebaDecember 17, 2021 at 10:08 am #35988Ernest Marcinko
KeymasterHi 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?
December 17, 2021 at 1:09 pm #35990hebaelhakim85
ParticipantHi 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
HebaDecember 17, 2021 at 1:16 pm #35992Ernest Marcinko
KeymasterSure!
Can you please check now?
December 17, 2021 at 1:40 pm #35993hebaelhakim85
ParticipantYes 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!
December 17, 2021 at 1:42 pm #35994hebaelhakim85
ParticipantAlso 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.
December 17, 2021 at 1:47 pm #35995Ernest Marcinko
KeymasterHi,
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.
-
AuthorPosts
- You must be logged in to reply to this topic.