- Issue created by @Anwoon
- 🇺🇸United States DamienMcKenna NH, USA
Thank you for reporting this bug. Can you please test to see if the current dev version resolves the problem. Thank you.
- First commit to issue fork.
- Open on Drupal.org →Core: 9.5.5 + Environment: PHP 7.3 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - @ranjit1032002 opened merge request.
- last update
over 1 year ago 372 pass - Status changed to Needs review
over 1 year ago 12:21pm 24 April 2023 - 🇮🇳India Ranjit1032002
Created MR!79 for the issue mentioned, please review.
Thank you. - 🇺🇸United States DamienMcKenna NH, USA
Can you please explain how this happens? Did you set the page title tag to only include a token that ends up being blank when it's rendered? Have you tried looking at the contents of the $attachment variable inside the if() statement in this part to see what values are present?
foreach ($metatag_attachments['#attached']['html_head'] as $attachment) { if (!empty($attachment[1]) && $attachment[1] == 'title') { // Empty head_title to avoid the site name and slogan to be appended to // the meta title. $variables['head_title'] = []; $variables['head_title']['title'] = html_entity_decode($attachment[0]['#attributes']['content'], ENT_QUOTES); // No need to do anything else after this. break; } }
- last update
over 1 year ago 372 pass - last update
over 1 year ago 372 pass - Status changed to Postponed: needs info
over 1 year ago 3:35pm 16 May 2023 - 🇺🇸United States DamienMcKenna NH, USA
Need some feedback on what caused this problem.
- 🇫🇷France Anwoon
Now with the empty page or user profil and any page $attachment[0]['#attributes']['content'] was null
-
DamienMcKenna →
committed d0978d46 on 8.x-1.x authored by
Ranjit1032002 →
Issue #3355945 by Ranjit1032002, Anwoon, DamienMcKenna: Deprecated...
-
DamienMcKenna →
committed d0978d46 on 8.x-1.x authored by
Ranjit1032002 →
- Status changed to Fixed
over 1 year ago 4:46pm 12 June 2023 - 🇺🇸United States DamienMcKenna NH, USA
Ok, that's fair.
Committed, with a minor tweak.
-
DamienMcKenna →
committed 94f0d69b on 2.0.x authored by
Ranjit1032002 →
Issue #3355945 by Ranjit1032002, Anwoon, DamienMcKenna: Deprecated...
-
DamienMcKenna →
committed 94f0d69b on 2.0.x authored by
Ranjit1032002 →
Automatically closed - issue fixed for 2 weeks with no activity.