Hello, I need some help. When I first added on WPDiscuz, I tested everything, and the comments were working properly. However, a user informed me that it is not working now. I also tested it and found I had the same issue as the user. We try to leave a name/email and comment, but nothing happens. Only some bars up on the corner flash that it is "thinking" and then stop, and nothing has been submitted - it's like the submit button does nothing. Please advise!
Hi,
Please enable the "Use WordPress native AJAX functions" option, and check again.
The option is located in the Dashboard > wpDiscuz > Settings > General Settings tab. More info here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/general-settings/#use-wordpress-native-ajax-functions
Hi, Asti, apologies for the delay. I had other website issues that took precendence over solving this one. Now that they are fixed I'm back to troubleshooting this one. I enabled the option "Use WordPress native AJAX functions" and tried again, but it is still doing the same thing - it has the thinking bars in the corner, and then in some browsers a pop-up with a portion of my website with the Login button pops up and then disappears after like 5 seconds. I double checked my WP setting for discussion to ensure that a guest only needs to give their name and email to be able to post a comment. Also, the rating feature works fine, it is just the commenting portion that is not working. Thanks for any light you can shed on the issue.
@asti I reviewed my security plug-in and didn't find anything that would block the WordPress AJAX as well as the .htaccess file.
I ran a lengthy session with the Hostinger AI troubleshooter, Kodee. She had me use the browser's DevTools Network to see what was happening. Somehow, it is calling the request from my local server URL instead of my webpage.
Rochelle — if Origin is missing and the initiator is just jquery.min.js, that usually means some inline script/plugin code is calling $.ajax("https://127.0.0.1/") (jQuery is only the transport, not the source).
Rochelle — that pins it to wpDiscuz’s JS bundle, so the 127.0.0.1 URL is being fed into wpDiscuz as its AJAX/API endpoint (it doesn’t originate from jQuery).
Next steps (one path at a time):
- Find the localized wpDiscuz config on the page: View source → search for
wpdiscuz/wpcd/ajaxurl/admin-ajax.phpand paste the JS object near it (it should contain the URL wpDiscuz uses). - Clear all caches: purge LiteSpeed Cache + any minify/combination cache, then hard refresh (Ctrl/Cmd+Shift+R). Combined scripts can keep old endpoints.
- If it still uses
127.0.0.1, the endpoint is being altered by a URL filter or config mismatch—most commonly:
WP_HOME/WP_SITEURLinwp-config.phphome/siteurlinwp_options- a plugin filtering
home_url()/site_url()(MU-plugins are prime suspects)
If you paste the wpDiscuz config object from page source, I’ll tell you exactly which WordPress value is wrong (and where to correct it).
I'm not sure exactly what she is asking for in step 1, and I was wondering if you or someone with more coding/development experience than I have (which is none) could help me figure out what the JS object is or how to find it? I have been reviewing my files and databases for any instances of 127.0.0.1 and haven't found anything so far that would be misrouting the URL to the local host instead of my website. Any light you can shed on this issue is greatly appreciated! Including my DevTools screenshot for you.


