Title: Getting admin-ajax.php 500 internal error
Last modified: October 7, 2018

---

# Getting admin-ajax.php 500 internal error

 *  Resolved [stefanbay](https://wordpress.org/support/users/stefanbay/)
 * (@stefanbay)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/getting-admin-ajax-php-500-internal-error/)
 * When trying to export my orders, i get an admin-ajax.php 500 error – When trying
   other XML export plugins, they work without problems

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/getting-admin-ajax-php-500-internal-error/#post-10758631)
 * Hi
 * Please, mark checkbox “Enable debug output” (in “Misc Settings”) and press “Export
   w/o progress”. Will you see exact error message?
 * thanks, Alex
 *  Thread Starter [stefanbay](https://wordpress.org/support/users/stefanbay/)
 * (@stefanbay)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/getting-admin-ajax-php-500-internal-error/#post-10758682)
 * Hi Alex,
 * Here you have the error message 🙂
 *     ```
       Warning: SimpleXMLElement::__construct() [simplexmlelement.construct]: Entity: line 1: parser error : StartTag: invalid element name in /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xml.php on line 36
   
       Warning: SimpleXMLElement::__construct() [simplexmlelement.construct]: <></> in /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xml.php on line 36
   
       Warning: SimpleXMLElement::__construct() [simplexmlelement.construct]: ^ in /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xml.php on line 36
   
       Warning: SimpleXMLElement::__construct() [simplexmlelement.construct]: Entity: line 1: parser error : Extra content at the end of the document in /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xml.php on line 36
   
       Warning: SimpleXMLElement::__construct() [simplexmlelement.construct]: <></> in /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xml.php on line 36
   
       Warning: SimpleXMLElement::__construct() [simplexmlelement.construct]: ^ in /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xml.php on line 36
   
       Fatal error: Uncaught Exception: String could not be parsed as XML in /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xml.php:36 Stack trace: #0 /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xml.php(36): SimpleXMLElement->__construct('<></>') #1 /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-engine.php(614): WOE_Formatter_Xml->output(Array) #2 /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/admin/class-wc-order-export-ajax.php(336): WC_Order_Export_Engine::build_file_full(Array) #3 /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/class-wc-order-export-admin.php(755): WC_Order_Export_Ajax->plain_export() #4 /var/www/innoliving.dk/public_html/wp-includes/class-wp-hook.php(286): WC_Order_Export_Admin->ajax_gate('') #5 /var/www/innoliving.dk/public_html/wp-includes/ in /var/www/innoliving.dk/public_html/wp-content/plugins/woo-order-export-lite/classes/formats/class-woe-formatter-xml.php on line 36
       ```
   
 * – Stefan
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/getting-admin-ajax-php-500-internal-error/#post-10758718)
 * hi Stefan
 * Please, open section “XML” and enter value in field “Order tag”.
    thanks, Alex
 *  Thread Starter [stefanbay](https://wordpress.org/support/users/stefanbay/)
 * (@stefanbay)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/getting-admin-ajax-php-500-internal-error/#post-10758802)
 * Thank you! Is there a way to remove the <orders> tag? As I only need to export
   1 order at a time 🙂
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/getting-admin-ajax-php-500-internal-error/#post-10758833)
 * hi Stefan
 * yes. open section “XML” and set empty “Root tag”.
    thanks, Alex
 *  Thread Starter [stefanbay](https://wordpress.org/support/users/stefanbay/)
 * (@stefanbay)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/getting-admin-ajax-php-500-internal-error/#post-10758857)
 * Thank you! 🙂
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/getting-admin-ajax-php-500-internal-error/#post-10758913)
 * you’re welcome.
    If you need custom XML – tweak sample addon [https://algolplus.com/plugins/code-samples/#sample_addons](https://algolplus.com/plugins/code-samples/#sample_addons)
 * thank you for the review.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Getting admin-ajax.php 500 internal error’ is closed to new replies.

 * ![](https://ps.w.org/woo-order-export-lite/assets/icon-256x256.png?rev=1365554)
 * [Advanced Order Export For WooCommerce](https://wordpress.org/plugins/woo-order-export-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-order-export-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-order-export-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-order-export-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-order-export-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-order-export-lite/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [algol.plus](https://wordpress.org/support/users/algolplus/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/getting-admin-ajax-php-500-internal-error/#post-10758913)
 * Status: resolved