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

When i try to add a local link (toward my own pages) on some text in my post, the AJAX function run indefinitely and didn't find anything. I've opened my browser's console and i've saw the following error : mysite.com/wp-admin/admin-ajax.php respond with a Internal Server Error.

But I never modified this file or core files in general. Is it a known bug or whatever ?

share|improve this question
How do you specify the link? Can we see what you're trying anywhere live? – tfrommen Mar 11 '13 at 17:01
I can't post images (not enough reputation). It's when you open the popup to add links on specified text in my post (second last button at first line of tinymce editor) – Romibuzi Mar 11 '13 at 17:08
Yes, well, what did you write into the input dialog for the link? I'm a bit confused, because as far as I know there is no ajax involved on the front-end - and you're talking about an ordinary link... What about the live site? Can you give us the URL? When/Where do you get the error? – tfrommen Mar 11 '13 at 17:15
It's when i edit the post since the back office, i found theese pictures of what i want to do : google.fr/… – Romibuzi Mar 11 '13 at 17:19
And : google.fr/… – Romibuzi Mar 11 '13 at 17:20

I finally found the problem, i used a depreciated function in my functions.php which caused many problems with wp_tiny_mce editor in my back office :

wp_tiny_mce(false, array(
    'mode' => 'exact',
    'elements' => 'tw',
    'height' => 200,
    'plugins' => 'inlinepopups,wpdialogs,wplink,media,wpeditimage,wpgallery,paste,tabfocus',
    'convert_newlines_to_brs' => true

This function is depreciated since WP 3.3.

Use wp_editor instead : http://codex.wordpress.org/Function_Reference/wp_editor

share|improve this answer

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.