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 9, 2020 at 4:54 pm #29283
ssoulless45
ParticipantWe have some PHP warnings in our Log file, we would like to fix them, the only thing that we did was to deactivate and activate the plugin during maintenance of our site, we were trying to find a problematic plugin so we deactivated all plugins in our site… After this maintenance and after the activation of your plugin these warnings and errors started to appear in our log file:
[08-Sep-2020 16:14:14 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 937
[08-Sep-2020 16:14:14 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 939
[08-Sep-2020 16:14:14 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 941
[08-Sep-2020 16:14:14 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 980
[08-Sep-2020 16:14:14 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 1369
[08-Sep-2020 16:14:14 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 1370
[08-Sep-2020 16:14:14 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/ebanicom/public_html/wp-content/plugins/ajax-search-pro/includes/classes/etc/class-asp_helpers.php on line 1274
[08-Sep-2020 16:14:14 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/ebanicom/public_html/wp-content/plugins/ajax-search-pro/includes/classes/etc/class-asp_helpers.php on line 1277
[08-Sep-2020 16:14:14 UTC] PHP Warning: Illegal string offset ‘pa_estilo’ in /home/ebanicom/public_html/wp-content/plugins/ajax-search-pro/includes/functions/functions.php on line 2137
[08-Sep-2020 16:14:14 UTC] PHP Warning: Illegal string offset ‘pa_estilo’ in /home/ebanicom/public_html/wp-content/plugins/ajax-search-pro/includes/functions/functions.php on line 2312
[08-Sep-2020 16:14: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 2312And all these kinds of errors appear in the log_error file in the root of our site.
Thanks for the help
September 10, 2020 at 9:41 am #29290Ernest Marcinko
KeymasterHi,
Please update the plugin to the latest release (4.19.3), as the error messages report to line numbers, that might be different in the latest release. After updating, make sure to save the search options, to refresh the database, in case this is caused by a data mismatch.
Let me know if the error persists after update.September 11, 2020 at 6:22 pm #29322ssoulless45
ParticipantCould you please tell me how to refresh the database?
September 12, 2020 at 12:11 am #29324ssoulless45
ParticipantWe have updated the plugin and saved the search options but now we have javascript errors and the layout of our site is buggy:
jquery.ajaxsearchpro-noui-sb.min.js?ver=zqVTDc:29 Uncaught TypeError: Cannot read property 'enabled' of undefined at Object.window.ASP.initialize (jquery.ajaxsearchpro-noui-sb.min.js?ver=zqVTDc:29) at HTMLDocument.<anonymous> (jquery.ajaxsearchpro-noui-sb.min.js?ver=zqVTDc:29) at i (jquery.js?ver=1.12.4-wp:1) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:1) at Function.ready (jquery.js?ver=1.12.4-wp:1) at HTMLDocument.J (jquery.js?ver=1.12.4-wp:1) at HTMLDocument.c (VM297 rocket-loader.min.js:1) at l (VM297 rocket-loader.min.js:1) at t.simulateStateAfterDeferScriptsActivation (VM297 rocket-loader.min.js:1) at Object.callback (VM297 rocket-loader.min.js:1) window.ASP.initialize @ jquery.ajaxsearchpro-noui-sb.min.js?ver=zqVTDc:29 (anonymous) @ jquery.ajaxsearchpro-noui-sb.min.js?ver=zqVTDc:29 i @ jquery.js?ver=1.12.4-wp:1 fireWith @ jquery.js?ver=1.12.4-wp:1 ready @ jquery.js?ver=1.12.4-wp:1 J @ jquery.js?ver=1.12.4-wp:1 c @ VM297 rocket-loader.min.js:1 l @ VM297 rocket-loader.min.js:1 t.simulateStateAfterDeferScriptsActivation @ VM297 rocket-loader.min.js:1 callback @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 P @ rocket-loader.min.js:1 callback @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 load (async) u @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 t.run @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 (anonymous) @ rocket-loader.min.js:1 jquery.ajaxsearchpro-noui-sb.min.js?ver=zqVTDc:29 Uncaught TypeError: Cannot read property 'enabled' of undefined at Object.window.ASP.initialize (jquery.ajaxsearchpro-noui-sb.min.js?ver=zqVTDc:29) at jquery.ajaxsearchpro-noui-sb.min.js?ver=zqVTDc:29 at dispatch (jquery.js?ver=1.12.4-wp:1) at r.handle (jquery.js?ver=1.12.4-wp:1) at c (VM297 rocket-loader.min.js:1) at l (VM297 rocket-loader.min.js:1) at t.simulateStateAfterDeferScriptsActivation (VM297 rocket-loader.min.js:1) at Object.callback (VM297 rocket-loader.min.js:1) at t.run (VM297 rocket-loader.min.js:1) at VM297 rocket-loader.min.js:1September 12, 2020 at 12:16 am #29325ssoulless45
ParticipantPlease nevermind, I fixed the javascript errors, but still getting the PHP warnings… The plugin is updated to latest version and I saved the search options, not sure what to do now
September 14, 2020 at 8:59 am #29331Ernest Marcinko
KeymasterCan you please check the FTP details, I am not able to connect? I would like to take a look at the error log.
Please let me know where I can find the error log file. Thank you very much!September 14, 2020 at 4:25 pm #29356ssoulless45
Participantcould you try instead of http://ftp.ebani.com.co use just ebani.com.co?
September 15, 2020 at 7:48 am #29364Ernest Marcinko
KeymasterYou cannot access this content.
September 15, 2020 at 10:35 pm #29380ssoulless45
ParticipantLet me check this with the support of my hosting
September 15, 2020 at 10:37 pm #29381ssoulless45
ParticipantIn the meantime I have attached my error log file:
September 16, 2020 at 12:38 pm #29393Ernest Marcinko
KeymasterThank you! These might be only from the previous version, as I see a timestamp difference. Can you please try clearing the error log, to see if these errors re-appear? Thank you!
September 17, 2020 at 10:28 pm #29425ssoulless45
ParticipantI deleted the error_log file and now I can say the issue is still there, errors keep appearing. For FTP access try
cpanel4-co.conexcol.net instead of http://ftp.ebani.com.co
September 18, 2020 at 12:40 pm #29437Ernest Marcinko
KeymasterThank you, that worked! I tried to clear the log file, and do a few tests, but there are no errors appearing again, the error log stays clear.
One thing I noticed – since you are hiding the search settings, not using them whatsoever, I would recommend removing all of the taxonomy filters completely: https://i.imgur.com/kUBzodg.png
You can completely turn off the settings visibility as well here: https://i.imgur.com/Wo87w4g.pngSeptember 18, 2020 at 3:30 pm #29442ssoulless45
ParticipantThanks! I removed the taxonomy filters indeed I’m not using that stuff, also turned off search settings, thanks, I have not seen more errors, however, I will be monitoring and let you know if the errors continue appearing in my log file. Thank you so much!
-
This reply was modified 5 years, 8 months ago by
ssoulless45.
September 19, 2020 at 9:15 am #29453Ernest Marcinko
KeymasterYou are welcome 🙂
-
This reply was modified 5 years, 8 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.