Support » Plugin: W3 Total Cache » PHP Error Amazon Cloudfront

  • Resolved raydh199

    (@raydh199)


    Hi Everyone,

    after i updated my wordpress version and php vesion to 7.1 im not able to upload any media on my website.
    i tried to check the server logs and i get this

    `[Wed Jul 17 07:42:10.363742 2019] [php7:error] [pid 14149] [client 23.92.xx.xxx:50880] PHP Fatal error: Uncaught Error: Class ‘SimpleXMLElement’ not found in /home/admin/web/domain.com/public_html/wp-content/plugins/w3-total-cache/lib/Aws/Aws/Api/Parser/PayloadParserTrait.php:44\nStack trace:\n#0 /home/admin/web/domain.com/public_html/wp-content/plugins/w3-total-cache/lib/Aws/Aws/Api/Parser/RestXmlParser.php(39): Aws\\Api\\Parser\\RestXmlParser->parseXml(Object(GuzzleHttp\\Psr7\\Stream), Object(GuzzleHttp\\Psr7\\Response))\n#1 /home/admin/web/domain.com/public_html/wp-content/plugins/w3-total-cache/lib/Aws/Aws/Api/Parser/RestXmlParser.php(31): Aws\\Api\\Parser\\RestXmlParser->parseMemberFromStream(Object(GuzzleHttp\\Psr7\\Stream), Object(Aws\\Api\\StructureShape), Object(GuzzleHttp\\Psr7\\Response))\n#2 /home/admin/web/domain.com/public_html/wp-content/plugins/w3-total-cache/lib/Aws/Aws/Api/Parser/AbstractRestParser.php(85): Aws\\Api\\Parser\\RestXmlParser->payload(Object(GuzzleHttp\\Psr7\\Response), Object(Aws\\Api\\StructureShape), Array)\n#3 /home/admin/web/domain in /home/admin/web/domain.com/public_html/wp-content/plugins/w3-total-cache/lib/Aws/Aws/Api/Parser/PayloadParserTrait.php on line 44, referer: https://domain.com/wp-admin/admin.php?page=w3tc_cdn

    any idea why this is happening ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello,
    I am sorry about the issue you are having but I am happy to assist you with it.
    Have you tried restarting your Apache/Nginx after the update?
    Also, Check if php7.1-xml is installed.

    Thread Starter raydh199

    (@raydh199)

    oops, the php xml was missing :).
    i easly installed it via ssh : sudo yum install php-xml and then -> service httpd restart.

    everything works fine now, thank you

    Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello,

    Glad to know your issue is resolved!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Error Amazon Cloudfront’ is closed to new replies.