When trying to upgrade to Drupal 10.4.0, I am getting the following error and after doing a cache rebuild, the menu on my site stops working properly. I get this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'theme')
    at Object.attach

I guess Asset ordering is now more strictly determined by library dependencies may be related.

Does anybody experience the same error? Or does this only happen when using AdaptiveTheme 8.x-5.4?

Comments

sd123 created an issue.

hip’s picture

Hi.
May be or may not be related but when I upgraded from 10.3.9 to 10.4.1 my theme partially broke (logged/not logged). I downgraded and looking for a solution.

This post may be related: https://www.drupal.org/project/adaptivetheme/issues/3498246 and there may be more cases affected. Following!

electric.larry’s picture

I posted a patch for a workaround here that works with 7.0.x as well as 8.x-5.x:
https://www.drupal.org/project/adaptivetheme/issues/3498246

Please review.