Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Lots of errors in error_log
- This topic has 26 replies, 2 voices, and was last updated 5 years, 7 months ago by
Ernest Marcinko.
-
AuthorPosts
-
September 25, 2020 at 5:20 pm #29551
ssoulless45
ParticipantHello, 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 2552September 28, 2020 at 2:51 pm #29560Ernest Marcinko
KeymasterThank 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.
September 28, 2020 at 4:09 pm #29566ssoulless45
ParticipantOkay, I see there’s an available update for the plugin should I update now?
September 29, 2020 at 8:43 am #29570Ernest Marcinko
KeymasterNot yet, please keep it as it is for now. Keep until the next update, which will be version 4.20
September 29, 2020 at 3:33 pm #29578ssoulless45
ParticipantOkay will be waiting for it. Thanks, I will let you know if errors continue
October 19, 2020 at 10:58 pm #29876ssoulless45
ParticipantHello, 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 5 years, 7 months ago by
ssoulless45.
October 20, 2020 at 1:34 pm #29898Ernest Marcinko
KeymasterThank you for letting me know. I made another layer of tests via FTP, hopefully it should stay clear now.
October 20, 2020 at 7:37 pm #29926ssoulless45
ParticipantHo 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 #29942Ernest Marcinko
KeymasterYou 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.
October 22, 2020 at 8:45 pm #29973ssoulless45
ParticipantDid you mean wp-content/plugins/ajax-search-pro/includes/functions/functions.php?
October 22, 2020 at 8:56 pm #29974ssoulless45
ParticipantOkay 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 #29979Ernest Marcinko
KeymasterWe 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.
-
This reply was modified 5 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.