I wanted to report this small problem when using the entity browser module in modal view. I get dozens of warnings with "Solo: Page wrapper element not found
Drupal.solo.getBreakpointNumber @ js_Or3xPtLXKQhBQtbGE…heme=fun&includ…:24". How can I fix it?

Comments

bigtomfelix created an issue. See original summary.

flashwebcenter’s picture

Title: Page wrapper element » Fix Solo page wrapper warning in Entity Browser modal view
Category: Support request » Task
Status: Active » Needs review

Thanks for reporting this. I found that the warning happens when Solo’s JavaScript is loaded inside an Entity Browser modal where the normal page wrapper is not present.

I pushed a fix to the dev branch. Please update to dev, clear Drupal caches, test it again, and let me know if the warnings are gone.

Best wishes,
Alaa

vinodhini.e’s picture

Hi, Replicated the issue on Drupal 11.2.5
When using the entity browser module in modal view, console errors were displayed.
Installed the latest dev version of the module
Reconfigured Entity Browser
Issue is resolved, and no console errors are showing now.. Thanks!