Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Various questions › Reply To: Various questions
You are welcome!
I had to investigate that error in more details, as I was not able to replicate it even on sandbox servers. Finally on an online PHP simulator and a stack overflow thread helped to understand what is going on there. Long story short, new PHP versions with a very specific configuration throw a warning when trying to type-check numeric variables, before using them. It does not cause any issues, the error is informative, the code still runs. Interestingly this was not the case previously, in fact this type conversion was the suggested method, for some reason it does not like it now.
Anyways, if you want to get rid off the error permanently, you can replace one of the plugin files manually:
– Open up the wp-content/plugins/ajax-search-pro/includes/classes/etc/class-asp_helpers.php file on your server
– Replace it’s contents with this
– Save & that’s it
I will of course include this fixed version in the upcoming release.