• Today I started getting a bunch of fatal errors in our the Apache error log. This is similar to another post from last year, but it didn’t provide a solution.

    AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Class 'AmpProject\\Exception\\FailedToGetFromRemoteUrl' not found in /var/www/html/blog/wp-content/plugins/accelerated-mobile-pages/includes/vendor/tool/RemoteRequest/CurlRemoteGetRequest.php:142\n
    
    Stack trace:\n
    #0 /var/www/html/blog/wp-content/plugins/accelerated-mobile-pages/includes/vendor/tool/RuntimeVersion.php(78): AmpProject\\RemoteRequest\\CurlRemoteGetRequest->get()\n
    #1 /var/www/html/blog/wp-content/plugins/accelerated-mobile-pages/includes/vendor/tool/Optimizer/Transformer/AmpRuntimeCss.php(163): AmpProject\\RuntimeVersion->currentVersion()\n
    #2 /var/www/html/blog/wp-content/plugins/accelerated-mobile-pages/includes/vendor/tool/Optimizer/Transformer/AmpRuntimeCss.php(139): AmpProject\\Optimizer\\Transformer\\AmpRuntimeCss->inlineCss()\n
    #3 /var/www/html/blog/wp-content/plugins/accelerated-mobile-pages/includes/vendor/tool/Optimizer/Transformer/AmpRuntimeCss.php(101): AmpProject\\Optimizer\\Transformer\\AmpRuntimeCss->addStaticCss()\n
    #4 /var/www/html/blog/wp-con...'

    Please point to a solution if possible.

Viewing 1 replies (of 1 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Sorry for the inconvenience. Can you please let me know which PHP version & AMPforWP version you are using currently at your end? So that we will check the issue and get back to you immediately.

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Error: Class ‘AmpProject\\Exception\\FailedToGet…’ is closed to new replies.