Home Forums Support email invoice error: Class 'XMLWriter' not found

This topic contains 2 replies, has 2 voices, and was last updated by  ricksege 2 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21203

    ricksege
    Participant

    Self-hosting installed via zip on AWS Linux instance.

    When attempting to email an invoice, I receive the following error in the laravel-error.log:
    production.ERROR: ***Symfony\Component\Debug\Exception\FatalErrorException*** [1] : /var/www/html/ninja/vendor/sabre/xml/lib/Writer.php [Line 31] => Class 'XMLWriter' not found {"context":"PHP","user_id":1,"account_id":1,

    On a potentially related note: when using the download invoice option, I get the following error in the browser: Exporting to ZIP requires the GMP extension. The GMP extension is installed (see below). I’ve checked directory ownership and permissions among many other suggestions.

    Any assistance with this would be much appreciated.

    PHP has all the required dependencies as follows:

    [PHP Modules]
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    exif
    fileinfo
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    json
    libxml
    mbstring
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    readline
    Reflection
    session
    SimpleXML
    sockets
    SPL
    sqlite3
    standard
    tokenizer
    wddx
    xml
    xmlreader
    xmlwriter
    xsl
    zip
    zlib
    • This topic was modified 3 months, 2 weeks ago by  ricksege. Reason: spelling
    #21209

    Hillel Coren
    Keymaster

    Have you tried yum install php-xml

    #21350

    ricksege
    Participant

    That was tried and did not fix the issue. I ended up reinstalling on Ubuntu and everything is working fine now.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Posted in: