Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter siliconknight

    (@siliconknight)

    LOL So solved my own problem after seeing the XMLWriter issue. Seems my php7.0 install didn’t install the XMLWritter option so anyone who has this same issue:

    Ubuntu 16.04 / PHP7.0 / Nginx:

    sudo apt-get install php7.0-XMLWriter
    sudo service php7.0-fpm restart
    Thread Starter siliconknight

    (@siliconknight)

    Whoops! Sorry I just noticed I missed a little in the log.

    [error] 19317#19317: *2 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Class 'XMLWriter' not found in /var/www/html/wp-content/plugins/amazon-web-services/vendor/aws/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php:198
    Stack trace:
    #0 /var/www/html/wp-content/plugins/amazon-web-services/vendor/aws/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php(91): Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor->startDocument(NULL)
    #1 /var/www/html/wp-content/plugins/amazon-web-services/vendor/aws/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php(44): Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor->createRootElement(Object(Guzzle\Service\Description\Operation))
    #2 /var/www/html/wp-content/plugins/amazon-web-services/vendor/aws/Guzzle/Service/Command/DefaultRequestSerializer.php(79): Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor->visit(Object(Aws\S3\Command\S3Command), Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Service\Description\Parameter), Array)
    #" while reading response header from upstream, client: 172.31.22.30, server: xxxx.com, request: "GET /wp-admin/post.php?action=delete&post=28&_wpnonce=d07061fb05 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "xxxxx.com"
Viewing 2 replies - 1 through 2 (of 2 total)