I can also see this issue with the good Genymotion android emoulator
Webview: https://i.imgur.com/Xhwx37y.png
Google Chrome: https://i.imgur.com/PS5CYWW.png
I have a Xiaomi Poco f1 anyway.
I’ve also noticed that If I rescale the desktop browser to the mobile responsive m-query and refresh, it also gives the error.
This is caught in the javascript log (with the Chrome Android inspector over ADB):
Uncaught TypeError: Cannot read property ‘parentNode’ of null at 711344d….js:5 (the minified/combined WP-Rocket JS)
.parentNode.removeChild(su_image_carousel_5d9875749ba78_script);
I’m checking the code of includes/shortcodes/image-carousel.php
And the problem is that this JS code is not only hardcoded but also inlined. Therefore, I’m stuck in the middle of nowhere when using su-carousel shortcode: I can’t exclude the JS file from WP-Rocket combination process and I can’t manipulate adequately that fragment of code because it doesn’t follow the WP guidelines.
-
This reply was modified 5 years ago by SirLouen.
-
This reply was modified 5 years ago by SirLouen.
-
This reply was modified 5 years ago by SirLouen.