debug mode warnings

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 3 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39663
    Tamas
    Tamas
    Participant

    Hi
    I turned it on to find my code errors. But it’s not just my code that sends error messages, it’s also your code:
    Warning: Access bool value arraying in /home/veszpre3/archivum.veszpremtv.hu/wp-content/plugins/ajax-search-pro/includes/functions/functions.php on line 1443

    This message appears three times above the search box.

    Would it be possible for this not to happen?

    Attachments:
    You must be logged in to view attached files.
    #39671
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Sure! It looks like it is coming from the function which uses Advanced Custom Fields to get the field choices for the front-end filters. That function should return the field object, but it seems like for some reason it fails in some cases.
    Nevertheless, I think it can be corrected very easily.
    – Open up the wp-content/plugins/ajax-search-pro/includes/functions/functions.php file on your server
    – Replace it’s contents with this.
    – Save, and the error should go away immediately
    If you need assistance with that, let me know.

    Best,
    Ernest Marcinko

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


    #39677
    Tamas
    Tamas
    Participant

    Hi,
    Thank you for your fast answer! This modifification works. Missing the errorror messages.

    Best regards,
    Tamás Szekeres

    #39683
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you for your feedback, I will make sure to add this change to the next patch as well.

    Best,
    Ernest Marcinko

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


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.