Problem/Motivation

Admin toolbar get vanished when we are updating any content and coming to the home page again

Steps to reproduce

  1. Login with the admin user
  2. Go to content and edit any node
  3. Update the node content
  4. Come back to the home page. The toolbar menu gets hidden.
  5. The issue occurs only on the server, not reflecting in the local and issue is reflecting only in Drupal 10

Proposed resolution

  • Need to check for the toolbar menu session.

Comments

shahin-raza created an issue. See original summary.

shahin-raza’s picture

Issue summary: View changes
shahin-raza’s picture

Status: Needs work » Active
max2bos’s picture

I'm also having this issue on a site running Drupal 9.5.10.

shahin-raza’s picture

I got the issue, the issue is related to the 'reverse_proxy' and 'reverse_proxy_trusted_headers'.

The issue occurs due to the deprecated Symfony 6 object HEADER_X_FORWARDED_ALL.

I have fixed it by setting the appropriate value in the settings.php on the server.

shahin-raza’s picture

Status: Active » Closed (works as designed)
vlyalko’s picture

Hi shahin-raza, I am having the same issues after the upgrade to drupal 10 and after updating a few pieces if content to test the upgrade.
What values did you have to update/add in settings.php to fix this issue? I would appreciate if you could post the fix.

Thank you

wmfinck’s picture

The issue occurs due to the deprecated Symfony 6 object HEADER_X_FORWARDED_ALL.

I have fixed it by setting the appropriate value in the settings.php on the server.

No, I have this issue on one of three fresh drupal installs I have made the last few days, and the toolbar disappeared before I did much to the website. The line "HEADER_X_FORWARDED_ALL" was never in the settings.php file.

damienmckenna’s picture

Category: Bug report » Support request
Status: Closed (works as designed) » Active
Issue tags: -toolbar-vanished

This just showed up for a site that runs on Pantheon, which had been fine until a recent set of updates was deployed. I fixed the problem by adding the Pantheon Advanced Page Cache module.

dydave’s picture

Thanks Damien (@damienmckenna), could this be somehow related to some of the explanation given here?
#3541815-7: Edit icon button disappears after the second display of a page