Closed (fixed)
Project:
htmLawed
Version:
4.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Nov 2026 at 07:24 UTC
Updated:
1 Nov 2026 at 16:38 UTC
Jump to comment: Most recent
Generated with the help of an LLM.
In 4.1.9, htmlawed.post_update.php starts with a docblock instead of <?php. When Drupal loads post-update files, PHP prints the file's source as plain
text:
/admin/reports/status shows the raw source above the page.drush updatedb and drush deploy print the source.htmlawed_post_update_announce_changed_default_config() is never defined, so the post-update never runs.The 4.1.x branch has the same problem.
/admin/reports/status or run drush updatedb.htmlawed.post_update.php is printed.Add the opening <?php tag to htmlawed.post_update.php. Patch attached.
Review and commit.
None.
None.
| Comment | File | Size | Author |
|---|---|---|---|
| htmlawed-post-update-missing-php-tag.patch | 291 bytes | ssawafta |
Comments
Comment #3
alpha2zee commentedThank you for informing of this silly mistake. Now fixed in new version 4.1.10.
Comment #5
alpha2zee commented