Strange behavior with 404 pages

Created on 18 April 2023, about 1 year ago
Updated 21 July 2023, 11 months ago

Problem/Motivation

I wanted to use the 404 page on /admin/config/system/site-information
After clear the cache I was testing what's happening when I visit a non- existing page. I find out it works, bud my header appeared twice.
After some search I find out when I use the "Minify Source HTML" option on the /admin/config/development/performance page, then this strange duplication of the header occurs. When I untick the "Minify Source HTML" option the problem dissapears.

Using: Systeemnaam: minifyhtml Versie: 2.0.2; PHP Versie 8.1.13; Drupal core 9.5.7

Steps to reproduce

Install the module, check "Minify Source HTML". Use the 404- page on /admin/config/system/site-information
Clear the cache. Go to a non- existing page. Then you will see it.

Proposed resolution

I don't know

Remaining tasks

πŸ’¬ Support request
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands MLZR Zutphen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024