Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › debug mode warnings
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 6 months ago.
- AuthorPosts
- October 15, 2022 at 4:56 pm #39663
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 1443This 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.October 17, 2022 at 1:03 pm #39671Hi,
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.
Best,
Nevertheless, I think it can be corrected very easily.
– Open up thewp-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.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 17, 2022 at 8:08 pm #39677Hi,
Thank you for your fast answer! This modifification works. Missing the errorror messages.Best regards,
Tamás SzekeresOctober 18, 2022 at 10:23 am #39683Thank 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 :)
- AuthorPosts
You must be logged in to reply to this topic.