• Resolved josuevhn

    (@josuevhn)


    Hi,

    I’m getting the following error message when trying to use the shortcode inside a WPBakery Page Builder text block:

    2019/04/22 15:01:44 [error] 10511#10511: *1651 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /var/www/swiftbycoding.dev/wp-content/plugins/wp-appbox/inc/queryelements.php:258
    Stack trace:
    #0 /var/www/swiftbycoding.dev/wp-content/plugins/wp-appbox/inc/queryelements.php(327): DOMDocumentWrapper->documentCreate('UTF-8')
    #1 /var/www/swiftbycoding.dev/wp-content/plugins/wp-appbox/inc/queryelements.php(221): DOMDocumentWrapper->loadMarkupHTML('<!DOCTYPE html>...', '')
    #2 /var/www/swiftbycoding.dev/wp-content/plugins/wp-appbox/inc/queryelements.php(194): DOMDocumentWrapper->loadMarkup('<!DOCTYPE html>...')
    #3 /var/www/swiftbycoding.dev/wp-content/plugins/wp-appbox/inc/queryelements.php(180): DOMDocumentWrapper->load('<!DOCTYPE html>...', 'text/html', NULL)
    #4 /var/www/swiftbycoding.dev/wp-content/plugins/wp-appbox/inc/queryelements.php(4880): DOMDocumentWrapper->__construct('<!DOCTYPE html>...', 'text/html', NULL)
    #5 /var/www/swiftbycoding.dev/wp-content/plugins/wp-appbox/inc/queryelements.php(4654): phpQuery::create" while reading response header from upstream, client: 108.162.212.163, server: swiftbycoding.dev, request: "GET /navstar/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "swiftbycoding.dev"

    I’m using WordPress 5.1.1 and PHP 7.3.

    What could I do to solve this issue?

    Thanks in advance!

    • This topic was modified 5 years, 11 months ago by josuevhn.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found’ is closed to new replies.