Page MenuHomePhabricator

"Uncaught TypeError: Cannot read property ‘setNotices’ of undefined" on arwiki
Closed, DuplicatePublicBUG REPORT

Description

  1. On arwiki enable the link recommendation (with ge.utils.setUserVariant( 'linkrecommendation') 2. Go to any of the recommended articles - the recommended link surface doesn't load and the following error is displayed:
Uncaught TypeError: Cannot read property 'setNotices' of undefined
    at AddLinkDesktopArticleTarget.ve.init.mw.DesktopArticleTarget.surfaceReady 
    at AddLinkDesktopArticleTarget.surfaceReady

The state of an article when the above error is displayed:

Screen Shot 2021-05-04 at 5.05.05 PM.png (908×2 px, 204 KB)