wordpress logo

Some of the most popular or more commonly used WordPress plugins in the community are plugins created by Lester Chan. About a two weeks ago, he released an update for the WP-Email, WP-Polls, WP-PostRatings and WP-PostViews plugins that included some changes like assigning the /wp-admin/admin-ajax.php file to handle AJAX requests.

Due to those changes some users are experiencing AJAX-related problems. Below are the two most common issues:

  • “-1″ or “Failed To Verify Referrer” – This means that most likely you are using a caching plugin like W3 Total Cache (W3TC) and the Javascript being minified/combined and cached is outdated.
  • Password Protected /wp-admin/ Will Not Work – If you are using .htpasswd to protect your wp-admin folder, AJAX request to wp-admin/admin-ajax.php will not work. This problem is not unique to my plugin. Any WordPress Plugins that uses the WordPress AJAX API will break.
  • Your WP-Admin Is HTTPS While Your Site Is Not – If your WP-Admin is behind SSL aka HTTPS and you have the following config in your wp-config.php define('FORCE_SSL_ADMIN', true);, the AJAX will fail because https://yoursite.com is different from http://yoursite.com and the browser treat it as different domain.

If you are using any of these plugins: WP-Polls, WP-PostRatings or WP-PostViews and are experiencing any AJAX problems or AJAX-related issues like the ones listed above, please check out Lester Chan’s most recent blog post for further details regarding the issues and how to fix them.

JaypeeOnline is supported by its audience. When you click on the advertisements or purchase through links on our site, we may earn an affiliate commission. Learn more



Owner and editor of JaypeeOnline. Self-proclaimed geek. New media writer and consultant. WordPress advocate. Loves blogging, gadgets, video games and sports. You can follow him on Facebook or Twitter.


  • Anche, February 6, 2019 @ 4:28 AM

    “Failed To Verify Referrer” drove me insane. Finally, I figured it out and uninstalled that cache plugin.

  • Sourish @ Iphone 4 jailbreak, June 6, 2012 @ 1:53 AM

    i use many of his plugins like page Navi and DB Manager . The db manager practically saved my site

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.