[Plugin: WP Mobile Detector] PHP Warning: DOMDocument::loadHTML()
-
I discover an error in my error_log file. This is the message:
[14-Oct-2012 13:00:33] PHP Warning: DOMDocument::loadHTML() [<a href='domdocument.loadhtml'>domdocument.loadhtml</a>]: htmlParseStartTag: invalid element name in Entity, line: 125 in /home/jorjette/public_html/egofelix.com/wp-content/plugins/wp-mobile-detector/functions.php on line 283 [14-Oct-2012 13:00:33] PHP Warning: DOMDocument::loadHTML() [<a href='domdocument.loadhtml'>domdocument.loadhtml</a>]: Unexpected end tag : strong in Entity, line: 125 in /home/jorjette/public_html/egofelix.com/wp-content/plugins/wp-mobile-detector/functions.php on line 283 [14-Oct-2012 13:00:33] PHP Warning: DOMDocument::loadHTML() [<a href='domdocument.loadhtml'>domdocument.loadhtml</a>]: Unexpected end tag : p in Entity, line: 216 in /home/jorjette/public_html/egofelix.com/wp-content/plugins/wp-mobile-detector/functions.php on line 283 [14-Oct-2012 13:00:47] PHP Warning: DOMDocument::loadHTML() [<a href='domdocument.loadhtml'>domdocument.loadhtml</a>]: Opening and ending tag mismatch: div and td in Entity, line: 100 in /home/jorjette/public_html/egofelix.com/wp-content/plugins/wp-mobile-detector/functions.php on line 283 [14-Oct-2012 13:00:47] PHP Warning: DOMDocument::loadHTML() [<a href='domdocument.loadhtml'>domdocument.loadhtml</a>]: Unexpected end tag : p in Entity, line: 104 in /home/jorjette/public_html/egofelix.com/wp-content/plugins/wp-mobile-detector/functions.php on line 283
Can someone fix this problem? in the file the section with the problem is:
if (class_exists('DOMDocument')) { //Resize the images on the page $dom = new DOMDocument(); $dom->loadHTML($html);
i think its about resizing the images or something like that. In one week my error_log become more than 20Mb. Please fix the code man!
https://www.ads-software.com/extend/plugins/wp-mobile-detector/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP Mobile Detector] PHP Warning: DOMDocument::loadHTML()’ is closed to new replies.