Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Plugin (wpas) causing admin-ajax.php error

Discussion in 'Misc WordPress Requests' started by bcworkz, Dec 2, 2017.

  1. bcworkz


    Reply To: Plugin (wpas) causing admin-ajax.php error, by bcworkz

    Unfortunately, 400 errors are one of the least informative. Use your browser’s network developer tool to see the actual request causing the 400. Something is wrong, either in sent headers or sent parameters. Seeing what’s missing or wrong can be a challenge, you need to be familiar with what the target code is expecting. For Ajax calls it’s primarily the existence of an action: parameter. Also be sure the headers sent are appropriate for Ajax (content type for example).

    It’ll help if you can compare network data with a very similar, working Ajax request. Once you identify what is wrong, find the code responsible and alter it to correct the problem. Easier said than done!

    Reply To: Plugin (wpas) causing admin-ajax.php error

Share This Page

Monarch Social Sharing Plugin