{"id":18928253,"date":"2026-06-04T06:45:39","date_gmt":"2026-06-04T06:45:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/js-error-warning\/"},"modified":"2026-06-04T06:45:39","modified_gmt":"2026-06-04T06:45:39","slug":"js-error-warning","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/js-error-warning\/","title":{"rendered":"JS Error \/ Warning"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I just noticed that there is a console error on every page, related to Easy Optimizer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>[Error] Unhandled Promise Rejection: Error: Speculation Rules not supported, fell back to prefetch.<br \/>(unknown function) (easyoptlink.js:312:99)<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">related code:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>if ((bothMode || prerenderMode) &amp;&amp; prerendered.size &lt; limit) {<br \/>prerender(hrefFn ? hrefFn(anchor) : anchor.href, options.eagerness)<br \/>.catch(function (err) { if (options.onError) options.onError(err); else throw err; });<br \/>return;<br \/>}<\/code><\/p>\n","protected":false},"template":"","class_list":["post-18928253","topic","type-topic","status-publish","hentry","topic-tag-cache-plugin"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18928253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18928253\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18928253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}