• Resolved Ken Pyle

    (@ken-pyle)


    This message appears when the AMP plug-in is activated. “The AMP Site Scanner has experienced an error.”

    The message indicates the following details should be submitted to the support forum.

    
    {
      "message": "s.sources is not iterable",
      "stack": "TypeError: s.sources is not iterable\n    at https://viodi.com/wordpress/wp-content/plugins/amp/assets/js/amp-site-scan-notice.js?ver=1ff6d3ca9e1662d9875b2cf9dda6e4e5:1:8537\n    at https://viodi.com/wordpress/wp-content/plugins/amp/assets/js/amp-site-scan-notice.js?ver=1ff6d3ca9e1662d9875b2cf9dda6e4e5:1:8903\n    at Object.jh [as useMemo] (https://c0.wp.com/c/5.8.2/wp-includes/js/dist/vendor/react-dom.min.js:91:386)\n    at d.useMemo (https://c0.wp.com/c/5.8.2/wp-includes/js/dist/vendor/react.min.js:32:231)\n    at j (https://viodi.com/wordpress/wp-content/plugins/amp/assets/js/amp-site-scan-notice.js?ver=1ff6d3ca9e1662d9875b2cf9dda6e4e5:1:8099)\n    at we (https://c0.wp.com/c/5.8.2/wp-includes/js/dist/vendor/react-dom.min.js:84:293)\n    at He (https://c0.wp.com/c/5.8.2/wp-includes/js/dist/vendor/react-dom.min.js:97:464)\n    at zj (https://c0.wp.com/c/5.8.2/wp-includes/js/dist/vendor/react-dom.min.js:228:406)\n    at Th (https://c0.wp.com/c/5.8.2/wp-includes/js/dist/vendor/react-dom.min.js:152:223)\n    at tj (https://c0.wp.com/c/5.8.2/wp-includes/js/dist/vendor/react-dom.min.js:152:152)"
    }
    
    • This topic was modified 2 years, 11 months ago by Yui.
    • This topic was modified 2 years, 11 months ago by Yui. Reason: formatting

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @ken-pyle

    Thank you for the support topic, from initial inspection we are seeing that you have different WordPress Address (URL) and Site Address (URL)

    Can you please update the WordPress Address (URL) by visiting Dashboard->Settings->General

    (screenshot)

    Hope this helps!

    Plugin Support Milind More

    (@milindmore22)

    @ken-pyle As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

    Plugin Author Weston Ruter

    (@westonruter)

    This may indicate something that could use some hardening. I’ve opened an issue to investigate further: https://github.com/ampproject/amp-wp/issues/6827

    I still have this issue with version 2.2.0 of the plugin.

    WordPress Address (URL) and Site Address (URL) are identical in my setup.

    {
      "message": "r.sources is not iterable",
      "stack": "TypeError: r.sources is not iterable\n    at https://quindar.de/wp-content/plugins/amp/assets/js/amp-settings.js?ver=84f962f321cef34c28a6eb9d3e461662:16:11941\n    at https://quindar.de/wp-content/plugins/amp/assets/js/amp-settings.js?ver=84f962f321cef34c28a6eb9d3e461662:16:12308\n    at Object.Oi [as useMemo] (https://quindar.de/wp-content/plugins/amp/assets/js/amp-settings.js?ver=84f962f321cef34c28a6eb9d3e461662:1:350722)\n    at t.useMemo (https://quindar.de/wp-content/plugins/amp/assets/js/amp-settings.js?ver=84f962f321cef34c28a6eb9d3e461662:1:414086)\n    at No (https://quindar.de/wp-content/plugins/amp/assets/js/amp-settings.js?ver=84f962f321cef34c28a6eb9d3e461662:16:11500)\n    at ii (https://quindar.de/wp-content/plugins/amp/assets/js/amp-settings.js?ver=84f962f321cef34c28a6eb9d3e461662:1:346018)\n    at Ri (https://quindar.de/wp-content/plugins/amp/assets/js/amp-settings.js?ver=84f962f321cef34c28a6eb9d3e461662:1:355536)\n    at Is (https://quindar.de/wp-content/plugins/amp/assets/js/amp-settings.js?ver=84f962f321cef34c28a6eb9d3e461662:1:398814)\n    at kc (https://quindar.de/wp-content/plugins/amp/assets/js/amp-settings.js?ver=84f962f321cef34c28a6eb9d3e461662:1:385172)\n    at zc (https://quindar.de/wp-content/plugins/amp/assets/js/amp-settings.js?ver=84f962f321cef34c28a6eb9d3e461662:1:385100)"
    }
    Plugin Author Weston Ruter

    (@westonruter)

    @ken-pyle @ulib We have just merged a fix for this error. You can test it in a 2.2.x pre-release build of the plugin.

    The 2.2.1 release should be out next week.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘s.sources is not iterable’ is closed to new replies.