Title: AMP plugin Javascript error and outdated content
Last modified: June 15, 2022

---

# AMP plugin Javascript error and outdated content

 *  Resolved [alwinaugustinnew](https://wordpress.org/support/users/alwinaugustinnew/)
 * (@alwinaugustinnew)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/amp-plugin-javascript-error-and-outdated-content/)
 * I am using the AMP plugin for WordPress and the version is 2.0.4. This is running
   on WordPress 5.5.6. I have the following issues here
 * 1.
 * I am not able to access the admin interface as it is giving the following Javascript
   errors:
 *     ```
       amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:1 Uncaught TypeError: Object(...) is not a function
           at Object.<anonymous> (amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:1:184423)
           at n (amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:1:110)
           at Object.<anonymous> (amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:29:334866)
           at n (amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:1:110)
           at Object.<anonymous> (amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:1:82671)
           at Object.<anonymous> (amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:1:84029)
           at n (amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:1:110)
           at Module.<anonymous> (amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:29:2349)
           at Module.<anonymous> (amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:29:5960)
           at n (amp-settings.js?ver=5a73ef155d6bc964ad399a8029e1c2cf:1:110)
       ```
   
 *     ```
       and 
       ```
   
 * wp-backbone.min.js?ver=5.5.6:2 Uncaught TypeError: Cannot read properties of 
   undefined (reading ‘isArray’)
    at new wp.Backbone.Subviews (wp-backbone.min.js?
   ver=5.5.6:2:113) at n.constructor (wp-backbone.min.js?ver=5.5.6:2:2499) at n.
   constructor (media-views.min.js?ver=5.5.6:2:23469) at new n (backbone.min.js?
   ver=1.4.0:2:23450) at HTMLDocument.init (media-editor.min.js?ver=5.5.6:2:10761)
   at i (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,utils&ver=5.5.6:2:27362)
   at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-
   core,utils&ver=5.5.6:2:28121) at Function.ready (load-scripts.php?c=1&load%5Bchunk_0%
   5D=jquery-core,utils&ver=5.5.6:2:29914) at HTMLDocument.J (load-scripts.php?c
   =1&load%5Bchunk_0%5D=jquery-core,utils&ver=5.5.6:2:30276)`
 * and because of this error, I am not able to access the admin interface. But the
   AMP functionality seems working fine as I am able to access AMP pages using URLs
   added with amp, like [https://www.mydomain.com/2022/03/my-post-url/amp](https://www.mydomain.com/2022/03/my-post-url/amp)
 * 2.
 * For one the link, when opening the amp page, I am getting outdated content. The
   content has been updated, but this is not reflected on the AMP site. Currently,
   this is observed for only one URL, but not sure whether this is the case for 
   other URLs also.
 * 1. How can I update the content on the AMP site?
 * 2. Is there any option to compare AMP version and non-AMP version for all the
   posts?
 * Thanks

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

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/amp-plugin-javascript-error-and-outdated-content/#post-15739588)
 * Hello [@alwinaugustinnew](https://wordpress.org/support/users/alwinaugustinnew/)
 * Thank you for contacting us, We will recommend using the latest version of the
   AMP plugin and WordPress version.
 * There could be more factors affecting the settings page, such as using old versions
   of plugins and WordPress, some third-party plugins or themes, etc.
 * We will recommend self-debugging using the Health and Troubleshooting plugin.
 * To narrow down further, could you use the [Health Check & Troubleshooting plugin](https://wordpress.org/plugins/health-check/)
   and enable [its troubleshooting mode](https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/#troubleshooting).
   This mode disables active plugins and switches to a default theme safely since
   it only affects the experience of the logged-in user.
 * – Please [enable the AMP plugin](https://jmp.sh/Zc5YLI9) and let me know if the
   issue is present.
    – Enabling plugins and your theme one by one in this mode 
   may help pinpoint if something else is involved. – Note you can [disable troubleshooting mode](https://jmp.sh/uErQi8t)
   from the plugins page.
 * > 1. How can I update the content on the AMP site?
 * We are guessing that the AMP cache might not be updated, You will need to request
   re-indexing from the google search console so the AMP cache gets updated with
   the latest changes.
 * > 2. Is there any option to compare the AMP version and non-AMP version for all
   > the posts?
 * You can compare AMP and non-AMP pages using the paired browsing method. you need
   to log in as admin for this once you are logged in as admin add `?amp-paired-
   browsing=1` to the URL
    PS: You can not use it for the Reader Mode legacy theme.
 * eg: [https://example.com/?amp-paired-browsing=1](https://example.com/?amp-paired-browsing=1)
 * You will get a side-by-side comparison of AMP and non-AMP pages.
 * I hope this is helpful!
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/amp-plugin-javascript-error-and-outdated-content/#post-15764691)
 * [@alwinaugustinnew](https://wordpress.org/support/users/alwinaugustinnew/) As
   we didn’t receive a response I’ll mark this as resolved. Feel free to open a 
   [new support topic](https://wordpress.org/support/plugin/amp/#new-post) if you
   require any further assistance.

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

The topic ‘AMP plugin Javascript error and outdated content’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Milind More](https://wordpress.org/support/users/milindmore22/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/amp-plugin-javascript-error-and-outdated-content/#post-15764691)
 * Status: resolved