• Resolved Rene Hermenau

    (@renehermi)


    Hi friends,

    René here, founder of WP STAGING.
    I had to debug a recent issue on one of our users. Once AIOM is activated, WP STAGING does not work anymore because AIOM blocks all of our ajax requests. Disabling AIOS fixed it, so I guess the firewall is involved here.

    Our Ajax requests always contain the string action=wpstg_[action-name] and the full blocked request looked like this:

    https://www.tc-deckenpfronn.de/wp-admin/admin-ajax.php?action=wpstg_processing&_=1694604934.262

    1. What can we implement to prevent this from further happening?
    2. Can you whitelist our requests for the future?

    We never had this issue before with AIOS.

    Thanks
    René



Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Rene Hermenau

    (@renehermi)

    The Salt Prefix option causes this error. Disabling that option will make WP STAGING reusable again.

    We are now looking for a way to make wp staging compatible with this “feature”.

    I would be happy if you could share some technical details about how this salt option works before we spend time debugging it.

    Plugin Support aporter

    (@aporter)

    Hi,

    We had someone report this to us recently and when we looked into it we found the conflict was between the AIOS salt feature and WP STAGING Optimizer mu-plugin.

    The salt feature generates random strings to be added to the end of the existing WordPress salts these are added via the ‘salt’ filter these strings are cycled on a cron.

    So when the page loads the salts with postfixes are used to generate the nonces, but then when a WP STAGING action runs with the Optimizer option enabled it disables AIOS.

    This means when the code then tries to check the nonces they no longer match as the postfixes are not loaded any more, because the ‘salt’ filter in AIOS can’t run to add them.

    Best Wishes,

    Ashley

    Thread Starter Rene Hermenau

    (@renehermi)

    Thanks, I was curious so I looked into that and found the exact same thing out.

    We will now check how we can solve it from our side.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘AIOS breaks WP STAGING plugin and breaks its Ajax requests. Founder here!’ is closed to new replies.