Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Lots of errors in error_log
This topic contains 26 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 6 months ago.
- AuthorPosts
- September 25, 2020 at 5:20 pm #29551
Hello, I want to report that we continue experiencing issues, these errors keep showing up in our log file:
[24-Sep-2020 23:58:12 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/ebanicom/public_html/wp-content/plugins/ajax-search-pro/includes/classes/etc/class-asp_helpers.php on line 985 [24-Sep-2020 23:58:12 UTC] PHP Warning: array_merge(): Expected parameter 2 to be an array, string given in /home/ebanicom/public_html/wp-content/plugins/ajax-search-pro/includes/classes/etc/class-asp_helpers.php on line 987
[24-Sep-2020 23:58:12 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/ebanicom/public_html/wp-content/plugins/ajax-search-pro/includes/classes/etc/class-asp_helpers.php on line 989
[24-Sep-2020 23:58:14 UTC] PHP Warning: in_array() expects parameter 2 to be array, string given in /home/ebanicom/public_html/wp-content/plugins/ajax-search-pro/includes/functions/functions.php on line 2552
September 28, 2020 at 2:51 pm #29560Thank you for letting me know. I think I may have found an actual issue there. I have made a correction on the code via the plugin editor, if all goes well, the error should disappear.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 28, 2020 at 4:09 pm #29566Okay, I see there’s an available update for the plugin should I update now?
September 29, 2020 at 8:43 am #29570Not yet, please keep it as it is for now. Keep until the next update, which will be version 4.20
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 29, 2020 at 3:33 pm #29578Okay will be waiting for it. Thanks, I will let you know if errors continue
October 19, 2020 at 10:58 pm #29876Hello, the issue is still present, we noticed it because the error_log took almost 40GB of space in our server, here is an extract of the logs:
[19-Oct-2020 15:22:35] WARNING: [pool yncqhzkggn] child 15273 said into stderr: "NOTICE: PHP message: PHP Warning: in_array() expects parameter 2 t o be array, string given in /home/467531.cloudwaysapps.com/yncqhzkggn/public_html/wp-content/plugins/ajax-search-pro/includes/functions/functions.ph p on line 2550" [19-Oct-2020 15:22:35] WARNING: [pool yncqhzkggn] child 15273 said into stderr: "NOTICE: PHP message: PHP Warning: in_array() expects parameter 2 t o be array, string given in /home/467531.cloudwaysapps.com/yncqhzkggn/public_html/wp-content/plugins/ajax-search-pro/includes/functions/functions.ph p on line 2551" [19-Oct-2020 15:22:35] WARNING: [pool yncqhzkggn] child 15273 said into stderr: "NOTICE: PHP message: PHP Warning: in_array() expects parameter 2 t o be array, string given in /home/467531.cloudwaysapps.com/yncqhzkggn/public_html/wp-content/plugins/ajax-search-pro/includes/functions/functions.ph p on line 2552" [19-Oct-2020 15:22:36] WARNING: [pool yncqhzkggn] child 15273 said into stderr: "NOTICE: PHP message: PHP Warning: in_array() expects parameter 2 t o be array, string given in /home/467531.cloudwaysapps.com/yncqhzkggn/public_html/wp-content/plugins/ajax-search-pro/includes/functions/functions.ph p on line 2549" [19-Oct-2020 15:22:36] WARNING: [pool yncqhzkggn] child 15273 said into stderr: "NOTICE: PHP message: PHP Warning: in_array() expects parameter 2 t o be array, string given in /home/467531.cloudwaysapps.com/yncqhzkggn/public_html/wp-content/plugins/ajax-search-pro/includes/functions/functions.ph p on line 2550" [19-Oct-2020 15:22:36] WARNING: [pool yncqhzkggn] child 15273 said into stderr: "NOTICE: PHP message: PHP Warning: in_array() expects parameter 2 t o be array, string given in /home/467531.cloudwaysapps.com/yncqhzkggn/public_html/wp-content/plugins/ajax-search-pro/includes/functions/functions.ph p on line 2551" [19-Oct-2020 15:22:36] WARNING: [pool yncqhzkggn] child 15273 said into stderr: "NOTICE: PHP message: PHP Warning: in_array() expects parameter 2 t o be array, string given in /home/467531.cloudwaysapps.com/yncqhzkggn/public_html/wp-content/plugins/ajax-search-pro/includes/functions/functions.ph p on line 2552"
- This reply was modified 3 years, 6 months ago by ssoulless45.
October 20, 2020 at 1:34 pm #29898Thank you for letting me know. I made another layer of tests via FTP, hopefully it should stay clear now.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 20, 2020 at 7:37 pm #29926Ho could you please tell me, what did you do? we migrated to another hosting, I forgot to mention that, should I give you new log in details?
October 21, 2020 at 10:19 am #29942You can just copy over the wp-content/plugins/ajax-search-pro folder to your new hosting. I only added a line in the wp-content/plugins/ajax-search-pro/functions/functions.php file.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 22, 2020 at 8:45 pm #29973Did you mean wp-content/plugins/ajax-search-pro/includes/functions/functions.php?
October 22, 2020 at 8:56 pm #29974Okay I updated the file, I will monitor the server and see if these log error issues persist. I have a doubt, are these issues only in my site? how can I keep updating the plugin?
October 23, 2020 at 8:49 am #29979We are not getting any other reports, and all of our 10 test server are clean as well. Unfortunately this issue only happens on your end, but of course we always include these changes in any upcoming release.
Can you please try de-activating and activating the plugin again? It should refresh all the data and fix any fragmentation. Is suspect that some information may not have been correctly updated during an update or something similar.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.