• Resolved TKServer

    (@tkserver)


    Description: We’ve identified a compatibility issue between Cleantalk Anti-Spam and custom admin pages that use WP_User_Query.

    The Problem:

    • Custom admin page uses WP_User_Query to display a paginated list of users (20 users per page)
    • With Cleantalk enabled, the page fails to render the user table completely
    • With Cleantalk disabled, the page works perfectly
    • Error logs show memory exhaustion in CleantalkWpDieOnComment.php

    Environment:

    • WordPress with ~4,000 users and ~250,000 posts
    • PHP 8.x with 256MB memory limit
    • Simple WP_User_Query with basic pagination

    Expected Behavior: Cleantalk should not interfere with admin-area user queries that are clearly for administrative purposes, not spam checking.

    Suggested Fix: Cleantalk should check if the current request is in the admin area (is_admin()) and skip heavy processing for administrative user queries.

    This appears to be Cleantalk hooking into pre_user_query, users_pre_query, or similar WordPress user query hooks and adding processing that’s unnecessary for admin pages.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter TKServer

    (@tkserver)

    This issue has been resolved by increasing the WordPress memory limit from 256MB to 512MB.

    Perhaps examine Cleantalk’s memory consumption. With Cleantalk disabled the custom admin pages function properly under 256MB.

    Plugin Support katereji

    (@katereji)

    Hello @tkserver

    Thank you for reporting this issue. Could you please tell us your website URL so we can take a closer look at this case?

    Thread Starter TKServer

    (@tkserver)

    Ute Hub

    Thank you!

    Plugin Support katereji

    (@katereji)

    Thank you @tkserver

    I’ve created a task for our developers. We will contact you as soon as we have any news.

    Hello @tkserver ,

    To investigate this more thoroughly, could you please submit a request through our support system? That will let us securely check your setup and help fix the issue faster. Looking forward to your ticket!

    You can contact us here: https://cleantalk.org/my/support/open

    Thread Starter TKServer

    (@tkserver)

    Done

    Plugin Support katereji

    (@katereji)

    Hello @tkserver

    We haven’t heard back from you in a few days, so I’m going to mark this thread as “resolved”.

    We also wait for your reply in created ticket #49924.

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

The topic ‘Plugin Conflict – Cleantalk interfering with WP_User_Query in admin area’ is closed to new replies.