Title: PHP warnings in debug.log
Last modified: July 21, 2021

---

# PHP warnings in debug.log

 *  Resolved [cephuo](https://wordpress.org/support/users/cephuo/)
 * (@cephuo)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log-4/)
 * Hello
    Using the paid version of the plugin and starting from 3rd of July 2021
   the debug.log file became 16MB in size with these warnings:
 *     ```
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): error parsing attribute name in Entity, line: 3 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): error parsing attribute name in Entity, line: 3 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): error parsing attribute name in Entity, line: 3 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       [03-Jul-2021 16:52:53 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 1 in /var/www/site.com/wp-content/plugins/megaoptim-image-optimizer/includes/functions/webp.php on line 433
       ```
   
 * Note: no change was done to the website around this period until now and no plugin/
   theme was automatically updated
    -  This topic was modified 4 years, 10 months ago by [cephuo](https://wordpress.org/support/users/cephuo/).
      Reason: note added

Viewing 1 replies (of 1 total)

 *  Plugin Author [Darko G.](https://wordpress.org/support/users/darkog/)
 * (@darkog)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log-4/#post-14848633)
 * Hi [@cephuo](https://wordpress.org/support/users/cephuo/) ,
 * The problem is resolved with the new 1.4.17 version.
 * Best Regards,
    Darko
    -  This reply was modified 4 years, 9 months ago by [Darko G.](https://wordpress.org/support/users/darkog/).

Viewing 1 replies (of 1 total)

The topic ‘PHP warnings in debug.log’ is closed to new replies.

 * ![](https://ps.w.org/megaoptim-image-optimizer/assets/icon-256x256.png?rev=3502609)
 * [MegaOptim Image Optimizer - Optimize WebP & AVIF, Compress Images, Convert to WebP & AVIF](https://wordpress.org/plugins/megaoptim-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megaoptim-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megaoptim-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/megaoptim-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megaoptim-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megaoptim-image-optimizer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Darko G.](https://wordpress.org/support/users/darkog/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log-4/#post-14848633)
 * Status: resolved