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)andwp-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
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
The topic ‘AMP plugin Javascript error and outdated content’ is closed to new replies.