DOMDocument::loadHTML(): Unexpected end tag
-
I get a lot of warnings in when using maintenance mode (WP block theme FSE).
Warning: “DOMDocument::loadHTML(): Unexpected end tag”Can you fix that by suppressing the warning?
Possible fix:
Add: @
to: $doc->loadHTML( ” . $output . ” );
on line: 1122 and 1140
in: wp-maintenance-mode/includes/classes/wp-maintenance-mode.php
See: https://stackoverflow.com/questions/28832297/unexpected-end-tag-p-in-entity-in-domdocumentloadhtml-errorIn maintenance mode I may set Debug to True.
Then, it would be nice if warnings are suppressed.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.