Uncaught TypeError: Cannot read properties of undefined (reading 'length')

Hello dear X/Pro support,

I am using the Pro Theme with Ethos. As soon as I rescale or filter the Portfolio page I am getting millions of this error:
Uncaught TypeError: Cannot read properties of undefined (reading 'length')

I am using:
WP: 6.0.2
Pro: 5.1.5

I have disabled all plugins
Cleared all caches incl. the browser cache.
Disabled the cloudflare DNS caching.
Removed all customisations incl. custom css and js

Unfortunately the issue remains. Would be great if you could have a look. (Details in the Secure Note)

Thanks and BR
Max

Hello Max,

Thanks for writing to us.

Thanks for checking the common issue. I suspect that it might be an ongoing issue that has already been fixed in the upcoming release. As a temporary solution, you can add this line of code under Theme Options > JS.

if (window.jQuery.xIsotope) window.jQuery.xIsotope.settings.animationEngine = 'css';

That will prevent jQuery errors and restore masonry functionality.

Hope it helps.
Thanks

Hello prakash_s,

allright, thanks for letting me know. The workaround is fixing it :slight_smile:
Thanks + BR
Max

You are most welcome, @NGD.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.