WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My site displays the following script error in IE8:

Webpage error details
Message: 'ajaxurl' is undefined
Line: 1
Char: 102
Code: 0
URI: http://www.superlogical.net/wp-includes/js/wp-lists.js?ver=20110521

I can't see what is calling wp-lists.js.

Any ideas?

share|improve this question

wp-lists.js seems to be one of scripts, used in WP admin. Assuming ajaxurl is defined is from there as well.

This is likely some plugin, trying to use these in admin area but (being poorly coded) loading them everyhwere.

share|improve this answer
Thanks. The code ajaxurl is only contained in two plugins: Add This, and Wordpress SEO. I will see which one is causing the problem. – Steve Jul 22 '11 at 9:50
:-S Deactivating them one by one didn't make a difference - error is still there. – Steve Jul 22 '11 at 9:54
@Steve don't search for that, it might just be called in one of scripts internally. Look for something like wp_enqueue_script('wp-lists'). – Rarst Jul 22 '11 at 10:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.