Title: Invalid Character in Plugin.php?
Last modified: December 24, 2019

---

# Invalid Character in Plugin.php?

 *  Resolved [werdpres](https://wordpress.org/support/users/werdpres/)
 * (@werdpres)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/invalid-character-in-plugin-php/)
 * Lazy Loader 5.1.2
    WP 5.3.2 PHP 7.3
 * seeing lots of these in my error log
 * `[Mon Dec 23 03:20:17.301386 2019] [proxy_fcgi:error] [pid 806:tid 140415684335360][
   client 207.46.13.185:9532] AH01071: Got error 'PHP message: PHP Fatal error: 
   Uncaught DOMException: Invalid Character Error in /home/admin/domains/12bytes.
   org/public_html/wp-content/plugins/lazy-loading-responsive-images/src/Plugin.
   php:669\nStack trace:\n#0 /home/admin/domains/12bytes.org/public_html/wp-content/
   plugins/lazy-loading-responsive-images/src/Plugin.php(669): DOMElement->setAttribute('...
   totally', '')\n#1 /home/admin/domains/12bytes.org/public_html/wp-content/plugins/
   lazy-loading-responsive-images/src/Plugin.php(529): FlorianBrinkmann\\LazyLoadResponsiveImages\\
   Plugin->add_noscript_element(Object(DOMNamedNodeMap), Object(DOMDocument), Object(
   DOMElement), 'IFRAME')\n#2 /home/admin/domains/12bytes.org/public_html/wp-content/
   plugins/lazy-loading-responsive-images/src/Plugin.php(255): FlorianBrinkmann\\
   LazyLoadResponsiveImages\\Plugin->modify_iframe_markup(Object(DOMElement), Object(
   DOMDocument))\n#3 /home/admin/domains/12bytes.org/public_html/wp-includes/class-
   wp-hook.php(288): FlorianBrinkmann\\LazyLoadResponsiveImages\\Plugin->filter_markup('
   <...'`

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Florian Brinkmann](https://wordpress.org/support/users/florianbrinkmann/)
 * (@florianbrinkmann)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/invalid-character-in-plugin-php/#post-12285861)
 * Hi [@werdpres](https://wordpress.org/support/users/werdpres/),
 * thanks for opening the issue. I think I found the problem and (hopefully) a fix
   for it. Could you upload the 5.1.3 beta version ([https://github.com/florianbrinkmann/lazy-loading-responsive-images/releases/tag/v5.1.3-beta.1](https://github.com/florianbrinkmann/lazy-loading-responsive-images/releases/tag/v5.1.3-beta.1)
   the lazy-loading-responsive-images.zip) to your site and check if that fixes 
   the issue?
 * Best,
    Florian
 *  Thread Starter [werdpres](https://wordpress.org/support/users/werdpres/)
 * (@werdpres)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/invalid-character-in-plugin-php/#post-12286043)
 * hi Florian 🙂
 * i’m no diagnostic expert, when i `tail -f` the php_errors.log, i’m not seeing
   the error anymore when i load a page with images, so i believe the problem is
   fixed
 * thanks! i was getting tired of seeing that in the logs 🙂
 * i think this is very nice lazy-load plugin and i appreciate you putting the settings
   in the settings -> media menu
 *  Plugin Author [Florian Brinkmann](https://wordpress.org/support/users/florianbrinkmann/)
 * (@florianbrinkmann)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/invalid-character-in-plugin-php/#post-12308016)
 * Hi [@werdpres](https://wordpress.org/support/users/werdpres/),
 * thanks for checking the logs, and nice to hear that the errors are gone! 🙂 I
   will add the new version to the WordPress repository as soon as possible, I have
   a few things on my list to add before releasing it.
 * > i think this is very nice lazy-load plugin and i appreciate you putting the
   settings in the settings -> media menu
 * Nice to hear that, thank you 🙂
 * Best,
    Florian

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Invalid Character in Plugin.php?’ is closed to new replies.

 * ![](https://ps.w.org/lazy-loading-responsive-images/assets/icon-256x256.png?rev
   =1305473)
 * [Lazy Loader](https://wordpress.org/plugins/lazy-loading-responsive-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lazy-loading-responsive-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lazy-loading-responsive-images/)
 * [Active Topics](https://wordpress.org/support/plugin/lazy-loading-responsive-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lazy-loading-responsive-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lazy-loading-responsive-images/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Florian Brinkmann](https://wordpress.org/support/users/florianbrinkmann/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/invalid-character-in-plugin-php/#post-12308016)
 * Status: resolved