- Issue created by @dgwolf
- 🇩🇰Denmark ressa Copenhagen
Could it be a custom link (
einfache_seite_mit_datei_bild_fe
), causing this? I see this in the release notes:Breaking changes:
The following changes are part of the reason why this new release was added as a new minor version (3.6.x), since they introduce backward compatibility (BC) breaking changes:
Important: The module does not support anymore the implementation of a
__construct
method for any class extending classExtraLinks
, see issue #3514075 → .
In other words, if any class extends module'sExtraLinks
class and implements its own__construct
method, the site will crash after upgrade.
The issue above explains what would be the required code changes to fix these types of errors.https://www.drupal.org/project/admin_toolbar/releases/3.6.0 →
Also, from another issue:
[...] please make sure to run database updates because the config structure has changed, see also 🐛 Warning: Trying to access array offset on null in admin_toolbar_toolbar_alter() Active .
Could missing database updates be the reason? From the top of the release notes:
How to update? Requires running database updates (
drush updb
) which make changes to the active configurations of the module.It's recommended to run updates locally, before doing them on the live web site.
- 🇫🇷France dydave
@dgwolf:
It seems you are using the contrib module Admin Toolbar Content → (see
admin_toolbar_content
in the stack trace in the issue summary), which "could" be the problem here ...Sorry, but I didn't have time to test this myself, but it would be worth looking into:
https://git.drupalcode.org/project/admin_toolbar_content/-/blob/2.0.x/sr...Just make sure you have the latest versions installed in general, for this module as well... maybe this could help fixing the issue in your case.
Otherwise, I'll try taking a look a bit later when I have more time.
Thanks in advance!
- 🇫🇷France dydave
@dgwolf:
This issue was also reported in the Admin Toolbar Content → module, see:
📌 Compatibility with Admin Toolbar 3.6.0 Active
where a patch was submitted in issue's merge request MR !37.Could you please try testing again with the suggested patch for
admin_toolbar_content
?Could we maybe try fixing this issue in the Admin Toolbar Content → module instead?
Do you think we could consider Admin Toolbar is working fine and that the issue is rather with Admin Toolbar Content?Otherwise, as a "personal" advice:
It would seem the module Admin Toolbar Content → is Minimally maintained with No further development, a rather limited user base (about 500 reported installs) and maintainers are now directing users to Navigation Extra → as a potential replacement.Therefore, if you have a choice, I would recommend to try moving away from the Admin Toolbar Content module to another solution, since the module doesn't necessarily seem to be very well maintained.
Since a solution was provided in this comment, moving issue to Needs review for now, as an attempt to attract more attention, reviews, testing and reporting feedback.
Feel free to let us know if you have any questions on this issue or the changes suggested in the merge request, we would certainly be glad to help.
Thanks in advance! Thanks a lot, @dydave! Please excuse the delayed answer. I'm glad you fixed this - your patch for admin_toolbar_content works very well here, and I wouldn't have been able to contribute to it.