• My theme is custom and for some reason the theme has caused the admin ajax to quit working. What, in general, will conflict with the ajax or just the backend?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Any javascripts or the use of reserved names in the theme’s functions.php file.

    Thread Starter alexmglover

    (@alexmglover)

    I have nothing in my functions.php but it is possible that I have something in some of my template files. Where can I find a list of WordPress reserved names?

    Thread Starter alexmglover

    (@alexmglover)

    I am getting this error in my web developer toolbar when I try to add a new custom field, which is where the problem happens.

    Error: XML or text declaration not at start of entity
    Source File: /wp-admin/admin-ajax.php
    Line: 2, Column: 1
    Source Code:
    <?xml version=’1.0′ standalone=’yes’?><wp_ajax><response action=’add-meta_1477′><meta id=’1477′ position=’1′><response_data><![CDATA[

    I have this problem too. No javascript or name conflicts in functions file.

    Thread Starter alexmglover

    (@alexmglover)

    It ended up being my functions.php file like esmi said. I misspelled something in my register_functions function. Try taking everything out of your functions.php, save it… test the problem and then you can just put it all back.

    For me it also was the functions file. I had a filter that limits the excerpt. This was the trouble maker… Now I use a excerpt editor plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Theme causes Admin ajax to stop working’ is closed to new replies.