• Hi,

    I have installed this plugin onto a WordPress Multisite and when trying to activate for one of the blogs I get a http Error 500 when trying to load the page.

    Here are some screenshots which show the 500 error and also the link rel of the amp url

    View post on imgur.com

    Any ideas for the problem? I have tried changing and re-saving the permalinks which i have read can be a problem but it doesn’t fix it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you resave your permalinks a second time, and clear caching ?

    Also try clearing *all* transients using wp-optimize plugin.

    Works for me on all themes.

    • This reply was modified 9 years, 6 months ago by neotrope.

    Had the same issue after I updated PHP 5.6 > 7.0 > 7.1 and cleaned up older versions. I checked PHP logs and found there:

    PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found …

    Apparently php-xml module was missing.
    Had to install it on Ubuntu:
    sudo apt-get install php-xml

    And AMP started working again.

    • This reply was modified 9 years, 1 month ago by Bielousov.
    • This reply was modified 9 years, 1 month ago by Bielousov.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘When adding AMP, getting HTTP ERROR 500 on AMP URLs.’ is closed to new replies.