Lots of errors in error_log

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

 
Keymaster
1 year, 2 months ago.

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #29283

    Participant

    We 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 2312

    And all these kinds of errors appear in the log_error file in the root of our site.

    Thanks for the help

    #29290

    Hi,

    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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #29322

    Participant

    Could you please tell me how to refresh the database?

    #29324

    Participant

    We 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:1
    #29325

    Participant

    Please 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

    #29331

    Can 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!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #29356

    Participant

    could you try instead of http://ftp.ebani.com.co use just ebani.com.co?

    #29364
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #29380

    Participant

    Let me check this with the support of my hosting

    #29381

    Participant

    In the meantime I have attached my error log file:

    Attachments:
    You must be logged in to view attached files.
    #29393

    Thank 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!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #29425

    Participant

    I 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

    #29437

    Thank 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.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #29442

    Participant

    Thanks! 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 1 year, 4 months ago by  ssoulless45.
    #29453

    You are welcome 🙂

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 15 posts - 1 through 15 (of 27 total)

You must be logged in to reply to this topic.