Title: Error accessing AMP plugin settings
Last modified: January 16, 2021

---

# Error accessing AMP plugin settings

 *  Resolved [iyadmn](https://wordpress.org/support/users/iyadmn/)
 * (@iyadmn)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-accessing-amp-plugin-settings/)
 * Hi
 * On my website I had the plugin version 1.5.5 and I tried to update to the latest
   2.0.10.
 * After updating to the current version, I do not have access to the General AMP
   Settings and also the AMP Analytics settings.
 * [https://www.mydomain.es/wp-admin/admin.php?page=amp-options](https://www.mydomain.es/wp-admin/admin.php?page=amp-options)
 * [https://www.mydomain.es/wp-admin/admin.php?page=amp-options#analytics-options](https://www.mydomain.es/wp-admin/admin.php?page=amp-options#analytics-options)
 * When trying to access these sections I get the following error:
 * There has been a critical error on this website. Please check your site administrator’s
   email inbox for instructions.
 * Learn more about debugging in WordPress.
 * And in the mail it indicates the following message:
 * In this case, WordPress has detected an error with one of your plugins, AMP.
 * When looking for help with this problem, you may be asked for the following information:
 * WordPress version 5.6
 * Current topic: PV (version 5.10) Current plugin: AMP (version 2.0.10) PHP version
   7.4.13
 * NOTE: My website is configured with Cloudflare
 * An error of type E_COMPILE_ERROR occurred on line 236 of the file /home/pv/public_html/
   wp-content/plugins/amp/amp.php. Mensaje de error: require_once(): Failed opening
   required ‘/home/pv/public_html/wp-content/plugins/amp/vendor/autoload.php’ (include_path
   =’.:/opt/alt/php74/usr/share/pear’)
 * I have tried to delete the AMP plugin and install it from the official wordpress
   repository, from the plugins part of the WordPress backend and also deleting 
   it from my FTP and uploading it by hand.
 * If I go back to version 1.5.5, I have access to the general AMP settings and 
   the AMP analytics settings.
 * With version 2.0.10 of the plugin, my website and AMP post view work, but I don’t
   have access to the AMP plugin settings/analytics settings.
 * The same happens if I test with versions 2.0.9 and 2.0.0 (I have downloaded them
   from [https://github.com/ampproject/amp-wp/releases](https://github.com/ampproject/amp-wp/releases))
 * I await your response, thanks in advance
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-accessing-amp-plugin-settings%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-accessing-amp-plugin-settings/#post-13921332)
 * Hello [@iyadmn](https://wordpress.org/support/users/iyadmn/)
 * Thanks for the support topic, Your site seems to be suing the 2.0.10 version 
   of the plugin, please confirm if your issue has been resolved. if yes, please
   share how it got resolved
 * If you are still facing the issue can you please re-install the plugin and check
   if this autolod.php file exists on the path. plugins/amp/vendor/autolod.php
 * Also, please send us your site health information along with full debug log using
   [this](https://docs.google.com/forms/d/1JTQmphDlk9YgHpDoFRbHXpkDqv8-QmzTT7MDR4AstyQ/)
   form so we can investigate the issue further.
 *  Thread Starter [iyadmn](https://wordpress.org/support/users/iyadmn/)
 * (@iyadmn)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-accessing-amp-plugin-settings/#post-13928498)
 * Hi Milind
 * Right now AMP 2.0.10 is working on my website. My blog posts load correctly in
   their AMP version.
 * The problem happens when I try to access the AMP Plugin settings from the WordPress
   Backend, it is when it shows me a critical error message.
 * AMP works but I don’t have access to the plugin settings and although it gives
   me that critical error, the web works without problems. I know that it is risky
   to leave a plugin running that gives you a critical error, but that error only
   occurs when accessing the AMP plugin settings.
 * If I enable debugging and debug logging I can access AMP Settings, if I disable
   debugging and debug logging, I lose access to AMP Settings.
 * The file wp-content/plugins/amp/vendor/autoload.php is present, accessible and
   has code.
 * I have filled out the form with all the information you request.
 * I am waiting for any response from you, thanks in advance
    -  This reply was modified 5 years, 4 months ago by [iyadmn](https://wordpress.org/support/users/iyadmn/).
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-accessing-amp-plugin-settings/#post-13933101)
 * Hello [@iyadmn](https://wordpress.org/support/users/iyadmn/)
 * Thanks for the info, I am unable to reproduce the issue at my end, Can you please
   follow troubleshooting at your end to determine which plugins/theme may conflict
   with AMP.
 * you can try to check whether the same issue arises when you activate plugins 
   one by one following the steps below:
    - Install and activate the [Health Check & Troubleshooting](https://wordpress.org/plugins/health-check/)
      plugin.
    - Navigate to Tools > Site Health > Troubleshooting.
    - Enable trouble shooting mode
    - Visit plugin -> installed plugins and activate them one by one and check which
      plugin is causing issue
 * You can exit troubleshooting mode afterward.
 * Also, Can you please send a PHP Error log when you activate the AMP 2.0.10 and
   when you are trying to access the backend (It should contain the full stack of
   error mentioned in the topic )
 *  Thread Starter [iyadmn](https://wordpress.org/support/users/iyadmn/)
 * (@iyadmn)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-accessing-amp-plugin-settings/#post-13936791)
 * Hi Milind
 * The plugin that caused the error to AMP settings was: wp-rest-api-cache
 * [https://wordpress.org/plugins/wp-rest-api-cache/](https://wordpress.org/plugins/wp-rest-api-cache/)
 * I have changed that plugin (which had not received updates for years) for this
   one: WP REST Cache
 * [https://wordpress.org/plugins/wp-rest-cache/](https://wordpress.org/plugins/wp-rest-cache/)
 * Thanks for your help, I was unaware that I had to install the [Health Check & Troubleshooting](https://wordpress.org/plugins/health-check/)
   plugin to be able to use the troubleshooting mode, I thought it was already standard
   in the health part of WordPress, I think it is a very good option to test the
   issue of possible incompatibilities between plugins.
 * Thank you very much for all the guidelines and your help. I mark this ticket 
   as resolved and update the tags.
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-accessing-amp-plugin-settings/#post-13937648)
 * Glad to know it resolved the issue, Thanks for letting us know about wp-rest-
   api-cache conflicts. We will keep a note of the plugin for our future support
   topics.
 * Be sure to [share your thoughts](https://wordpress.org/support/plugin/amp/reviews/#new-post)
   on using the AMP plugin, we’d love to hear your feedback.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error accessing AMP plugin settings’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

## Tags

 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 5 replies
 * 2 participants
 * Last reply from: [Milind More](https://wordpress.org/support/users/milindmore22/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/error-accessing-amp-plugin-settings/#post-13937648)
 * Status: resolved