• Resolved niska

    (@niska)


    A lot of plugins use the following URL to manage settings:

    https://www.domain.com/wp-admin/admin-ajax.php?_fs_blog_admin=true

    And these plugins are not working when I’ve enabled Object cache = Memcached in W3TC. URL above returns response code 400.

    If I disable Object cache, then everything is working as expected.

    I think not Memcached is the problem, because I’ve checked it and it is working as expected.

    It seems to me that the problem is caused by W3TC. Is there a solution?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @niska

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    Can you please confirm that you are experiencing the same issue if the Object Caching method is set to Disk?
    Also please check if the option “Enable caching for wp-admin requests” is enabled in Performance>Object Cache and if so, please disable it, save all settings and purge the cache and see if the problem persists.
    Thanks!

    Thread Starter niska

    (@niska)

    “Enable caching for wp-admin requests” is not enabled.

    Will try your Disk-suggestion soon.

    Thread Starter niska

    (@niska)

    I have now set Object caching method to Disk. But this did not help. Problem is the same as before.

    Please advice.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @niska

    Strangely, I am unable to replicate the issue.
    I understand that this happens only when logged in. Can you please share your website URL and also, if you are using any other plugin to cache objects?
    Thanks!

    Thread Starter niska

    (@niska)

    https://bit.ly/3JrWs3h

    I’m only using W3TC.

    Thread Starter niska

    (@niska)

    Do you need any other information to track down this problem?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @niska

    Thank you for the information.
    Can you also please share which plugin is using _fs_blog_admin=true parameter?
    Thanks!

    Thread Starter niska

    (@niska)

    Sure, there are several. But the latest one I had problem with was Wordfence Security plugin. fs_blog_admin=true parameter is used when installing the plugin for the first time.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @niska

    Thank you for the information.
    I’ve tried to replicate the problem by enabling Object Caching and setting the cache method to Disk. After that, I tried to install Wordfence as per your suggestion, however, I was not able to replicate the problem as you can see in the screenshot below, so this problem may be related to your hosting environment.

    Are you experiencing any problems besides installing the plugins?

    Thanks!

    Thread Starter niska

    (@niska)

    No other problems.

    Would it be possible to check my error log – how do I enable logging?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @niska

    Thank you for the information.
    You can enable PHP error logs and also use WP_DEBUG and see what may be causing this. Once error logging is enabled, trigger the 400 error and check the error logs.
    Thanks!

    Thread Starter niska

    (@niska)

    Thanks. Unfortionately I had to switch to another caching plugin. Now everything is working.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘admin-ajax.php not working when Object cache = Memcached is activated’ is closed to new replies.