Title: Uncaught Error: Call to undefined function simplexml_load_string()
Last modified: April 26, 2021

---

# Uncaught Error: Call to undefined function simplexml_load_string()

 *  Resolved [cocoleche](https://wordpress.org/support/users/cocoleche/)
 * (@cocoleche)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-simplexml_load_string/)
 * I’m trying to set this up on a “new” install I brought over with Duplicator, 
   but all I’m getting is the following in the “Generate” section that usually shows
   the generate process.
 * `[2021-04-26 12:54:25] Error: (1) Uncaught Error: Call to undefined function 
   simplexml_load_string() in /usr/local/www/apache24/data/bongo_de/wp-content/plugins/
   simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php:439
   Stack trace: #0 /usr/local/www/apache24/data/bongo_de/wp-content/plugins/simply-
   static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php(845): voku\
   helper\HtmlDomParser->createDOMDocument() #1 /usr/local/www/apache24/data/bongo_de/
   wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/
   HtmlDomParser.php(225): voku\helper\HtmlDomParser->loadHtml() #2 /usr/local/www/
   apache24/data/bongo_de/wp-content/plugins/simply-static/src/class-ss-url-extractor.
   php(268): voku\helper\HtmlDomParser::__callStatic() #3 /usr/local/www/apache24/
   data/bongo_de/wp-content/plugins/simply-static/src/class-ss-url-extractor.php(
   158): Simply_Static\Url_Extractor->extract_and_replace_urls_in_html() #4 /usr/
   local/www/apache24/data/bongo_de/wp-content/plugins/simply-static/src/tasks/class-
   ss-fetch-urls-tas in /usr/local/www/apache24/data/bongo_de/wp-content/plugins/
   simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php on
   line 439`

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

 *  Plugin Author [patrickposner](https://wordpress.org/support/users/patrickposner/)
 * (@patrickposner)
 * [5 years ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-simplexml_load_string/#post-14485618)
 * Hey [@cocoleche](https://wordpress.org/support/users/cocoleche/),
 * your server missing the php7.2-xml (or newer) package.
    Install it and it should
   work fine.
 * Best regards,
    Patrick
 *  Thread Starter [cocoleche](https://wordpress.org/support/users/cocoleche/)
 * (@cocoleche)
 * [5 years ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-simplexml_load_string/#post-14488840)
 * Yes, thank you, I figured it out.

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

The topic ‘Uncaught Error: Call to undefined function simplexml_load_string()’ is
closed to new replies.

 * ![](https://ps.w.org/simply-static/assets/icon-256x256.png?rev=2443263)
 * [Simply Static - The Static Site Generator](https://wordpress.org/plugins/simply-static/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simply-static/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simply-static/)
 * [Active Topics](https://wordpress.org/support/plugin/simply-static/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simply-static/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simply-static/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [cocoleche](https://wordpress.org/support/users/cocoleche/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-simplexml_load_string/#post-14488840)
 * Status: resolved