Multiple "Invalid" Warnings per page load
-
Hi Jordy,
I am getting a lot of warnings of the type:
WARNING: wp-content/plugins/wp-retina-2x/wp-retina-2x.php:107 – DOMDocument::loadHTML() [domdocument.loadhtml]: Tag nav invalid in Entity, line: 11
WARNING: wp-content/plugins/wp-retina-2x/wp-retina-2x.php:107 – DOMDocument::loadHTML() [domdocument.loadhtml]: htmlParseEntityRef: expecting ‘;’ in Entity, line: 288
etc.I read your post from a year ago where you said:
You can change the line 92 from…
$doc->loadHTML( $buffer );
to
@$doc->loadHTML( $buffer );It will be better 🙂
In my version of the plugin the ‘@’ has been added but I’m still getting the warnings.
Is there another route to stopping them from showing?
Many thanks, Pat
The topic ‘Multiple "Invalid" Warnings per page load’ is closed to new replies.