Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Plugin Breaks Custom Post Types
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 5 years, 6 months ago.
- AuthorPosts
- March 7, 2019 at 11:15 pm #21504
When I installed this plugin I noticed when I go to update a custom post type it just goes to a blank white page and nothing saves.
When I deactivate this plugin everything works fine again, turn it back on, same issue.
Any ideas what is causing this?
March 8, 2019 at 12:11 pm #21509Hi!
Do you see any error messages on the screen? Unfortunately there are no reports of similar problems, and without any error messages it is nearly impossible to tell.
Can you please add temporary FTP and back-end access? I can try to debug through the search code, to see where the issue might be triggered at. Thank you!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 8, 2019 at 5:34 pm #21524You cannot access this content.March 11, 2019 at 9:39 am #21546Hi!
Thank you very much for all the details, I managed to find the problem. I force-enabled error reporting, and turns out, that the issue was with an object to string casting function. Basically, when the indexing was triggered during the post saving process, the plugin tried to get the contents of the selected ‘_fb_builder_data’ custom field. However, that field contains some objects, that cannot be properly converted into simple strings, and that caused an error.
I made a tiny modification to one of the search plugin files, that checks, if the given thing is an object, and if so, then skips it. Now it should work as expected.
I will make sure to inlcude this fix in the upcoming release, so you won’t have to worry about it.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 11, 2019 at 4:47 pm #21564Thanks Ernest,
I have tested that and it all seems to be working fine now.
Hopefully that patch will be included in the next update so it continues to work fine.
Thanks again. Keep up the good work.
March 12, 2019 at 9:15 am #21570You cannot access this content. 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.