• Hi, this message is in regards to the recent update where you introduced the “Freemius” script.

    There seems to be an issue that blocks other plugin AJAX requests and returns 0 instead of the usual requests. It has something to do with the _fs_blog_admin=true sent over POST, and indicates to me Freemius is not making AJAX requests correctly.

    When you look this up in Google you see many other reports about the same thing:

    https://www.google.com/search?client=firefox-b-1-d&q=_fs_blog_admin

    We have reverted to the previous version of your plugin for now. This issue seems to be related to the Freemius script and not your plugin directly, but I’d like to bring it to your attention here to see if you have any suggestions. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Alex,

    Thank you very much, you are the first of two reports of this I received when I woke up this morning. I’m investigating and will get back to you,

    Chris

    Thread Starter kolakube

    (@alexmangini)

    Thanks for the fast response Chris! Who doesn’t love error reports in the morning?! I will keep an eye out for your response and my client looks forward to getting up to date.

    So… ok, Freemius suggests it’s a false positive and has more information here:

    https://freemius.com/blog/release-notes-new-pricing-page-license-activation-improvements/#removing_fs_blog_admin_fs_network_admin_from_heartbeat_requests

    but you are saying it is blocking other ajax requests, and the other report I received said it’s “messing with” other ajax requests. That’s serious stuff that, while I would like to use Freemius, I certainly don’t want GN Publisher doing.

    Freemius said the can look into this further though – the are requesting more information on the page that you visited when they noticed the issue, so that they can try to find out the source of the AJAX request?

    If you don’t mind sending that to me, but would prefer to send it privately, you can email me at [email protected]

    Thread Starter kolakube

    (@alexmangini)

    Thanks for staying on this, I’d love to see this issue resolved for both plugins sake!

    Freemius said the can look into this further though – the are requesting more information on the page that you visited when they noticed the issue, so that they can try to find out the source of the AJAX request?

    It happens on any AJAX request made from my new plugin (https://xftowp.com). I am using wp_remote_post() and wp_remote_get() and following all of the procedures of making an AJAX request, including using both wp_ajax_ and wp_ajax_nopriv_, and using wp_die() at the end of the PHP action. Yet something seems to occur during $_POST that overwrites—not adds—the passed data to only include _fs_blog_admin=true.

    I am speculating, but from that article:

    Due to WordPress limitations, when a WP AJAX call is invoked, there’s no way to identify if it was initiated from the WP admin area or the site front.

    Is it possible to pass a frontend/admin check with wp_localize_script to pass into their script?

    Thank you Alex, this should be very helpful, I’m working on getting it resolved –

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Freemius _fs_blog_admin AJAX conflict’ is closed to new replies.