Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › json error
This topic contains 17 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 6 months ago.
- AuthorPosts
- November 21, 2019 at 3:38 am #24678
Theres been and issue since migrating to new server, y cant seem to get working this plugin, when we where testing in our server we didnt hace nay problem but on this server theres and error with json that we cant resolve. please helpp. the thing is that i can’t give you access to ftp or wp
Attachments:
You must be logged in to view attached files.November 21, 2019 at 1:10 pm #24683Hi,
Well, this is nearly impossible to tell. I am suspecting that either there is missing data in the database, or there is something with the files. Can I at least take a look at the site front-end? As it is password protected.
Best,
Thank you!
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 21, 2019 at 1:28 pm #24685You cannot access this content.November 21, 2019 at 1:31 pm #24686Hi,
Can you please direct me to a page where the plugin is visible? Thank you!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 21, 2019 at 1:33 pm #24687You cannot access this content.November 21, 2019 at 1:42 pm #24689Hi,
I see the issue now. Something is changing the ajax response, adding HTML tags to it, that should not be there. See example response: https://i.imgur.com/Hbv3rnz.png
The body, html tags should not be there. This is very hard to tell what exactly might be causing this. It can be a plugin, as well as a cache or CDN or a server module, that uses some sort of HTML correction.The only way to resolve this, is by finding what is adding the extra data, and disabling it. I would suggest first turning off the plugins one-by-one to find which might be conflicting. If none, then looking at server cache, then CDN services (HTML minification), and adding the ajax handler files (admin-ajax.php and ajax_search.php) to the exceptions list, if possible.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 21, 2019 at 1:45 pm #24690You cannot access this content.November 21, 2019 at 1:46 pm #24691Hi,
There is not much I can do unfortunately, as the issue is not caused by the plugin. Try the suggestions above, it is very likely that a cache/CDN plugin might be causing this issue.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 21, 2019 at 1:54 pm #24692As an addition, make sure that the custom ajax handler is also disabled: https://i.imgur.com/LqPpNSU.png
Best,
The thing adding the custom HTML to it, might not recognize that as the WordPress ajax handler, and automatically does the correction. It is very unlikely, but it may help.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 21, 2019 at 2:05 pm #24693i have the option on, i disable all plugins but still error.
November 21, 2019 at 2:08 pm #24694Make sure to turn OFF that option. The issue is then either the server, or a CDN/Firewall or something similar.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 21, 2019 at 2:13 pm #24695You cannot access this content.November 21, 2019 at 2:19 pm #24697Unfortunately the issue is unrelated to the plugin, as it cannot possibly create that output, it is tempered with it seems like. This is probably a server related issue then.
All I can suggest is:
– Try completely wiping the plugin installation and re-install fully from the installer from codecanyon.net. To make sure that there was no error during moving the files.
– Checking your server configuration
– Checking the CDN configuration
– Contacting the server provider to ask about the unwanted output within the ajax response.I can check the configuration then, if you want to. Please make sure that the support account has the admin privileges, as currently I cannot access the plugin dashboard.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 21, 2019 at 2:31 pm #24700Done the permits in the account
November 21, 2019 at 2:32 pm #24701– Checking your server configuration
what i need to check in this item - AuthorPosts
You must be logged in to reply to this topic.