Title: Plugin not working with ajax comments
Last modified: August 17, 2020

---

# Plugin not working with ajax comments

 *  Resolved [emmanuel33](https://wordpress.org/support/users/emmanuel33/)
 * (@emmanuel33)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-not-working-with-ajax-comments/)
 * Hi,
 * I’m currently experiencing an issue with your plugin.
    My comment form is working
   with ajax in order not to refresh the page when the user is posting.
 * The problem is that your plugin returns me “Wrong usage of print_flagging_link().”
   when I’m calling comment_reply_link.
 * As a workaround I saw in your code I could use this to manually call the report
   link :
 *     ```
       define('no_autostart_safe_report_comments', true);
       $zeno_report_comments = new Zeno_Report_Comments(false);
       ```
   
 * But unfortunately, this isn’t working.
 * Do you have any solution ?

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

 *  Thread Starter [emmanuel33](https://wordpress.org/support/users/emmanuel33/)
 * (@emmanuel33)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-not-working-with-ajax-comments/#post-13281819)
 * Furthermore, I just noticed, none of the translation contained inside the __construct(“
   esc_html__”) are working. (translated with Loco Translate).
 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-not-working-with-ajax-comments/#post-13292061)
 * Hi, I suspect the global for `$in_comment_loop` is not set to true.
    Do you use
   a certain theme or plugin for ajax comments? That way I can test with that.
 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-not-working-with-ajax-comments/#post-13292120)
 * Hi,
    In my test setup the filters for those text strings do work. With real functions,
   also with anonymous functions. I am using Twenty Sixteen to test. It might be
   that something in your theme does not work right. Which theme do you use?
 *  Thread Starter [emmanuel33](https://wordpress.org/support/users/emmanuel33/)
 * (@emmanuel33)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-with-ajax-comments/#post-13534541)
 * Hi Marcel, thanks for your answer, I found a workaround since I posted the ticket.
 * Sorry for not responding to your question, I had a ton of work so pretty much
   forgot to check the ticket.
 * Anyway, fyi I was using Sage 9 starter theme.

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

 The topic ‘Plugin not working with ajax comments’ is closed to new replies.

 * ![](https://ps.w.org/zeno-report-comments/assets/icon-256x256.png?rev=1468613)
 * [Zeno Report Comments](https://wordpress.org/plugins/zeno-report-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zeno-report-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zeno-report-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/zeno-report-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zeno-report-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zeno-report-comments/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [emmanuel33](https://wordpress.org/support/users/emmanuel33/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/plugin-not-working-with-ajax-comments/#post-13534541)
 * Status: resolved