WPDM Gutenberg blocks broken in WordPress 7 due to Floating UI change

in Download Manager Free

Viewing 2 posts - 1 through 2 (of 2 total)
Jun 28, 2026 at 9:25 am
#214765
Participant
Luigi Luigi
OP

Hi,
since updating to WordPress 7 some of the WPDM Gutenberg blocks are throwing the following error in the editor console and failing to render:
TypeError: parameter 1 is not of type ‘Element’.
at Zd (wp-includes/js/dist/components.min.js)
at whileElementsMounted

The full stack trace points to @wordpress/components and specifically to Floating UI’s whileElementsMounted function. This appears to be caused by a breaking change in WordPress 7, which ships a newer and stricter version of Floating UI. Any block that uses Popover, DropdownMenu, or similar components from @wordpress/components is affected if the reference element is not yet mounted in the DOM when Floating UI tries to attach to it.
I am not the only one experiencing this — the same error occurs with blocks from other plugins, so it is a compatibility issue with WordPress 7’s updated component library rather than an isolated bug.
Could you please look into updating the WPDM blocks to handle this case? In the meantime I am working around it by using shortcodes instead of blocks.
WordPress version: 7.x

WPDM version: 3.3.58

PHP version: 8.4.16
Thanks

Jun 28, 2026 at 9:29 am
#214766
Moderator
Tahasin
Staff

Hello,

I hope this message finds you well and thanks for reaching out.

Could you please share a few relevant URLs where the blocks are not rendering properly? This will help us take a closer look and investigate the issue more effectively.

Regards

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.