Found a bug with list not showing because of Thumbnails
-
If you activate “Thumbnails” in the table rows, the list of products will load – show for a few seconds and vanish afterwards. This can be fixed by removing the check for “Thumbnails” (you have to be really fast in doing this after page load!).
It is because of JavaScript Errors in Browser Console:
react-dom.production.min.js:198 TypeError: Cannot read property 'source_url' of undefined at $e (Image.js:41) at Ya (react-dom.production.min.js:150) at Po (react-dom.production.min.js:166) at Do (react-dom.production.min.js:179) at $i (react-dom.production.min.js:232) at Gi (react-dom.production.min.js:233) at Nl (react-dom.production.min.js:249) at Pl (react-dom.production.min.js:248) at jl (react-dom.production.min.js:250) at Object.notify (Subscription.js:23) di @ react-dom.production.min.js:198 n.callback @ react-dom.production.min.js:210 ai @ react-dom.production.min.js:193 ri @ react-dom.production.min.js:193 qi @ react-dom.production.min.js:217 Bi @ react-dom.production.min.js:220 (anonymous) @ react-dom.production.min.js:250 t.unstable_runWithPriority @ scheduler.production.min.js:18 Rl @ react-dom.production.min.js:250 Nl @ react-dom.production.min.js:249 Pl @ react-dom.production.min.js:248 jl @ react-dom.production.min.js:250 notify @ Subscription.js:23 t.notifyNestedSubs @ Subscription.js:65 o.notifySubscribers @ Provider.js:59 t.handleChangeWrapper @ Subscription.js:70 y @ redux.js:213 (anonymous) @ wpApiMiddleware.js:15 l @ components.min.js?ver=8.3.2:6 (anonymous) @ components.min.js?ver=8.3.2:6 forEach.e.<computed> @ components.min.js?ver=8.3.2:6 nn @ index.js:20 i @ wpApiMiddleware.js:3 (anonymous) @ wpApiMiddleware.js:3 a @ wpApiMiddleware.js:3 (anonymous) @ wpApiMiddleware.js:3 (anonymous) @ index.js:11 dispatch @ redux.js:611 (anonymous) @ wpApiMiddleware.js:85 (anonymous) @ wpApiMiddleware.js:85 l @ components.min.js?ver=8.3.2:6 (anonymous) @ components.min.js?ver=8.3.2:6 forEach.e.<computed> @ components.min.js?ver=8.3.2:6 nn @ index.js:20 i @ wpApiMiddleware.js:3 Promise.then (async) nn @ index.js:20 i @ wpApiMiddleware.js:3 Promise.then (async) nn @ index.js:20 i @ wpApiMiddleware.js:3 (anonymous) @ wpApiMiddleware.js:3 a @ wpApiMiddleware.js:3 (anonymous) @ wpApiMiddleware.js:3 (anonymous) @ index.js:11 (anonymous) @ redux.js:462 (anonymous) @ Products.js:48 mi @ react-dom.production.min.js:199 (anonymous) @ react-dom.production.min.js:218 Wi @ react-dom.production.min.js:218 Gi @ react-dom.production.min.js:233 Nl @ react-dom.production.min.js:249 Pl @ react-dom.production.min.js:248 jl @ react-dom.production.min.js:250 notify @ Subscription.js:23 t.notifyNestedSubs @ Subscription.js:65 o.notifySubscribers @ Provider.js:59 t.handleChangeWrapper @ Subscription.js:70 y @ redux.js:213 (anonymous) @ wpApiMiddleware.js:15 l @ components.min.js?ver=8.3.2:6 (anonymous) @ components.min.js?ver=8.3.2:6 forEach.e.<computed> @ components.min.js?ver=8.3.2:6 nn @ index.js:20 i @ wpApiMiddleware.js:3 (anonymous) @ wpApiMiddleware.js:3 a @ wpApiMiddleware.js:3 (anonymous) @ wpApiMiddleware.js:3 (anonymous) @ index.js:11 dispatch @ redux.js:611 (anonymous) @ wpApiMiddleware.js:85 (anonymous) @ wpApiMiddleware.js:85 l @ components.min.js?ver=8.3.2:6 (anonymous) @ components.min.js?ver=8.3.2:6 forEach.e.<computed> @ components.min.js?ver=8.3.2:6 nn @ index.js:20 i @ wpApiMiddleware.js:3 Promise.then (async) nn @ index.js:20 i @ wpApiMiddleware.js:3 Promise.then (async) nn @ index.js:20 i @ wpApiMiddleware.js:3 (anonymous) @ wpApiMiddleware.js:3 a @ wpApiMiddleware.js:3 (anonymous) @ wpApiMiddleware.js:3 (anonymous) @ index.js:11 (anonymous) @ redux.js:462 onVisible @ Products.js:58 (anonymous) @ InfiniteScroll.js:12 (anonymous) @ InfiniteScroll.js:10 Show 43 more frames Image.js:41 Uncaught (in promise) TypeError: Cannot read property 'source_url' of undefined at $e (Image.js:41) at Ya (react-dom.production.min.js:150) at Po (react-dom.production.min.js:166) at Do (react-dom.production.min.js:179) at $i (react-dom.production.min.js:232) at Gi (react-dom.production.min.js:233) at Nl (react-dom.production.min.js:249) at Pl (react-dom.production.min.js:248) at jl (react-dom.production.min.js:250) at Object.notify (Subscription.js:23)
The important one is: “Image.js:41 Uncaught (in promise) TypeError: Cannot read property ‘source_url’ of undefined”
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Found a bug with list not showing because of Thumbnails’ is closed to new replies.