• symmetrium

    (@symmetrium)


    Hi – there is a third party plugin that I have purchased, that makes ajax calls when a user accesses a given page.

    Interestingly, this plugin only works when Plugin Organizer is deactivated. Before I noticed this, the developer wrote “it is also possible that another plugin is preventing non-logged user to perform AJAX calls (As a kind of security measure)”. Is that the case with Plugin Organizer?

    I have tried to setup a filter to with the address of the page where I am using that plugin to disable Plugin Organiser on that page (I don’t know if that makes sense?) but that did not get rid of the problem. Is there a way to target ajax calls to disable plugin organiser just for those?

    Thank you! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    You probably disabled the plugin on the target of the Ajax calls for that plugin. It’s not an incompatibility. If you disable a plugin globally and it does an Ajax hit. Then it will be disabled on the page where it is sending the Ajax. Which is usually /wp-admin/admin-ajax.php.

    Thread Starter symmetrium

    (@symmetrium)

    Basically the current problem is now like this: when plugin organiser is active plugins screen (in wp dashboard) the other plugin works but its ajax calls fail, so it renders incompletely. When I completely deactivate plugin organizer, it works perfectly.

    I tried to disable plugin organiser on the page where I need that plugin (from the metabox) but it didn’t change anything – so I am wondering whether there is a logic loop there – (can it can disable itself when it is already disabled!?) If not, what would be the best way to get this thing to work?

    Thank you : ))))

    Plugin Author Jeff Sterup

    (@foomagoo)

    Create a plugin filter with https://www.whatteveryourdaminnameis.com/wp-admin/admin-ajax.php as the permalink. Then enable the plugin you are experiencing problems with on that plugin filter. I’m guessing you disabled the plugin globally or on a plugin filter that is causing it not to load on the admin-ajax.php page. If the plugin is doing an ajax call to a different url you will need to add a plugin filter for that url and enable the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin Incompatibility, ajax calls, ..workaround?’ is closed to new replies.